Home
last modified time | relevance | path

Searched defs:rd (Results 1 – 25 of 198) sorted by relevance

12345678

/Linux-v6.6/arch/riscv/net/
Dbpf_jit.h229 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn()
236 static inline u32 rv_i_insn(u16 imm11_0, u8 rs1, u8 funct3, u8 rd, u8 opcode) in rv_i_insn()
259 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn()
264 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn()
275 u8 funct3, u8 rd, u8 opcode) in rv_amo_insn()
284 static inline u16 rv_cr_insn(u8 funct4, u8 rd, u8 rs2, u8 op) in rv_cr_insn()
289 static inline u16 rv_ci_insn(u8 funct3, u32 imm6, u8 rd, u8 op) in rv_ci_insn()
302 static inline u16 rv_ciw_insn(u8 funct3, u32 uimm, u8 rd, u8 op) in rv_ciw_insn()
307 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn()
321 static inline u16 rv_ca_insn(u8 funct6, u8 rd, u8 funct2, u8 rs2, u8 op) in rv_ca_insn()
[all …]
Dbpf_jit_comp32.c111 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()
841 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); in emit_load_r64() local
[all …]
Dbpf_jit_comp64.c145 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr()
167 static void emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) in emit_imm()
254 static void emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff, in emit_bcc()
290 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, in emit_branch()
387 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, in init_regs()
408 static void emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_zext_32_rd_rs()
418 static void emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_sext_32_rd_rs()
426 static void emit_zext_32_rd_t1(u8 *rd, struct rv_jit_context *ctx) in emit_zext_32_rd_t1()
434 static void emit_sext_32_rd(u8 *rd, struct rv_jit_context *ctx) in emit_sext_32_rd()
440 static int emit_jump_and_link(u8 rd, s64 rvoff, bool fixed_addr, in emit_jump_and_link()
[all …]
/Linux-v6.6/arch/arm/net/
Dbpf_jit_32.h162 #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 …]
Dbpf_jit_32.c426 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
721 const s8 *rd; in emit_a32_alu_r64() local
789 s8 rd; in emit_a32_alu_i() local
816 const s8 *rd; in emit_a32_neg64() local
833 const s8 *rd; in emit_a32_lsh_r64() local
857 const s8 *rd; in emit_a32_arsh_r64() local
882 const s8 *rd; in emit_a32_rsh_r64() local
[all …]
/Linux-v6.6/drivers/powercap/
Dintel_rapl_common.c122 static bool is_pl_valid(struct rapl_domain *rd, int pl) in is_pl_valid()
129 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim()
153 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim()
279 struct rapl_domain *rd; in get_energy_counter() local
301 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local
309 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local
324 static int find_nr_power_limit(struct rapl_domain *rd) in find_nr_power_limit()
338 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in set_domain_enable() local
353 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in get_domain_enable() local
419 static int contraint_to_pl(struct rapl_domain *rd, int cid) in contraint_to_pl()
[all …]
/Linux-v6.6/arch/loongarch/kernel/
Dinst.c16 unsigned int rd = insn.reg1i20_format.rd; in simu_pc() local
48 unsigned int imm, imm_l, imm_h, rd, rj; in simu_branch() local
270 u32 larch_insn_gen_or(enum loongarch_gpr rd, enum loongarch_gpr rj, enum loongarch_gpr rk) in larch_insn_gen_or()
279 u32 larch_insn_gen_move(enum loongarch_gpr rd, enum loongarch_gpr rj) in larch_insn_gen_move()
284 u32 larch_insn_gen_lu12iw(enum loongarch_gpr rd, int imm) in larch_insn_gen_lu12iw()
298 u32 larch_insn_gen_lu32id(enum loongarch_gpr rd, int imm) in larch_insn_gen_lu32id()
312 u32 larch_insn_gen_lu52id(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) in larch_insn_gen_lu52id()
326 u32 larch_insn_gen_jirl(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) in larch_insn_gen_jirl()
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_rd.c97 static void rd_write(struct msm_rd_state *rd, const void *buf, int sz) in rd_write()
125 static void rd_write_section(struct msm_rd_state *rd, in rd_write_section()
136 struct msm_rd_state *rd = file->private_data; in rd_read() local
172 struct msm_rd_state *rd = inode->i_private; in rd_open() local
217 struct msm_rd_state *rd = inode->i_private; in rd_release() local
235 static void rd_cleanup(struct msm_rd_state *rd) in rd_cleanup()
247 struct msm_rd_state *rd; in rd_init() local
270 struct msm_rd_state *rd; in msm_rd_debugfs_init() local
309 static void snapshot_buf(struct msm_rd_state *rd, in snapshot_buf()
350 void msm_rd_dump_submit(struct msm_rd_state *rd, struct msm_gem_submit *submit, in msm_rd_dump_submit()
/Linux-v6.6/arch/parisc/net/
Dbpf_jit_comp32.c120 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_hppa_copy()
141 static void emit_imm(const s8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm()
156 static void emit_imm32(const s8 *rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32()
170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64()
425 const s8 *rd; in emit_alu_i64() local
513 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); in emit_alu_i32() local
569 const s8 *rd; in emit_alu_r64() local
637 const s8 *rd; in emit_alu_r32() local
789 static int emit_bcc(u8 op, u8 rd, u8 rs, int paoff, struct hppa_jit_context *ctx) in emit_bcc()
1011 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, ctx->prog->aux->verifier_zext, ctx); in emit_load_r64() local
[all …]
Dbpf_jit_comp64.c70 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) in emit_hppa_copy()
135 static void emit_imm32(u8 rd, s32 imm, struct hppa_jit_context *ctx) in emit_imm32()
160 static void emit_imm(u8 rd, s64 imm, u8 tmpreg, struct hppa_jit_context *ctx) in emit_imm()
248 static int emit_branch(u8 op, u8 rd, u8 rs, signed long paoff, in emit_branch()
407 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, in init_regs()
428 static void emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) in emit_zext_32_rd_rs()
436 static void emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) in emit_sext_32_rd_rs()
444 static void emit_zext_32_rd_t1(u8 *rd, struct hppa_jit_context *ctx) in emit_zext_32_rd_t1()
451 static void emit_sext_32_rd(u8 *rd, struct hppa_jit_context *ctx) in emit_sext_32_rd()
554 static void emit_store(const s8 rd, const s8 rs, s16 off, in emit_store()
[all …]
/Linux-v6.6/arch/arm64/kvm/
Dsys_regs.c425 static int set_oslsr_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_oslsr_el1()
502 const struct sys_reg_desc *rd, in reg_to_dbg()
519 const struct sys_reg_desc *rd, in dbg_to_reg()
530 const struct sys_reg_desc *rd) in trap_bvr()
544 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr()
551 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr()
559 const struct sys_reg_desc *rd) in reset_bvr()
567 const struct sys_reg_desc *rd) in trap_bcr()
581 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr()
588 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr()
[all …]
Dva_layout.c112 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
246 u32 insn, oinsn, rd; in generate_mov_q() local
/Linux-v6.6/kernel/time/
Dsched_clock.c85 struct clock_read_data *rd; in sched_clock_noinstr() local
120 static void update_clock_read_data(struct clock_read_data *rd) in update_clock_read_data()
142 struct clock_read_data rd; in update_sched_clock() local
170 struct clock_read_data rd; in sched_clock_register() local
277 struct clock_read_data *rd = &cd.read_data[0]; in sched_clock_suspend() local
288 struct clock_read_data *rd = &cd.read_data[0]; in sched_clock_resume() local
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.h85 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) in move_addr()
106 static inline void move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) in move_imm()
169 static inline void move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, in move_reg()
204 enum loongarch_gpr rd, int jmp_offset) in cond_jmp_offset()
252 enum loongarch_gpr rd, int jmp_offset) in cond_jmp_offs26()
265 enum loongarch_gpr rd, int jmp_offset) in emit_cond_jmp()
297 enum loongarch_gpr rd, int jmp_offset) in emit_tailcall_jmp()
/Linux-v6.6/drivers/reset/
Dreset-pistachio.c66 struct pistachio_reset_data *rd; in pistachio_reset_assert() local
83 struct pistachio_reset_data *rd; in pistachio_reset_deassert() local
104 struct pistachio_reset_data *rd; in pistachio_reset_probe() local
/Linux-v6.6/arch/mips/include/asm/
Duasm.h213 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
216 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
217 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
218 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
225 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_dsubu(buf, rs, rt, rd) argument
229 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_addu(buf, rs, rt, rd) argument
232 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument
233 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_mfc0(buf, rt, rd) argument
234 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_mtc0(buf, rt, rd) argument
241 # define UASM_i_SUBU(buf, rs, rt, rd) uasm_i_subu(buf, rs, rt, rd) argument
/Linux-v6.6/arch/arm/probes/kprobes/
Dactions-arm.c159 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
/Linux-v6.6/drivers/memory/samsung/
Dexynos-srom.c54 struct exynos_srom_reg_dump *rd; in exynos_srom_alloc_reg_dump() local
160 struct exynos_srom_reg_dump *rd, in exynos_srom_save()
168 const struct exynos_srom_reg_dump *rd, in exynos_srom_restore()
/Linux-v6.6/fs/jffs2/
Dwrite.c206 struct jffs2_raw_dirent *rd, const unsigned char *name, in jffs2_write_dirent()
445 struct jffs2_raw_dirent *rd; in jffs2_do_create() local
551 struct jffs2_raw_dirent *rd; in jffs2_do_unlink() local
671 struct jffs2_raw_dirent *rd; in jffs2_do_link() local
/Linux-v6.6/arch/arm64/kvm/vgic/
Dvgic-mmio.h67 #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
/Linux-v6.6/arch/sparc/kernel/
Dunaligned_32.c73 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
/Linux-v6.6/net/wireless/
Dreg.c354 static void update_world_regdomain(const struct ieee80211_regdomain *rd) in update_world_regdomain()
466 static void cfg80211_save_user_regdom(const struct ieee80211_regdomain *rd) in cfg80211_save_user_regdom()
1159 reg_get_max_bandwidth_from_range(const struct ieee80211_regdomain *rd, in reg_get_max_bandwidth_from_range()
1208 unsigned int reg_get_max_bandwidth(const struct ieee80211_regdomain *rd, in reg_get_max_bandwidth()
1252 static bool is_valid_rd(const struct ieee80211_regdomain *rd) in is_valid_rd()
1505 struct ieee80211_regdomain *rd; in regdom_intersect() local
3690 static void print_rd_rules(const struct ieee80211_regdomain *rd) in print_rd_rules()
3756 static void print_regdomain(const struct ieee80211_regdomain *rd) in print_regdomain()
3791 static void print_regdomain_info(const struct ieee80211_regdomain *rd) in print_regdomain_info()
3797 static int reg_set_rd_core(const struct ieee80211_regdomain *rd) in reg_set_rd_core()
[all …]
/Linux-v6.6/arch/loongarch/include/asm/
Dinst.h260 unsigned int rd : 5; member
273 unsigned int rd : 5; member
279 unsigned int rd : 5; member
286 unsigned int rd : 5; member
293 unsigned int rd : 5; member
300 unsigned int rd : 5; member
307 unsigned int rd : 5; member
314 unsigned int rd : 5; member
322 unsigned int rd : 5; member
329 unsigned int rd : 5; member
/Linux-v6.6/drivers/clk/samsung/
Dclk.c24 struct samsung_clk_reg_dump *rd, in samsung_clk_save()
32 const struct samsung_clk_reg_dump *rd, in samsung_clk_restore()
43 struct samsung_clk_reg_dump *rd; in samsung_clk_alloc_reg_dump() local
/Linux-v6.6/arch/mips/net/
Dbpf_jit_comp32.c947 static void emit_movz_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) in emit_movz_r()
970 static void emit_movn_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) in emit_movn_r()
990 static void emit_sltiu_r64(struct jit_context *ctx, u8 rd, in emit_sltiu_r64()
1012 static void emit_sltu_r64(struct jit_context *ctx, u8 rd, in emit_sltu_r64()
1025 static void emit_slti_r64(struct jit_context *ctx, u8 rd, in emit_slti_r64()
1067 static void emit_slt_r64(struct jit_context *ctx, u8 rd, in emit_slt_r64()

12345678