Lines Matching refs:hpctl1
228 u16 hpctl1 = snd_soc_read(codec, WM8900_REG_HPCTL1); in wm8900_hp_event() local
233 hpctl1 = WM8900_REG_HPCTL1_HP_CLAMP_IP | in wm8900_hp_event()
235 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
240 hpctl1 &= ~WM8900_REG_HPCTL1_HP_CLAMP_IP; in wm8900_hp_event()
241 hpctl1 |= WM8900_REG_HPCTL1_HP_SHORT | in wm8900_hp_event()
244 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
249 hpctl1 &= ~WM8900_REG_HPCTL1_HP_CLAMP_OP; in wm8900_hp_event()
250 hpctl1 |= WM8900_REG_HPCTL1_HP_OPSTAGE_ENA; in wm8900_hp_event()
251 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
254 hpctl1 &= ~WM8900_REG_HPCTL1_HP_SHORT2; in wm8900_hp_event()
255 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
256 hpctl1 &= ~WM8900_REG_HPCTL1_HP_SHORT; in wm8900_hp_event()
257 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
262 hpctl1 |= WM8900_REG_HPCTL1_HP_SHORT; in wm8900_hp_event()
263 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
266 hpctl1 &= ~WM8900_REG_HPCTL1_HP_OPSTAGE_ENA; in wm8900_hp_event()
267 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
270 hpctl1 |= WM8900_REG_HPCTL1_HP_CLAMP_IP | in wm8900_hp_event()
272 hpctl1 &= ~WM8900_REG_HPCTL1_HP_IPSTAGE_ENA; in wm8900_hp_event()
273 snd_soc_write(codec, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()