Home
last modified time | relevance | path

Searched refs:___PPC_RS (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/powerpc/net/
Dbpf_jit.h52 #define PPC_STD(r, base, i) EMIT(PPC_INST_STD | ___PPC_RS(r) | \
54 #define PPC_STDU(r, base, i) EMIT(PPC_INST_STDU | ___PPC_RS(r) | \
56 #define PPC_STW(r, base, i) EMIT(PPC_INST_STW | ___PPC_RS(r) | \
58 #define PPC_STWU(r, base, i) EMIT(PPC_INST_STWU | ___PPC_RS(r) | \
60 #define PPC_STH(r, base, i) EMIT(PPC_INST_STH | ___PPC_RS(r) | \
62 #define PPC_STB(r, base, i) EMIT(PPC_INST_STB | ___PPC_RS(r) | \
84 #define PPC_BPF_STWCX(s, a, b) EMIT(PPC_INST_STWCX | ___PPC_RS(s) | \
86 #define PPC_BPF_STDCX(s, a, b) EMIT(PPC_INST_STDCX | ___PPC_RS(s) | \
129 ___PPC_RS(a) | ___PPC_RB(b))
131 ___PPC_RS(a) | IMM_L(i))
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Doptprobes.c160 ___PPC_RS(4) | (val & 0xffff)); in patch_imm32_load_insns()
176 ___PPC_RS(3) | ((val >> 32) & 0xffff)); in patch_imm64_load_insns()
181 ___PPC_RS(3) | __PPC_SH64(32) | __PPC_ME64(31)); in patch_imm64_load_insns()
186 ___PPC_RS(3) | ((val >> 16) & 0xffff)); in patch_imm64_load_insns()
191 ___PPC_RS(3) | (val & 0xffff)); in patch_imm64_load_insns()
/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/asm/
Dppc-opcode.h28 #define ___PPC_RS(s) (((s) & 0x1f) << 21) macro
29 #define ___PPC_RT(t) ___PPC_RS(t)
/Linux-v4.19/arch/powerpc/include/asm/
Dppc-opcode.h375 #define ___PPC_RS(s) (((s) & 0x1f) << 21) macro
376 #define ___PPC_RT(t) ___PPC_RS(t)
383 #define __PPC_RS(s) ___PPC_RS(__REG_##s)
464 ___PPC_RB(a) | ___PPC_RS(lp))
467 ___PPC_RB(rb) | ___PPC_RS(rs) | \
472 ___PPC_RB(rb) | ___PPC_RS(rs) | \
555 TMRN(tmr) | ___PPC_RS(r))
561 ___PPC_RS(s) | \
565 ___PPC_RS(s) | \
Dcode-patching.h165 #define PPC_INST_STD_LR (PPC_INST_STD | ___PPC_RS(__REG_R0) | \
/Linux-v4.19/arch/powerpc/lib/
Dtest_emulate_step.c30 #define TEST_STD(r, base, i) (PPC_INST_STD | ___PPC_RS(r) | \
35 #define TEST_STDCX(s, a, b) (PPC_INST_STDCX | ___PPC_RS(s) | \
39 #define TEST_STFSX(s, a, b) (PPC_INST_STFSX | ___PPC_RS(s) | \
43 #define TEST_STFDX(s, a, b) (PPC_INST_STFDX | ___PPC_RS(s) | \
47 #define TEST_STVX(s, a, b) (PPC_INST_STVX | ___PPC_RS(s) | \