/arch/riscv/net/ |
D | bpf_jit.h | 225 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() 232 static inline u32 rv_i_insn(u16 imm11_0, u8 rs1, u8 funct3, u8 rd, u8 opcode) in rv_i_insn() 255 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn() 260 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn() 271 u8 funct3, u8 rd, u8 opcode) in rv_amo_insn() 280 static inline u16 rv_cr_insn(u8 funct4, u8 rd, u8 rs2, u8 op) in rv_cr_insn() 285 static inline u16 rv_ci_insn(u8 funct3, u32 imm6, u8 rd, u8 op) in rv_ci_insn() 298 static inline u16 rv_ciw_insn(u8 funct3, u32 uimm, u8 rd, u8 op) in rv_ciw_insn() 303 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() 317 static inline u16 rv_ca_insn(u8 funct6, u8 rd, u8 funct2, u8 rs2, u8 op) in rv_ca_insn() [all …]
|
D | bpf_jit_comp32.c | 111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx) in emit_imm() 124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32() 136 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() 227 static void emit_jump_and_link(u8 rd, s32 rvoff, bool force_jalr, in emit_jump_and_link() 247 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_alu_i64() local 331 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_i32() local 411 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_alu_r64() local 516 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_r32() local 652 static int emit_bcc(u8 op, u8 rd, u8 rs, int rvoff, struct rv_jit_context *ctx) in emit_bcc() 843 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_load_r64() local [all …]
|
D | bpf_jit_comp64.c | 124 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() 142 static void emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) in emit_imm() 229 static void emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff, in emit_bcc() 265 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, in emit_branch() 363 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, in init_regs() 384 static void emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_zext_32_rd_rs() 394 static void emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_sext_32_rd_rs() 402 static void emit_zext_32_rd_t1(u8 *rd, struct rv_jit_context *ctx) in emit_zext_32_rd_t1() 410 static void emit_sext_32_rd(u8 *rd, struct rv_jit_context *ctx) in emit_sext_32_rd() 416 static int emit_jump_and_link(u8 rd, s64 rvoff, bool fixed_addr, in emit_jump_and_link() [all …]
|
/arch/arm/net/ |
D | bpf_jit_32.h | 162 #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) argument 164 #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) argument 168 #define ARM_ADD_R(rd, rn, rm) _AL3_R(ARM_INST_ADD, rd, rn, rm) argument 169 #define ARM_ADDS_R(rd, rn, rm) _AL3_R(ARM_INST_ADDS, rd, rn, rm) argument 170 #define ARM_ADD_I(rd, rn, imm) _AL3_I(ARM_INST_ADD, rd, rn, imm) argument 171 #define ARM_ADDS_I(rd, rn, imm) _AL3_I(ARM_INST_ADDS, rd, rn, imm) argument 172 #define ARM_ADC_R(rd, rn, rm) _AL3_R(ARM_INST_ADC, rd, rn, rm) argument 173 #define ARM_ADC_I(rd, rn, imm) _AL3_I(ARM_INST_ADC, rd, rn, imm) argument 175 #define ARM_AND_R(rd, rn, rm) _AL3_R(ARM_INST_AND, rd, rn, rm) argument 176 #define ARM_ANDS_R(rd, rn, rm) _AL3_R(ARM_INST_ANDS, rd, rn, rm) argument [all …]
|
D | bpf_jit_32.c | 426 static inline void emit_mov_i_no8m(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m() 437 static inline void emit_mov_i(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i() 477 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op) in emit_udivmod() 621 const s8 *rd = is_stacked(dst_lo) ? tmp : dst; in emit_a32_mov_i64() local 722 s8 rn, rd; in emit_a32_alu_r() local 737 const s8 *rd; in emit_a32_alu_r64() local 805 s8 rd; in emit_a32_alu_i() local 832 const s8 *rd; in emit_a32_neg64() local 849 const s8 *rd; in emit_a32_lsh_r64() local 873 const s8 *rd; in emit_a32_arsh_r64() local [all …]
|
/arch/arm64/kvm/ |
D | sys_regs.c | 348 const struct sys_reg_desc *rd, in reg_to_dbg() 365 const struct sys_reg_desc *rd, in dbg_to_reg() 376 const struct sys_reg_desc *rd) in trap_bvr() 390 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr() 400 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr() 411 const struct sys_reg_desc *rd) in reset_bvr() 418 const struct sys_reg_desc *rd) in trap_bcr() 432 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr() 443 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr() 454 const struct sys_reg_desc *rd) in reset_bcr() [all …]
|
D | va_layout.c | 112 static u32 compute_instruction(int n, u32 rd, u32 rn) in compute_instruction() 162 u32 rd, rn, insn, oinsn; in kvm_update_va_mask() local 245 u32 insn, oinsn, rd; in generate_mov_q() local
|
/arch/arm/mm/ |
D | proc-xscale.S | 68 .macro cpwait, rd argument 74 .macro cpwait_ret, lr, rd
|
D | proc-xsc3.S | 55 .macro cpwait_ret, lr, rd
|
D | proc-macros.S | 32 .macro act_mm, rd argument
|
D | alignment.c | 342 unsigned int rd = RD_BITS(instr); in do_alignment_ldrhstrh() local 391 unsigned int rd = RD_BITS(instr); in do_alignment_ldrdstrd() local 453 unsigned int rd = RD_BITS(instr); in do_alignment_ldrstr() local 502 unsigned int rd, rn, correction, nr_regs, regbits; in do_alignment_ldmstm() local
|
/arch/arm/probes/kprobes/ |
D | actions-arm.c | 159 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0rs8_rwflags() local 193 int rd = (insn >> 12) & 0xf; in emulate_rd12rn16rm0_rwflags_nopc() local 221 int rd = (insn >> 16) & 0xf; in emulate_rd16rn12rm0rs8_rwflags_nopc() local 250 int rd = (insn >> 12) & 0xf; in emulate_rd12rm0_noflags_nopc() local
|
D | actions-thumb.c | 47 int rd = (insn >> 8) & 0xf; in t32_simulate_mrs() local 214 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8rn16rm0_rwflags() local 242 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8pc16_noflags() local 261 int rd = (insn >> 8) & 0xf; in t32_emulate_rd8rn16_noflags() local
|
/arch/arm64/kvm/vgic/ |
D | vgic-mmio.h | 67 #define REGISTER_DESC_WITH_BITS_PER_IRQ(off, rd, wr, ur, uw, bpi, acc) \ argument 79 #define REGISTER_DESC_WITH_LENGTH(off, rd, wr, length, acc) \ argument 89 #define REGISTER_DESC_WITH_LENGTH_UACCESS(off, rd, wr, urd, uwr, length, acc) \ argument
|
/arch/mips/include/asm/ |
D | uasm.h | 212 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument 215 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument 216 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument 217 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument 224 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_dsubu(buf, rs, rt, rd) argument 228 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_addu(buf, rs, rt, rd) argument 231 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument 232 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_mfc0(buf, rt, rd) argument 233 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_mtc0(buf, rt, rd) argument 240 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_subu(buf, rs, rt, rd) argument
|
D | mipsmtregs.h | 331 #define mttgpr(rd,v) \ argument 344 #define mttc0(rd, sel, v) \ argument 359 #define mttr(rd, u, sel, v) \ argument
|
/arch/arm/lib/ |
D | io-writesb.S | 10 .macro outword, rd argument
|
D | io-writesw-armv4.S | 10 .macro outword, rd argument
|
/arch/arm64/kvm/hyp/ |
D | vgic-v2-cpuif-proxy.c | 43 int rd; in __vgic_v2_perform_cpuif_access() local
|
/arch/sparc/kernel/ |
D | unaligned_32.c | 73 unsigned int rd) in maybe_flush_windows() 141 unsigned int rd = (insn >> 25) & 0x1f; in compute_effective_address() local 157 unsigned int rd = (insn >> 25) & 0x1f; in safe_compute_effective_address() local
|
D | unaligned_64.c | 105 unsigned int rd, int from_kernel) in maybe_flush_windows() 170 unsigned int insn, unsigned int rd) in compute_effective_address() 399 int ret, rd = ((insn >> 25) & 0x1f); in handle_popc() local 572 int rd = ((insn >> 25) & 0x1f); in handle_ld_nf() local
|
D | visemul.c | 141 unsigned int rd, int from_kernel) in maybe_flush_windows() 204 static void store_reg(struct pt_regs *regs, unsigned long val, unsigned long rd) in store_reg() 451 unsigned long rs1, rs2, *rd, rd_val; in pdist() local
|
/arch/microblaze/include/asm/ |
D | page.h | 129 #define tophys(rd, rs) \ argument 131 #define tovirt(rd, rs) \ argument
|
/arch/xtensa/platforms/iss/ |
D | console.c | 68 int rd = 1; in rs_poll() local
|
/arch/arm/probes/ |
D | decode-arm.c | 94 int rd = (insn >> 12) & 0xf; in simulate_mrs() local
|