Lines Matching refs:hpctl1
225 u16 hpctl1 = snd_soc_component_read(component, WM8900_REG_HPCTL1); in wm8900_hp_event() local
230 hpctl1 = WM8900_REG_HPCTL1_HP_CLAMP_IP | in wm8900_hp_event()
232 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
237 hpctl1 &= ~WM8900_REG_HPCTL1_HP_CLAMP_IP; in wm8900_hp_event()
238 hpctl1 |= WM8900_REG_HPCTL1_HP_SHORT | in wm8900_hp_event()
241 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
246 hpctl1 &= ~WM8900_REG_HPCTL1_HP_CLAMP_OP; in wm8900_hp_event()
247 hpctl1 |= WM8900_REG_HPCTL1_HP_OPSTAGE_ENA; in wm8900_hp_event()
248 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
251 hpctl1 &= ~WM8900_REG_HPCTL1_HP_SHORT2; in wm8900_hp_event()
252 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
253 hpctl1 &= ~WM8900_REG_HPCTL1_HP_SHORT; in wm8900_hp_event()
254 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
259 hpctl1 |= WM8900_REG_HPCTL1_HP_SHORT; in wm8900_hp_event()
260 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
263 hpctl1 &= ~WM8900_REG_HPCTL1_HP_OPSTAGE_ENA; in wm8900_hp_event()
264 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
267 hpctl1 |= WM8900_REG_HPCTL1_HP_CLAMP_IP | in wm8900_hp_event()
269 hpctl1 &= ~WM8900_REG_HPCTL1_HP_IPSTAGE_ENA; in wm8900_hp_event()
270 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()