Home
last modified time | relevance | path

Searched refs:PPC_RAW_ADDI (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/arch/powerpc/kernel/
Dmodule_32.c151 if (entry->jump[1] != PPC_RAW_ADDI(_R12, _R12, PPC_LO(val))) in entry_matches()
179 if (patch_instruction(&entry->jump[1], ppc_inst(PPC_RAW_ADDI(_R12, _R12, PPC_LO(val))))) in do_plt_call()
306 if ((ppc_inst_val(jmp[1]) & 0xffff0000) != PPC_RAW_ADDI(_R12, _R12, 0)) in module_trampoline_target()
Dmodule_64.c144 PPC_RAW_ADDI(_R11, _R11, 0),
482 PPC_RAW_ADDI(_R12, _R12, 0),
1007 ((uint32_t *)location)[1] = PPC_RAW_ADDI(_R2, _R2, PPC_LO(value)); in apply_relocate_add()
Dsignal_64.c631 err |= __put_user(PPC_RAW_ADDI(_R1, _R1, __SIGNAL_FRAMESIZE), &tramp[1]); in setup_trampoline()
/linux-6.6.21/arch/powerpc/net/
Dbpf_jit_comp64.c172 EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1, in bpf_jit_build_prologue()
187 EMIT(PPC_RAW_ADDI(_R1, _R1, BPF_PPC_STACKFRAME + ctx->stack_size)); in bpf_jit_emit_common_epilogue()
235 EMIT(PPC_RAW_ADDI(_R12, _R12, PPC_LO(reladdr))); in bpf_jit_emit_func_call_hlp()
311 EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), 1)); in bpf_jit_emit_tail_call()
328 EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), in bpf_jit_emit_tail_call()
431 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
442 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(-imm))); in bpf_jit_build_body()
691 EMIT(PPC_RAW_ADDI(tmp1_reg, _R1, bpf_jit_stack_local(ctx))); in bpf_jit_build_body()
901 EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off)); in bpf_jit_build_body()
Dbpf_jit_comp32.c165 EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1, in bpf_jit_build_prologue()
187 EMIT(PPC_RAW_ADDI(_R1, _R1, BPF_PPC_STACKFRAME(ctx))); in bpf_jit_emit_common_epilogue()
377 EMIT(PPC_RAW_ADDI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
616 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
653 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
692 EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32)); in bpf_jit_build_body()
/linux-6.6.21/arch/powerpc/kernel/trace/
Dftrace.c355 PPC_RAW_ADDI(_R12, _R12, 0), in ftrace_dyn_arch_init()
360 PPC_RAW_ADDI(_R12, _R12, 0), in ftrace_dyn_arch_init()
Dftrace_64_pg.c731 PPC_RAW_ADDI(_R12, _R12, 0), in ftrace_dyn_arch_init()
/linux-6.6.21/arch/powerpc/include/asm/
Dcode-patching.h128 #define ADDI_R2_R2 (PPC_RAW_ADDI(_R2, _R2, 0))
Dppc-opcode.h499 #define PPC_RAW_ADDI(d, a, i) (0x38000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) macro
500 #define PPC_RAW_LI(r, i) PPC_RAW_ADDI(r, 0, i)
/linux-6.6.21/arch/powerpc/lib/
Dtest_emulate_step.c54 PPC_RAW_ADDI(t, a, i))