/sound/pci/ice1712/ |
D | wm8776.c | 138 .reg2 = WM8776_REG_DACRVOL, 148 .reg2 = WM8776_REG_DACCTRL1, 164 .reg2 = WM8776_REG_HPRVOL, 182 .reg2 = WM8776_REG_HPRVOL, 209 .reg2 = WM8776_REG_PHASESWAP, 225 .reg2 = WM8776_REG_ADCRVOL, 235 .reg2 = WM8776_REG_ADCMUX, 492 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8776_ctl_get() 531 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8776_ctl_put() 538 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8776_ctl_put() [all …]
|
D | wm8766.c | 35 .reg2 = WM8766_REG_DACR1, 46 .reg2 = WM8766_REG_DACR2, 57 .reg2 = WM8766_REG_DACR3, 218 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get() 257 wm->ctl[n].reg1 == wm->ctl[n].reg2) { in snd_wm8766_ctl_put() 264 wm->ctl[n].reg1 != wm->ctl[n].reg2) { in snd_wm8766_ctl_put() 265 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put() 269 snd_wm8766_write(wm, wm->ctl[n].reg2, val); in snd_wm8766_ctl_put()
|
D | wm8766.h | 124 u16 reg1, reg2, mask1, mask2, min, max, flags; member
|
D | wm8776.h | 180 u16 reg1, reg2, mask1, mask2, min, max, flags; member
|
/sound/pci/ |
D | ak4531_codec.c | 198 #define AK4531_INPUT_SW(xname, xindex, reg1, reg2, left_shift, right_shift) \ argument 202 .private_value = reg1 | (reg2 << 8) | (left_shift << 16) | (right_shift << 24) } 217 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_input_sw() local 223 ucontrol->value.integer.value[1] = (ak4531->regs[reg2] >> left_shift) & 1; in snd_ak4531_get_input_sw() 225 ucontrol->value.integer.value[3] = (ak4531->regs[reg2] >> right_shift) & 1; in snd_ak4531_get_input_sw() 234 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_input_sw() local 242 val2 = ak4531->regs[reg2] & ~((1 << left_shift) | (1 << right_shift)); in snd_ak4531_put_input_sw() 247 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw() 249 ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2); in snd_ak4531_put_input_sw()
|
/sound/soc/ |
D | soc-ops.c | 249 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw() local 273 if (reg == reg2) in snd_soc_get_volsw() 277 ret = snd_soc_read_signed(component, reg2, mask, shift, in snd_soc_get_volsw() 309 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw() local 334 if (reg == reg2) { in snd_soc_put_volsw() 347 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw() 371 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_sx() local 387 ret = snd_soc_component_read(component, reg2, &val); in snd_soc_get_volsw_sx() 416 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_sx() local 438 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw_sx()
|
D | soc-dapm.c | 1748 ret = soc_dapm_update_bits(w->dapm, update->reg2, in dapm_widget_update() 3376 update.reg2 = mc->rreg; in snd_soc_dapm_put_volsw()
|
/sound/soc/codecs/ |
D | wm9713.c | 818 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()
|
D | cx2072x.c | 691 union cx2072x_reg_i2spcm_ctrl_reg2 reg2; in cx2072x_config_i2spcm() local 716 reg2.r.tx_master = 1; in cx2072x_config_i2spcm() 722 reg2.r.tx_master = 0; in cx2072x_config_i2spcm() 802 reg2.r.tx_endian_sel = !is_big_endian; in cx2072x_config_i2spcm() 803 reg2.r.tx_dstart_dly = has_one_bit_delay; in cx2072x_config_i2spcm() 805 reg2.r.tx_dstart_dly = 0; in cx2072x_config_i2spcm() 813 reg2.r.tx_slot_1 = 0; in cx2072x_config_i2spcm() 814 reg2.r.tx_slot_2 = i2s_right_slot; in cx2072x_config_i2spcm() 840 if (reg2.r.tx_master) { in cx2072x_config_i2spcm() 855 reg2.ulval); in cx2072x_config_i2spcm()
|
D | 88pm860x-codec.c | 274 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_st() local 279 val2[0] = snd_soc_component_read32(component, reg2) & 0x3f; in snd_soc_get_volsw_2r_st() 298 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_st() local 316 err = snd_soc_component_update_bits(component, reg2, 0x3f, st_table[val2].m); in snd_soc_put_volsw_2r_st() 331 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r_out() local 337 val2 = snd_soc_component_read32(component, reg2) >> shift; in snd_soc_get_volsw_2r_out() 351 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r_out() local 369 err = snd_soc_component_update_bits(component, reg2, val_mask, val2); in snd_soc_put_volsw_2r_out()
|
D | wm9081.c | 361 unsigned int reg2 = snd_soc_component_read32(component, WM9081_ANALOGUE_SPEAKER_2); in speaker_mode_put() local 365 ((reg2 & WM9081_SPK_MODE) != 0)) in speaker_mode_put() 374 reg2 &= ~(WM9081_SPK_INV_MUTE | WM9081_OUT_SPK_CTRL); in speaker_mode_put() 375 reg2 |= WM9081_SPK_MODE; 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 snd_soc_component_write(component, WM9081_ANALOGUE_SPEAKER_2, reg2); in speaker_mode_put()
|
D | wm8580.c | 264 unsigned int reg2 = mc->rreg; in wm8580_out_vu() local 270 regmap_update_bits(wm8580->regmap, reg2, 0x100, 0x000); in wm8580_out_vu() 279 snd_soc_component_update_bits(component, reg2, 0x100, 0x100); in wm8580_out_vu()
|
D | twl4030.c | 891 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_r2_twl4030() local 899 (twl4030_read(component, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030() 918 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_r2_twl4030() local 941 err = snd_soc_component_update_bits(component, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
|
/sound/isa/sb/ |
D | sb_mixer.c | 389 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_get_input_sw() local 396 val2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_get_input_sw() 410 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_put_input_sw() local 418 oval2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_put_input_sw() 428 snd_sbmixer_write(sb, reg2, val2); in snd_sb16mixer_put_input_sw()
|
/sound/sparc/ |
D | dbri.c | 1645 u32 reg2 = sbus_readl(dbri->regs + REG2); in cs4215_init() local 1646 dprintk(D_MM, "cs4215_init: reg2=0x%x\n", reg2); in cs4215_init() 1649 if (reg2 & D_PIO2) { in cs4215_init() 1653 if (reg2 & D_PIO0) { in cs4215_init() 1657 if (reg2 & D_PIO2) { in cs4215_init() 1664 if (!(reg2 & (D_PIO0 | D_PIO2))) { in cs4215_init()
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1561 unsigned int reg2 = YDSXGR_BUF441OUTVOL; in snd_ymfpci_put_nativedacvol() local 1571 snd_ymfpci_writel(chip, reg2, value); in snd_ymfpci_put_nativedacvol()
|