Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/
H A Dppc-opcode.h113 #define IMM_L(i) ((uintptr_t)(i) & 0xffff) macro
117 #define IMM_D1(i) IMM_L(i)
476 #define PPC_RAW_LWZ(r, base, i) (0x80000000 | ___PPC_RT(r) | ___PPC_RA(base) | IMM_L(i))
501 #define PPC_RAW_ADDI(d, a, i) (0x38000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
503 #define PPC_RAW_ADDIS(d, a, i) (0x3c000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
504 #define PPC_RAW_ADDIC(d, a, i) (0x30000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
505 #define PPC_RAW_ADDIC_DOT(d, a, i) (0x34000000 | ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i))
509 #define PPC_RAW_STW(r, base, i) (0x90000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
510 #define PPC_RAW_STWU(r, base, i) (0x94000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
511 #define PPC_RAW_STH(r, base, i) (0xb0000000 | ___PPC_RS(r) | ___PPC_RA(base) | IMM_L(i))
[all …]
/linux/arch/powerpc/net/
H A Dbpf_jit.h77 if (IMM_L(i)) \
78 EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
H A Dbpf_jit_comp64.c438 EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | ___PPC_RA(_R12) | IMM_L(reladdr)); in bpf_jit_emit_func_call_rel()
450 EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | IMM_L(reladdr)); in bpf_jit_emit_func_call_rel()
973 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
984 EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(-imm))); in bpf_jit_build_body()
1000 EMIT(PPC_RAW_MULI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
1102 EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
1120 if (IMM_L(imm)) in bpf_jit_build_body()
1121 EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
1137 if (IMM_L(imm)) in bpf_jit_build_body()
1138 EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm))); in bpf_jit_build_body()
H A Dbpf_jit_comp32.c218 EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func))); in bpf_jit_emit_func_call_rel()
381 if (IMM_L(imm)) in bpf_jit_build_body()
382 EMIT(PPC_RAW_ADDI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
586 EMIT(PPC_RAW_ANDI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
587 } else if (!IMM_L(imm)) { in bpf_jit_build_body()
610 if (IMM_L(imm)) { in bpf_jit_build_body()
611 EMIT(PPC_RAW_ORI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
637 if (IMM_L(imm)) { in bpf_jit_build_body()
638 EMIT(PPC_RAW_XORI(dst_reg, src2_reg, IMM_L(imm))); in bpf_jit_build_body()
/linux/arch/powerpc/lib/
H A 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/arch/powerpc/kernel/
H A Dmodule_64.c553 entry->jump[3] |= IMM_L(reladdr); in create_ftrace_stub()
658 entry->jump[1] | IMM_L(reladdr)))) in create_stub()
994 (*((u32 *)location + 1) & ~0xffff) | IMM_L(value)))) in apply_relocate_add()
/linux/arch/powerpc/kernel/trace/
H A Dftrace.c648 tramp[i][1] |= IMM_L(reladdr); in ftrace_dyn_arch_init()