Lines Matching refs:hsrctl
214 int hslctl, hsrctl; in headset_power_mode() local
218 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); in headset_power_mode()
222 hsrctl &= ~mask; in headset_power_mode()
225 hsrctl |= mask; in headset_power_mode()
229 twl6040_write(codec, TWL6040_REG_HSRCTL, hsrctl); in headset_power_mode()
238 u8 hslctl, hsrctl; in twl6040_hs_dac_event() local
246 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); in twl6040_hs_dac_event()
249 hsrctl |= TWL6040_HSDACENA; in twl6040_hs_dac_event()
252 hsrctl &= ~TWL6040_HSDACENA; in twl6040_hs_dac_event()
255 twl6040_write(codec, TWL6040_REG_HSRCTL, hsrctl); in twl6040_hs_dac_event()
959 int hslctl, hsrctl, earctl; in twl6040_mute_path() local
965 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); in twl6040_mute_path()
972 hsrctl &= ~(TWL6040_HSDRVENA | TWL6040_HSDACENA); in twl6040_mute_path()
978 twl6040_reg_write(twl6040, TWL6040_REG_HSRCTL, hsrctl); in twl6040_mute_path()