Lines Matching refs:wm8785_regs
136 u16 wm8785_regs[3]; member
176 if (reg < ARRAY_SIZE(data->wm8785_regs)) in wm8785_write()
177 data->wm8785_regs[reg] = value; in wm8785_write()
222 wm8785_write(chip, WM8785_R0, data->wm8785_regs[0]); in wm8785_registers_init()
223 wm8785_write(chip, WM8785_R2, data->wm8785_regs[2]); in wm8785_registers_init()
230 data->wm8785_regs[0] = in wm8785_init()
232 data->wm8785_regs[2] = WM8785_HPFR | WM8785_HPFL; in wm8785_init()
397 if (value != data->wm8785_regs[0]) { in set_wm8785_params()
400 wm8785_write(chip, WM8785_R2, data->wm8785_regs[2]); in set_wm8785_params()
491 (data->wm8785_regs[WM8785_R2] & WM8785_HPFR) != 0; in hpf_get()
503 reg = data->wm8785_regs[WM8785_R2] & ~(WM8785_HPFR | WM8785_HPFL); in hpf_put()
506 changed = reg != data->wm8785_regs[WM8785_R2]; in hpf_put()
697 snd_iprintf(buffer, " %03x", data->wm8785_regs[i]); in dump_wm8785_registers()