Searched refs:reg2 (Results 1 – 9 of 9) sorted by relevance
/sound/pci/ |
D | ak4531_codec.c | 215 #define AK4531_INPUT_SW(xname, xindex, reg1, reg2, left_shift, right_shift) \ argument 219 .private_value = reg1 | (reg2 << 8) | (left_shift << 16) | (right_shift << 24) } 234 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_input_sw() local 240 ucontrol->value.integer.value[1] = (ak4531->regs[reg2] >> left_shift) & 1; in snd_ak4531_get_input_sw() 242 ucontrol->value.integer.value[3] = (ak4531->regs[reg2] >> right_shift) & 1; in snd_ak4531_get_input_sw() 251 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_input_sw() local 259 val2 = ak4531->regs[reg2] & ~((1 << left_shift) | (1 << right_shift)); in snd_ak4531_put_input_sw() 264 change = val1 != ak4531->regs[reg1] || val2 != ak4531->regs[reg2]; in snd_ak4531_put_input_sw() 266 ak4531->write(ak4531, reg2, ak4531->regs[reg2] = val2); in snd_ak4531_put_input_sw()
|
/sound/soc/codecs/ |
D | wm9713.c | 737 u16 reg, reg2; in wm9713_set_pll() local 759 reg2 = (pll_div.n << 12) | (pll_div.lf << 11) | (1 << 10) | in wm9713_set_pll() 763 reg = reg2 | (0x5 << 4) | (pll_div.k >> 20); in wm9713_set_pll() 767 reg = reg2 | (0x4 << 4) | ((pll_div.k >> 16) & 0xf); in wm9713_set_pll() 771 reg = reg2 | (0x3 << 4) | ((pll_div.k >> 12) & 0xf); in wm9713_set_pll() 775 reg = reg2 | (0x2 << 4) | ((pll_div.k >> 8) & 0xf); in wm9713_set_pll() 779 reg = reg2 | (0x1 << 4) | ((pll_div.k >> 4) & 0xf); in wm9713_set_pll() 782 reg = reg2 | (0x0 << 4) | (pll_div.k & 0xf); /* K [3:0] */ in wm9713_set_pll()
|
D | wm8580.c | 270 int reg2 = (kcontrol->private_value >> 24) & 0xff; in wm8580_out_vu() local 276 wm8580_write_reg_cache(codec, reg2, 0); in wm8580_out_vu() 286 val = wm8580_read_reg_cache(codec, reg2); in wm8580_out_vu() 287 wm8580_write(codec, reg2, val | 0x0100); in wm8580_out_vu()
|
D | twl4030.c | 526 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_r2_twl4030() local 534 (snd_soc_read(codec, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030() 553 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_r2_twl4030() local 576 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
|
D | wm8903.c | 987 u16 reg, reg2; in wm8903_set_bias_level() local 1011 reg2 = wm8903_read(codec, WM8903_CHARGE_PUMP_TEST_1); in wm8903_set_bias_level() 1013 reg2 | WM8903_CP_SW_KELVIN_MODE_MASK); in wm8903_set_bias_level()
|
/sound/isa/sb/ |
D | sb_mixer.c | 362 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_get_input_sw() local 369 val2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_get_input_sw() 383 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_put_input_sw() local 391 oval2 = snd_sbmixer_read(sb, reg2); in snd_sb16mixer_put_input_sw() 401 snd_sbmixer_write(sb, reg2, val2); in snd_sb16mixer_put_input_sw()
|
/sound/sparc/ |
D | dbri.c | 1633 u32 reg2 = sbus_readl(dbri->regs + REG2); in cs4215_init() local 1634 dprintk(D_MM, "cs4215_init: reg2=0x%x\n", reg2); in cs4215_init() 1637 if (reg2 & D_PIO2) { in cs4215_init() 1641 if (reg2 & D_PIO0) { in cs4215_init() 1645 if (reg2 & D_PIO2) { in cs4215_init() 1652 if (!(reg2 & (D_PIO0 | D_PIO2))) { in cs4215_init()
|
/sound/soc/ |
D | soc-core.c | 1870 unsigned int reg2 = mc->rreg; in snd_soc_get_volsw_2r() local 1879 (snd_soc_read(codec, reg2) >> shift) & mask; in snd_soc_get_volsw_2r() 1907 unsigned int reg2 = mc->rreg; in snd_soc_put_volsw_2r() local 1931 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_2r()
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1557 unsigned int reg2 = YDSXGR_BUF441OUTVOL; in snd_ymfpci_put_nativedacvol() local 1567 snd_ymfpci_writel(chip, reg2, value); in snd_ymfpci_put_nativedacvol()
|