Searched refs:rd (Results 176 - 200 of 373) sorted by last modified time

1234567891011>>

/linux-master/drivers/regulator/
H A Dbd71828-regulator.c747 const struct bd71828_regulator_data *rd; local
749 rd = &bd71828_rdata[i];
751 &rd->desc, &config);
755 rd->desc.name);
757 for (j = 0; j < rd->reg_init_amnt; j++) {
759 rd->reg_inits[j].reg,
760 rd->reg_inits[j].mask,
761 rd->reg_inits[j].val);
765 rd->desc.name);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c968 struct mt7615_rate_desc *rd)
1020 rd->val[0] = mt7615_mac_tx_rate_val(dev, mphy, &rates[0], stbc, &bw);
1024 rd->probe_val = mt7615_mac_tx_rate_val(dev, mphy, probe_rate,
1027 rd->bw_idx = 1;
1031 rd->probe_val = rd->val[0];
1034 rd->val[1] = mt7615_mac_tx_rate_val(dev, mphy, &rates[1], stbc, &bw);
1036 rd->bw_idx = 3;
1040 rd->val[2] = mt7615_mac_tx_rate_val(dev, mphy, &rates[2], stbc, &bw);
1042 rd
965 mt7615_mac_update_rate_desc(struct mt7615_phy *phy, struct mt7615_sta *sta, struct ieee80211_tx_rate *probe_rate, struct ieee80211_tx_rate *rates, struct mt7615_rate_desc *rd) argument
1107 struct mt7615_rate_desc rd; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c309 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); local
314 if (rd > q_sz || wr > q_sz) {
320 room_in_buf = wr >= rd ? q_sz - wr + rd : rd - wr;
451 u32 rd; local
484 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr));
490 if (rd > q_sz || wr > q_sz) {
496 room_in_buf = wr >= rd ? q_sz - wr + rd
1012 u32 rd = *_rd; local
1030 iwl_mei_handle_sap_data(struct mei_cl_device *cldev, const u8 *q_head, u32 q_sz, u32 rd, u32 wr, ssize_t valid_rx_sz, struct sk_buff_head *tx_skbs) argument
1104 iwl_mei_handle_sap_rx_cmd(struct mei_cl_device *cldev, const u8 *q_head, u32 q_sz, u32 rd, u32 wr, ssize_t valid_rx_sz) argument
1147 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); local
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
H A Ddebug.c1050 struct ath5k_hw_all_rx_desc *rd = &ds->ud.ds_rx; local
1055 rd->rx_ctl.rx_control_0, rd->rx_ctl.rx_control_1,
1056 rd->rx_stat.rx_status_0, rd->rx_stat.rx_status_1,
/linux-master/drivers/net/can/
H A Dgrcan.c1163 u32 wr, rd, startrd; local
1168 rd = grcan_read_reg(&regs->rxrd);
1169 startrd = rd;
1173 if (rd == wr)
1185 slot = dma->rx.buf + rd;
1213 rd = grcan_ring_add(rd, GRCAN_MSG_SIZE, dma->rx.size);
1222 if (likely(rd != startrd))
1223 grcan_write_reg(&regs->rxrd, rd);
/linux-master/drivers/clk/samsung/
H A Dclk-exynos5-subcmu.c21 struct exynos5_subcmu_reg_dump *rd,
24 for (; num_regs > 0; --num_regs, ++rd) {
25 rd->save = readl(base + rd->offset);
26 writel((rd->save & ~rd->mask) | rd->value, base + rd->offset);
27 rd->save &= rd
20 exynos5_subcmu_clk_save(void __iomem *base, struct exynos5_subcmu_reg_dump *rd, unsigned int num_regs) argument
31 exynos5_subcmu_clk_restore(void __iomem *base, struct exynos5_subcmu_reg_dump *rd, unsigned int num_regs) argument
[all...]
/linux-master/arch/parisc/net/
H A Dbpf_jit_comp64.c70 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) argument
72 REG_SET_SEEN(ctx, rd);
73 if (OPTIMIZE_HPPA && (rs == rd))
76 emit(hppa_copy(rs, rd), ctx);
135 static void emit_imm32(u8 rd, s32 imm, struct hppa_jit_context *ctx) argument
139 REG_SET_SEEN(ctx, rd);
141 emit(hppa_ldi(imm, rd), ctx);
145 emit(hppa_ldo(lower, HPPA_REG_ZERO, rd), ctx);
148 emit(hppa_ldil(imm, rd), ctx);
151 emit(hppa_ldo(lower, rd, r
160 emit_imm(u8 rd, s64 imm, u8 tmpreg, struct hppa_jit_context *ctx) argument
248 emit_branch(u8 op, u8 rd, u8 rs, signed long paoff, struct hppa_jit_context *ctx) argument
407 init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, struct hppa_jit_context *ctx) argument
428 emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) argument
436 emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct hppa_jit_context *ctx) argument
444 emit_zext_32_rd_t1(u8 *rd, struct hppa_jit_context *ctx) argument
451 emit_sext_32_rd(u8 *rd, struct hppa_jit_context *ctx) argument
554 emit_store(const s8 rd, const s8 rs, s16 off, struct hppa_jit_context *ctx, const u8 size, const u8 mode) argument
600 u8 rd = -1, rs = -1, code = insn->code; local
906 emit_branch(BPF_OP(code), rd, rs, paoff, ctx); local
949 emit_branch(BPF_OP(code), rd, rs, paoff, ctx); local
[all...]
H A Dbpf_jit_comp32.c120 static void emit_hppa_copy(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) argument
122 REG_SET_SEEN(ctx, rd);
123 if (OPTIMIZE_HPPA && (rs == rd))
126 emit(hppa_copy(rs, rd), ctx);
141 static void emit_imm(const s8 rd, s32 imm, struct hppa_jit_context *ctx) argument
145 REG_SET_SEEN(ctx, rd);
147 emit(hppa_ldi(imm, rd), ctx);
150 emit(hppa_ldil(imm, rd), ctx);
153 emit(hppa_ldo(lower, rd, rd), ct
156 emit_imm32(const s8 *rd, s32 imm, struct hppa_jit_context *ctx) argument
170 emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, struct hppa_jit_context *ctx) argument
425 const s8 *rd; local
513 const s8 *rd = bpf_get_reg32(dst, tmp1, ctx); local
569 const s8 *rd; local
637 const s8 *rd; local
789 emit_bcc(u8 op, u8 rd, u8 rs, int paoff, struct hppa_jit_context *ctx) argument
1011 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, ctx->prog->aux->verifier_zext, ctx); local
1058 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); local
1092 emit_rev16(const s8 rd, struct hppa_jit_context *ctx) argument
1099 emit_rev32(const s8 rs, const s8 rd, struct hppa_jit_context *ctx) argument
1108 const s8 *rd; local
1245 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); local
1271 const s8 *rd = bpf_get_reg64(dst, tmp1, ctx); local
1406 const s8 *rd = bpf_get_reg64_ref(dst, tmp1, false, ctx); local
[all...]
H A Dbpf_jit.h156 hppa_zdep(r, len, len, lo(rd))
/linux-master/include/linux/
H A Draid_class.h59 struct raid_data *rd; \
61 rd = dev_get_drvdata(device); \
62 rd->attr = value; \
68 struct raid_data *rd; \
70 rd = dev_get_drvdata(device); \
71 return rd->attr; \
/linux-master/fs/hfsplus/
H A Ddir.c138 struct hfsplus_readdir_data *rd; local
264 rd = file->private_data;
265 if (!rd) {
266 rd = kmalloc(sizeof(struct hfsplus_readdir_data), GFP_KERNEL);
267 if (!rd) {
271 file->private_data = rd;
272 rd->file = file;
274 list_add(&rd->list, &HFSPLUS_I(inode)->open_dir_list);
281 memcpy(&rd->key, fd.key, sizeof(struct hfsplus_cat_key));
290 struct hfsplus_readdir_data *rd local
[all...]
/linux-master/fs/hfs/
H A Ddir.c56 struct hfs_readdir_data *rd; local
149 rd = file->private_data;
150 if (!rd) {
151 rd = kmalloc(sizeof(struct hfs_readdir_data), GFP_KERNEL);
152 if (!rd) {
156 file->private_data = rd;
157 rd->file = file;
159 list_add(&rd->list, &HFS_I(inode)->open_dir_list);
166 memcpy(&rd->key, &fd.key->cat, sizeof(struct hfs_cat_key));
174 struct hfs_readdir_data *rd local
[all...]
/linux-master/drivers/scsi/
H A Draid_class.c80 struct raid_data *rd; local
84 rd = kzalloc(sizeof(*rd), GFP_KERNEL);
85 if (!rd)
88 INIT_LIST_HEAD(&rd->component_list);
89 dev_set_drvdata(cdev, rd);
97 struct raid_data *rd = dev_get_drvdata(cdev); local
101 list_for_each_entry_safe(rc, next, &rd->component_list, node) {
107 kfree(rd);
179 struct raid_data *rd
[all...]
/linux-master/arch/loongarch/net/
H A Dbpf_jit.h85 static inline void move_addr(struct jit_ctx *ctx, enum loongarch_gpr rd, u64 addr) argument
89 /* lu12iw rd, imm_31_12 */
91 emit_insn(ctx, lu12iw, rd, imm_31_12);
93 /* ori rd, rd, imm_11_0 */
95 emit_insn(ctx, ori, rd, rd, imm_11_0);
97 /* lu32id rd, imm_51_32 */
99 emit_insn(ctx, lu32id, rd, imm_51_32);
101 /* lu52id rd, r
106 move_imm(struct jit_ctx *ctx, enum loongarch_gpr rd, long imm, bool is32) argument
169 move_reg(struct jit_ctx *ctx, enum loongarch_gpr rd, enum loongarch_gpr rj) argument
203 cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
251 cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
264 emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
296 emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
[all...]
/linux-master/arch/mips/kvm/
H A Dvz.c881 u32 rt, rd, sel; local
904 rd = inst.c0r_format.rd;
911 cop0->stat[rd][sel]++;
913 if (rd == MIPS_CP0_COUNT &&
916 } else if (rd == MIPS_CP0_COMPARE &&
919 } else if (rd == MIPS_CP0_LLADDR &&
926 } else if (rd == MIPS_CP0_LLADDR &&
935 } else if ((rd == MIPS_CP0_PRID &&
939 (rd
1147 unsigned int rs, rd; local
1218 int rd, rt, sel; local
1316 int rd = inst.c0r_format.rd; local
[all...]
/linux-master/arch/s390/boot/
H A Dhead.S84 stg %r2,INITRD_SIZE-PARMAREA(%r12) # store size of rd
/linux-master/arch/arm/kernel/
H A Dhead.S67 .macro pgtbl, rd, phys
68 add \rd, \phys, #TEXT_OFFSET
69 sub \rd, \rd, #PG_DIR_SIZE
/linux-master/drivers/iio/temperature/
H A Dtsys01.c35 int (*convert_and_read)(void *cli, u8 conv, u8 rd,
/linux-master/arch/loongarch/kernel/
H A Dunaligned.c431 regs->regs[insn.reg3_format.rd] = value;
434 write_fpr(insn.reg3_format.rd, value);
436 set_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0, value);
441 value = regs->regs[insn.reg3_format.rd];
444 value = read_fpr(insn.reg3_format.rd);
446 value = get_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0);
H A Dinst.c16 unsigned int rd = insn.reg1i20_format.rd; local
26 regs->regs[rd] = pc + sign_extend64(imm << 2, 21);
29 regs->regs[rd] = pc + sign_extend64(imm << 12, 31);
32 regs->regs[rd] = pc + sign_extend64(imm << 18, 37);
35 regs->regs[rd] = pc + sign_extend64(imm << 12, 31);
36 regs->regs[rd] &= ~((1 << 12) - 1);
48 unsigned int imm, imm_l, imm_h, rd, rj; local
88 rd = insn.reg2i16_format.rd;
270 larch_insn_gen_or(enum loongarch_gpr rd, enum loongarch_gpr rj, enum loongarch_gpr rk) argument
279 larch_insn_gen_move(enum loongarch_gpr rd, enum loongarch_gpr rj) argument
284 larch_insn_gen_lu12iw(enum loongarch_gpr rd, int imm) argument
298 larch_insn_gen_lu32id(enum loongarch_gpr rd, int imm) argument
312 larch_insn_gen_lu52id(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) argument
326 larch_insn_gen_jirl(enum loongarch_gpr rd, enum loongarch_gpr rj, int imm) argument
[all...]
/linux-master/arch/arm64/kernel/
H A Dentry-ftrace.S225 .macro mcount_adjust_addr rd, rn
226 sub \rd, \rn, #AARCH64_INSN_SIZE
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmodule_attach.c15 ssize_t rd; local
22 rd = read(fd, buf, sizeof(buf) - 1);
24 if (!ASSERT_GT(rd, 0, "testmod_file_rd_val")) {
29 buf[rd] = '\0';
/linux-master/sound/soc/codecs/
H A Dtscs42xx.c952 #define PLL_CTL(f, rt, rd, r1b_l, r9, ra, rb, \
958 {R_PLLCTLD, rd, 0xFF}, \
/linux-master/kernel/time/
H A Dsched_clock.c85 struct clock_read_data *rd; local
91 rd = cd.read_data + (seq & 1);
93 cyc = (rd->read_sched_clock() - rd->epoch_cyc) &
94 rd->sched_clock_mask;
95 res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift);
120 static void update_clock_read_data(struct clock_read_data *rd) argument
123 cd.read_data[1] = *rd;
142 struct clock_read_data rd; local
170 struct clock_read_data rd; local
277 struct clock_read_data *rd = &cd.read_data[0]; local
288 struct clock_read_data *rd = &cd.read_data[0]; local
[all...]
/linux-master/drivers/video/fbdev/omap/
H A Dlcd_mipid.c343 } *rd, rd_ctrl[7] = { local
353 rd = rd_ctrl;
354 for (i = 0; i < 3; i++, rd++)
355 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen);
358 mipid_read(md, rd->cmd, rbuf, 2);
359 rd++;
361 for (i = 0; i < 3; i++, rd++) {
363 mipid_write(md, rd
[all...]

Completed in 345 milliseconds

1234567891011>>