Home
last modified time | relevance | path

Searched refs:reg2 (Results 1 – 14 of 14) sorted by relevance

/sound/pci/ice1712/
Dwm8776.c152 .reg2 = WM8776_REG_DACRVOL,
162 .reg2 = WM8776_REG_DACCTRL1,
178 .reg2 = WM8776_REG_HPRVOL,
196 .reg2 = WM8776_REG_HPRVOL,
223 .reg2 = WM8776_REG_PHASESWAP,
239 .reg2 = WM8776_REG_ADCRVOL,
249 .reg2 = WM8776_REG_ADCMUX,
506 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8776_ctl_get()
545 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8776_ctl_put()
552 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8776_ctl_put()
[all …]
Dwm8766.c49 .reg2 = WM8766_REG_DACR1,
60 .reg2 = WM8766_REG_DACR2,
71 .reg2 = WM8766_REG_DACR3,
232 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get()
271 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8766_ctl_put()
278 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8766_ctl_put()
279 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
283 snd_wm8766_write(wm, wm->ctl[n].reg2, val); in snd_wm8766_ctl_put()
Dwm8766.h138 u16 reg1, reg2, mask1, mask2, min, max, flags; member
Dwm8776.h194 u16 reg1, reg2, mask1, mask2, min, max, flags; member
/sound/pci/
Dak4531_codec.c213 #define AK4531_INPUT_SW(xname, xindex, reg1, reg2, left_shift, right_shift) \ argument
217 .private_value = reg1 | (reg2 << 8) | (left_shift << 16) | (right_shift << 24) }
232 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_input_sw() local
238 ucontrol->value.integer.value[1] = (ak4531->regs[reg2] >> left_shift) & 1; in snd_ak4531_get_input_sw()
240 ucontrol->value.integer.value[3] = (ak4531->regs[reg2] >> right_shift) & 1; in snd_ak4531_get_input_sw()
249 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_input_sw() local
257 val2 = ak4531->regs[reg2] & ~((1 << left_shift) | (1 << right_shift)); in snd_ak4531_put_input_sw()
262 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw()
264 ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2); in snd_ak4531_put_input_sw()
/sound/soc/
Dsoc-ops.c254 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw() local
278 if (reg == reg2) in snd_soc_get_volsw()
282 ret = snd_soc_read_signed(component, reg2, mask, shift, in snd_soc_get_volsw()
314 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw() local
339 if (reg == reg2) { in snd_soc_put_volsw()
352 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw()
376 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_sx() local
392 ret = snd_soc_component_read(component, reg2, &val); in snd_soc_get_volsw_sx()
421 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_sx() local
443 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw_sx()
/sound/soc/codecs/
Dwm9713.c818 u16 reg, reg2; in wm9713_set_pll() local
838 reg2 = (pll_div.n << 12) | (pll_div.lf << 11) | (1 << 10) | in wm9713_set_pll()
842 reg = reg2 | (0x5 << 4) | (pll_div.k >> 20); in wm9713_set_pll()
846 reg = reg2 | (0x4 << 4) | ((pll_div.k >> 16) & 0xf); in wm9713_set_pll()
850 reg = reg2 | (0x3 << 4) | ((pll_div.k >> 12) & 0xf); in wm9713_set_pll()
854 reg = reg2 | (0x2 << 4) | ((pll_div.k >> 8) & 0xf); in wm9713_set_pll()
858 reg = reg2 | (0x1 << 4) | ((pll_div.k >> 4) & 0xf); in wm9713_set_pll()
861 reg = reg2 | (0x0 << 4) | (pll_div.k & 0xf); /* K [3:0] */ in wm9713_set_pll()
D88pm860x-codec.c277 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_st() local
282 val2[0] = snd_soc_read(codec, reg2) & 0x3f; in snd_soc_get_volsw_2r_st()
301 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_st() local
319 err = snd_soc_update_bits(codec, reg2, 0x3f, st_table[val2].m); in snd_soc_put_volsw_2r_st()
334 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_out() local
340 val2 = snd_soc_read(codec, reg2) >> shift; in snd_soc_get_volsw_2r_out()
354 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_out() local
372 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_2r_out()
Dwm9081.c365 unsigned int reg2 = snd_soc_read(codec, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_put() local
369 ((reg2 & WM9081_SPK_MODE) != 0)) in speaker_mode_put()
378 reg2 &= ~(WM9081_SPK_INV_MUTE | WM9081_OUT_SPK_CTRL); in speaker_mode_put()
379 reg2 |= WM9081_SPK_MODE; in speaker_mode_put()
382 reg2 |= WM9081_SPK_INV_MUTE | WM9081_OUT_SPK_CTRL; in speaker_mode_put()
383 reg2 &= ~WM9081_SPK_MODE; in speaker_mode_put()
386 snd_soc_write(codec, WM9081_ANALOGUE_SPEAKER_2, reg2); in speaker_mode_put()
Dwm8580.c258 unsigned int reg2 = mc->rreg; in wm8580_out_vu() local
264 regmap_update_bits(wm8580->regmap, reg2, 0x100, 0x000); in wm8580_out_vu()
273 snd_soc_update_bits(codec, reg2, 0x100, 0x100); in wm8580_out_vu()
Dtwl4030.c906 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_r2_twl4030() local
914 (snd_soc_read(codec, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
933 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_r2_twl4030() local
956 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
/sound/isa/sb/
Dsb_mixer.c404 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_get_input_sw() local
411 val2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_get_input_sw()
425 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_put_input_sw() local
433 oval2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_put_input_sw()
443 snd_sbmixer_write(sb, reg2, val2); in snd_sb16mixer_put_input_sw()
/sound/sparc/
Ddbri.c1640 u32 reg2 = sbus_readl(dbri->regs + REG2); in cs4215_init() local
1641 dprintk(D_MM, "cs4215_init: reg2=0x%x\n", reg2); in cs4215_init()
1644 if (reg2 & D_PIO2) { in cs4215_init()
1648 if (reg2 & D_PIO0) { in cs4215_init()
1652 if (reg2 & D_PIO2) { in cs4215_init()
1659 if (!(reg2 & (D_PIO0 | D_PIO2))) { in cs4215_init()
/sound/pci/ymfpci/
Dymfpci_main.c1575 unsigned int reg2 = YDSXGR_BUF441OUTVOL; in snd_ymfpci_put_nativedacvol() local
1585 snd_ymfpci_writel(chip, reg2, value); in snd_ymfpci_put_nativedacvol()