Home
last modified time | relevance | path

Searched refs:rreg (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/lib/
Dlogic_iomem.c42 struct logic_iomem_region *rreg; in logic_iomem_add_region() local
51 rreg = kzalloc(sizeof(*rreg), GFP_KERNEL); in logic_iomem_add_region()
52 if (!rreg) in logic_iomem_add_region()
57 kfree(rreg); in logic_iomem_add_region()
62 rreg->res = resource; in logic_iomem_add_region()
63 rreg->ops = ops; in logic_iomem_add_region()
64 list_add_tail(&rreg->list, &regions_list); in logic_iomem_add_region()
89 struct logic_iomem_region *rreg, *found = NULL; in ioremap() local
93 list_for_each_entry(rreg, &regions_list, list) { in ioremap()
94 if (rreg->res->start > offset) in ioremap()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c168 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_unrestricted() argument
184 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_unrestricted()
189 swreg_type(rreg) == NN_REG_GPR_A) { in swreg_to_unrestricted()
190 reg->areg = nfp_swreg_to_unreg(rreg, false); in swreg_to_unrestricted()
195 reg->breg = nfp_swreg_to_unreg(rreg, false); in swreg_to_unrestricted()
199 reg->src_lmextn = swreg_lmextn(lreg) || swreg_lmextn(rreg); in swreg_to_unrestricted()
249 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg, in swreg_to_restricted() argument
265 if (swreg_type(lreg) == swreg_type(rreg) && in swreg_to_restricted()
270 swreg_type(rreg) == NN_REG_GPR_A) { in swreg_to_restricted()
271 reg->areg = nfp_swreg_to_rereg(rreg, false, has_imm8, &reg->i8); in swreg_to_restricted()
[all …]
Dnfp_asm.h390 int swreg_to_unrestricted(swreg dst, swreg lreg, swreg rreg,
392 int swreg_to_restricted(swreg dst, swreg lreg, swreg rreg,
/linux-6.12.1/sound/soc/codecs/
Dtda7419.c130 unsigned int reg, rreg, mask, thresh; member
136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo()
184 unsigned int rreg = tvc->rreg; in tda7419_vol_get() local
196 val = snd_soc_component_read(component, rreg); in tda7419_vol_get()
227 unsigned int rreg = tvc->rreg; in tda7419_vol_put() local
244 ret = snd_soc_component_update_bits(component, rreg, in tda7419_vol_put()
253 {.reg = xreg, .rreg = xreg, .mask = xmask, .min = xmin, \
259 {.reg = xregl, .rreg = xregr, .mask = xmask, .min = xmin, \
Dwcd-mbhc-v2.h8 #define WCD_MBHC_FIELD(id, rreg, rmask) \ argument
9 [id] = { .reg = rreg, .mask = rmask }
D88pm860x-codec.c274 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_st()
298 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_st()
331 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_out()
351 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_out()
Drt1320-sdw.c3913 regmap_read(rt1320->mbq_regmap, mc->rreg, &rvalue); in rt1320_set_gain_put()
3935 regmap_write(rt1320->mbq_regmap, mc->rreg, gain_r_val); in rt1320_set_gain_put()
3951 regmap_read(rt1320->mbq_regmap, mc->rreg, &read_r); in rt1320_set_gain_get()
Drt711-sdca.c571 regmap_read(rt711->mbq_regmap, mc->rreg, &rvalue); in rt711_sdca_set_gain_put()
628 regmap_write(rt711->mbq_regmap, mc->rreg, gain_r_val); in rt711_sdca_set_gain_put()
631 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_put()
654 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_get()
Drt722-sdca.c364 regmap_read(rt722->mbq_regmap, mc->rreg, &rvalue); in rt722_sdca_set_gain_put()
407 regmap_write(rt722->mbq_regmap, mc->rreg, gain_r_val); in rt722_sdca_set_gain_put()
410 regmap_read(rt722->mbq_regmap, mc->rreg, &read_r); in rt722_sdca_set_gain_put()
434 regmap_read(rt722->mbq_regmap, mc->rreg, &read_r); in rt722_sdca_set_gain_get()
Drt712-sdca.c505 regmap_read(rt712->mbq_regmap, mc->rreg, &rvalue); in rt712_sdca_set_gain_put()
545 regmap_write(rt712->mbq_regmap, mc->rreg, gain_r_val); in rt712_sdca_set_gain_put()
548 regmap_read(rt712->mbq_regmap, mc->rreg, &read_r); in rt712_sdca_set_gain_put()
571 regmap_read(rt712->mbq_regmap, mc->rreg, &read_r); in rt712_sdca_set_gain_get()
Drt715.c146 addr_l = mc->rreg; in rt715_set_amp_gain_put()
226 addr_l = mc->rreg; in rt715_set_amp_gain_get()
Drt700.c377 addr_l = mc->rreg; in rt700_set_amp_gain_put()
471 addr_l = mc->rreg; in rt700_set_amp_gain_get()
Drt711.c521 addr_l = mc->rreg; in rt711_set_amp_gain_put()
621 addr_l = mc->rreg; in rt711_set_amp_gain_get()
Dtwl4030.c899 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_r2_twl4030()
926 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_r2_twl4030()
Dwm8580.c264 unsigned int reg2 = mc->rreg; in wm8580_out_vu()
/linux-6.12.1/sound/soc/
Dsoc-ops.c261 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw()
321 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw()
403 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_sx()
441 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_sx()
538 unsigned int rreg = mc->rreg; in snd_soc_put_volsw_range() local
583 err = snd_soc_component_update_bits(component, rreg, val_mask, in snd_soc_put_volsw_range()
611 unsigned int rreg = mc->rreg; in snd_soc_get_volsw_range() local
629 val = snd_soc_component_read(component, rreg); in snd_soc_get_volsw_range()
Dsoc-dapm.c809 if (reg != mc->rreg) in dapm_set_mixer_path_status()
810 val = soc_dapm_read(p->sink->dapm, mc->rreg); in dapm_set_mixer_path_status()
3397 if (reg != mc->rreg) in snd_soc_dapm_get_volsw()
3398 reg_val = soc_dapm_read(dapm, mc->rreg); in snd_soc_dapm_get_volsw()
3483 reg_change |= soc_dapm_test_bits(dapm, mc->rreg, in snd_soc_dapm_put_volsw()
3492 update.reg2 = mc->rreg; in snd_soc_dapm_put_volsw()
/linux-6.12.1/drivers/i2c/busses/
Di2c-ocores.c487 int rreg = reg; in oc_getreg_grlib() local
490 rreg--; in oc_getreg_grlib()
491 rd = ioread32be(i2c->base + (rreg << i2c->reg_shift)); in oc_getreg_grlib()
501 int rreg = reg; in oc_setreg_grlib() local
504 rreg--; in oc_setreg_grlib()
506 curr = ioread32be(i2c->base + (rreg << i2c->reg_shift)); in oc_setreg_grlib()
514 iowrite32be(wr, i2c->base + (rreg << i2c->reg_shift)); in oc_setreg_grlib()
/linux-6.12.1/include/sound/
Dsoc.h44 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
49 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
59 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
63 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
68 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
80 {.reg = xreg, .rreg = xreg, .shift = xshift, \
100 {.reg = xreg, .rreg = xreg, \
111 {.reg = xreg, .rreg = xreg, .shift = xshift, \
159 {.reg = xreg, .rreg = xreg, \
171 {.reg = xreg, .rreg = xreg, \
[all …]
Dsoc-dapm.h333 #define SOC_DAPM_DOUBLE_R(xname, lreg, rreg, shift, max, invert) \ argument
337 .private_value = SOC_DOUBLE_R_VALUE(lreg, rreg, shift, max, invert) }
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c101 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx, bool indir) in emit_cmd_any() argument
106 err = swreg_to_restricted(reg_none(), lreg, rreg, &reg, false); in emit_cmd_any()
128 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd() argument
130 emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, false); in emit_cmd()
135 swreg lreg, swreg rreg, u8 size, enum cmd_ctx_swap ctx) in emit_cmd_indir() argument
137 emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, true); in emit_cmd_indir()
364 swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc, u8 shift) in emit_shf() argument
369 err = swreg_to_restricted(dst, lreg, rreg, &reg, true); in emit_shf()
382 swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc) in emit_shf_indir() argument
390 emit_shf(nfp_prog, dst, lreg, op, rreg, sc, 0); in emit_shf_indir()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/carl9170/
Dfwcmd.h234 struct carl9170_reg_list rreg; member
/linux-6.12.1/drivers/accel/habanalabs/common/
Dhabanalabs.h1717 u32 (*rreg)(struct hl_device *hdev, u32 reg); member
2591 #define RREG32(reg) hdev->asic_funcs->rreg(hdev, (reg))
2594 hdev->asic_funcs->rreg(hdev, (reg)))
/linux-6.12.1/sound/pci/hda/
Dtas2781_hda_i2c.c50 {.reg = xreg, .rreg = xreg, .shift = xshift, \
/linux-6.12.1/sound/pci/
Dcmipci.c1966 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
1967 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere…

12