Home
last modified time | relevance | path

Searched refs:IMM_L (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/powerpc/include/asm/
Dppc-opcode.h113 #define IMM_L(i) ((uintptr_t)(i) & 0xffff) macro
117 #define IMM_D1(i) IMM_L(i)
475 #define PPC_RAW_LWZ(r, base, i) (0x80000000 | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
500 #define PPC_RAW_ADDI(d, a, i) (0x38000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
502 #define PPC_RAW_ADDIS(d, a, i) (0x3c000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
503 #define PPC_RAW_ADDIC(d, a, i) (0x30000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
504 #define PPC_RAW_ADDIC_DOT(d, a, i) (0x34000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
508 #define PPC_RAW_STW(r, base, i) (0x90000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
509 #define PPC_RAW_STWU(r, base, i) (0x94000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
510 #define PPC_RAW_STH(r, base, i) (0xb0000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
[all …]
/linux-6.12.1/arch/powerpc/net/
Dbpf_jit.h57 if (IMM_L(i)) \
58 EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
Dbpf_jit_comp64.c224 EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | ___PPC_RA(_R12) | IMM_L(reladdr)); in bpf_jit_emit_func_call_hlp()
236 EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | IMM_L(reladdr)); in bpf_jit_emit_func_call_hlp()
474 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
485 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(-imm))); in bpf_jit_build_body()
501 EMIT(PPC_RAW_MULI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
603 EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
621 if (IMM_L(imm)) in bpf_jit_build_body()
622 EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
638 if (IMM_L(imm)) in bpf_jit_build_body()
639 EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
Dbpf_jit_comp32.c213 EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func))); in bpf_jit_emit_func_call_rel()
377 if (IMM_L(imm)) in bpf_jit_build_body()
378 EMIT(PPC_RAW_ADDI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
582 EMIT(PPC_RAW_ANDI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
583 } else if (!IMM_L(imm)) { in bpf_jit_build_body()
606 if (IMM_L(imm)) { in bpf_jit_build_body()
607 EMIT(PPC_RAW_ORI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
633 if (IMM_L(imm)) { in bpf_jit_build_body()
634 EMIT(PPC_RAW_XORI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
/linux-6.12.1/arch/powerpc/lib/
Dtest_emulate_step.c26 PPC_INST_PLD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
34 PPC_INST_PSTD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
38 PPC_INST_LFS | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
42 PPC_INST_STFS | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
46 PPC_INST_LFD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
50 PPC_INST_STFD | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
/linux-6.12.1/arch/powerpc/kernel/
Dmodule_64.c524 entry->jump[3] |= IMM_L(reladdr); in create_ftrace_stub()
629 entry->jump[1] | IMM_L(reladdr)))) in create_stub()
964 (*((u32 *)location + 1) & ~0xffff) | IMM_L(value)))) in apply_relocate_add()
/linux-6.12.1/arch/powerpc/kernel/trace/
Dftrace.c390 tramp[i][1] |= IMM_L(reladdr); in ftrace_dyn_arch_init()