Searched refs:hsrctl (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dtwl6040.c214 int hslctl, hsrctl; headset_power_mode() local
218 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); headset_power_mode()
222 hsrctl &= ~mask; headset_power_mode()
225 hsrctl |= mask; headset_power_mode()
229 twl6040_write(codec, TWL6040_REG_HSRCTL, hsrctl); headset_power_mode()
238 u8 hslctl, hsrctl; twl6040_hs_dac_event() local
246 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); twl6040_hs_dac_event()
249 hsrctl |= TWL6040_HSDACENA; twl6040_hs_dac_event()
252 hsrctl &= ~TWL6040_HSDACENA; twl6040_hs_dac_event()
255 twl6040_write(codec, TWL6040_REG_HSRCTL, hsrctl); twl6040_hs_dac_event()
957 int hslctl, hsrctl, earctl; twl6040_mute_path() local
963 hsrctl = twl6040_read(codec, TWL6040_REG_HSRCTL); twl6040_mute_path()
970 hsrctl &= ~(TWL6040_HSDRVENA | TWL6040_HSDACENA); twl6040_mute_path()
976 twl6040_reg_write(twl6040, TWL6040_REG_HSRCTL, hsrctl); twl6040_mute_path()

Completed in 96 milliseconds