Lines Matching refs:dac_volume
195 wm8776_write(chip, WM8776_DACLVOL, chip->dac_volume[0]); in wm8776_registers_init()
196 wm8776_write(chip, WM8776_DACRVOL, chip->dac_volume[1] | WM8776_UPDATE); in wm8776_registers_init()
208 wm8766_write(chip, WM8766_LDA1, chip->dac_volume[2]); in wm8766_registers_init()
209 wm8766_write(chip, WM8766_RDA1, chip->dac_volume[3]); in wm8766_registers_init()
210 wm8766_write(chip, WM8766_LDA2, chip->dac_volume[4]); in wm8766_registers_init()
211 wm8766_write(chip, WM8766_RDA2, chip->dac_volume[5]); in wm8766_registers_init()
212 wm8766_write(chip, WM8766_LDA3, chip->dac_volume[6]); in wm8766_registers_init()
213 wm8766_write(chip, WM8766_RDA3, chip->dac_volume[7] | WM8766_UPDATE); in wm8766_registers_init()
406 if (chip->dac_volume[0] == chip->dac_volume[1]) { in update_wm8776_volume()
407 if (chip->dac_volume[0] != data->wm8776_regs[WM8776_DACLVOL] || in update_wm8776_volume()
408 chip->dac_volume[1] != data->wm8776_regs[WM8776_DACRVOL]) { in update_wm8776_volume()
410 chip->dac_volume[0] | WM8776_UPDATE); in update_wm8776_volume()
411 data->wm8776_regs[WM8776_DACLVOL] = chip->dac_volume[0]; in update_wm8776_volume()
412 data->wm8776_regs[WM8776_DACRVOL] = chip->dac_volume[0]; in update_wm8776_volume()
415 to_change = (chip->dac_volume[0] != in update_wm8776_volume()
417 to_change |= (chip->dac_volume[1] != in update_wm8776_volume()
420 wm8776_write(chip, WM8776_DACLVOL, chip->dac_volume[0] | in update_wm8776_volume()
424 chip->dac_volume[1] | WM8776_UPDATE); in update_wm8776_volume()
440 if (chip->dac_volume[2] == chip->dac_volume[3] && in update_wm87x6_volume()
441 chip->dac_volume[2] == chip->dac_volume[4] && in update_wm87x6_volume()
442 chip->dac_volume[2] == chip->dac_volume[5] && in update_wm87x6_volume()
443 chip->dac_volume[2] == chip->dac_volume[6] && in update_wm87x6_volume()
444 chip->dac_volume[2] == chip->dac_volume[7]) { in update_wm87x6_volume()
447 if (chip->dac_volume[2] != in update_wm87x6_volume()
452 chip->dac_volume[2] | WM8766_UPDATE); in update_wm87x6_volume()
455 chip->dac_volume[2]; in update_wm87x6_volume()
460 to_change |= (chip->dac_volume[2 + i] != in update_wm87x6_volume()
465 chip->dac_volume[2 + i] | in update_wm87x6_volume()