Home
last modified time | relevance | path

Searched refs:_R12 (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/arch/powerpc/kernel/
Dmodule_32.c149 if (entry->jump[0] != PPC_RAW_LIS(_R12, PPC_HA(val))) in entry_matches()
151 if (entry->jump[1] != PPC_RAW_ADDI(_R12, _R12, PPC_LO(val))) in entry_matches()
178 if (patch_instruction(&entry->jump[0], ppc_inst(PPC_RAW_LIS(_R12, PPC_HA(val))))) in do_plt_call()
180 if (patch_instruction(&entry->jump[1], ppc_inst(PPC_RAW_ADDI(_R12, _R12, PPC_LO(val))))) in do_plt_call()
182 if (patch_instruction(&entry->jump[2], ppc_inst(PPC_RAW_MTCTR(_R12)))) in do_plt_call()
305 if ((ppc_inst_val(jmp[0]) & 0xffff0000) != PPC_RAW_LIS(_R12, 0)) in module_trampoline_target()
307 if ((ppc_inst_val(jmp[1]) & 0xffff0000) != PPC_RAW_ADDI(_R12, _R12, 0)) in module_trampoline_target()
309 if (ppc_inst_val(jmp[2]) != PPC_RAW_MTCTR(_R12)) in module_trampoline_target()
Dmodule_64.c124 PPC_RAW_LD(_R12, _R11, 32),
129 PPC_RAW_MTCTR(_R12),
326 PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernel_toc)),
327 PPC_RAW_ADDIS(_R12, _R12, 0),
328 PPC_RAW_ADDI(_R12, _R12, 0),
329 PPC_RAW_MTCTR(_R12),
701 if ((((uint32_t *)location)[0] & ~0xfffc) != PPC_RAW_LD(_R2, _R12, 0)) in apply_relocate_add()
703 if (((uint32_t *)location)[1] != PPC_RAW_ADD(_R2, _R2, _R12)) in apply_relocate_add()
710 ((uint32_t *)location)[0] = PPC_RAW_ADDIS(_R2, _R12, PPC_HA(value)); in apply_relocate_add()
/Linux-v6.1/arch/powerpc/kernel/trace/
Dftrace.c729 PPC_RAW_LD(_R12, _R13, PACATOC), in ftrace_dyn_arch_init()
730 PPC_RAW_ADDIS(_R12, _R12, 0), in ftrace_dyn_arch_init()
731 PPC_RAW_ADDI(_R12, _R12, 0), in ftrace_dyn_arch_init()
732 PPC_RAW_MTCTR(_R12), in ftrace_dyn_arch_init()
/Linux-v6.1/arch/powerpc/net/
Dbpf_jit_comp64.c67 ctx->b2p[BPF_REG_AX] = _R12; in bpf_jit_init_reg_mapping()
217 EMIT(PPC_RAW_ADDIS(_R12, _R2, PPC_HA(reladdr))); in bpf_jit_emit_func_call_hlp()
218 EMIT(PPC_RAW_ADDI(_R12, _R12, PPC_LO(reladdr))); in bpf_jit_emit_func_call_hlp()
219 EMIT(PPC_RAW_MTCTR(_R12)); in bpf_jit_emit_func_call_hlp()
236 PPC_LI64(_R12, func); in bpf_jit_emit_func_call_rel()
251 EMIT(PPC_RAW_MTCTR(_R12)); in bpf_jit_emit_func_call_rel()
727 PPC_LI64(_R12, dereference_kernel_function_descriptor(bpf_stf_barrier)); in bpf_jit_build_body()
728 EMIT(PPC_RAW_MTCTR(_R12)); in bpf_jit_build_body()
Dbpf_jit_comp32.c49 ctx->b2p[BPF_REG_0] = _R12; in bpf_jit_init_reg_mapping()
/Linux-v6.1/arch/arc/include/asm/
Dkgdb.h39 _R1, _R2, _R3, _R4, _R5, _R6, _R7, _R8, _R9, _R10, _R11, _R12, _R13, enumerator
/Linux-v6.1/arch/powerpc/include/asm/
Dcode-patching.h129 #define ADDIS_R2_R12 (PPC_RAW_ADDIS(_R2, _R12, 0))
Dppc-opcode.h92 #define _R12 12 macro