Lines Matching refs:hsrctl
202 int hslctl, hsrctl; in headset_power_mode() local
206 hsrctl = twl6040_read(component, TWL6040_REG_HSRCTL); in headset_power_mode()
210 hsrctl &= ~mask; in headset_power_mode()
213 hsrctl |= mask; in headset_power_mode()
217 twl6040_write(component, TWL6040_REG_HSRCTL, hsrctl); in headset_power_mode()
226 u8 hslctl, hsrctl; in twl6040_hs_dac_event() local
234 hsrctl = twl6040_read(component, TWL6040_REG_HSRCTL); in twl6040_hs_dac_event()
237 hsrctl |= TWL6040_HSDACENA; in twl6040_hs_dac_event()
240 hsrctl &= ~TWL6040_HSDACENA; in twl6040_hs_dac_event()
243 twl6040_write(component, TWL6040_REG_HSRCTL, hsrctl); in twl6040_hs_dac_event()
957 int hslctl, hsrctl, earctl; in twl6040_mute_path() local
963 hsrctl = twl6040_read(component, TWL6040_REG_HSRCTL); in twl6040_mute_path()
970 hsrctl &= ~(TWL6040_HSDRVENA | TWL6040_HSDACENA); in twl6040_mute_path()
976 twl6040_reg_write(twl6040, TWL6040_REG_HSRCTL, hsrctl); in twl6040_mute_path()