Home
last modified time | relevance | path

Searched refs:IMM_L (Results 1 – 4 of 4) 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_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/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.c630 tramp[i][1] |= IMM_L(reladdr); in ftrace_dyn_arch_init()