Lines Matching refs:twl4030_read
75 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() function
281 reg = twl4030_read(component, TWL4030_REG_MISC_SET_1); in twl4030_init_chip()
298 reg = twl4030_read(component, TWL4030_REG_HS_POPN_SET); in twl4030_init_chip()
306 reg = twl4030_read(component, TWL4030_REG_ANAMICL); in twl4030_init_chip()
562 twl4030_write(component, reg, twl4030_read(component, reg)); \
582 hs_ctl = twl4030_read(component, reg); in handsfree_ramp()
671 audio_if = twl4030_read(component, TWL4030_REG_AUDIO_IF); in aif_event()
701 hs_gain = twl4030_read(component, TWL4030_REG_HS_GAIN_SET); in headset_ramp()
702 hs_pop = twl4030_read(component, TWL4030_REG_HS_POPN_SET); in headset_ramp()
839 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_twl4030()
846 (twl4030_read(component, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
897 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
899 (twl4030_read(component, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
1622 reg = twl4030_read(component, TWL4030_REG_OPTION); in twl4030_tdm_enable()
1651 if (!(twl4030_read(component, TWL4030_REG_CODEC_MODE) & in twl4030_startup()
1699 format = twl4030_read(component, TWL4030_REG_AUDIO_IF); in twl4030_hw_params()
1700 mode = twl4030_read(component, TWL4030_REG_CODEC_MODE); in twl4030_hw_params()
1716 old_mode = twl4030_read(component, in twl4030_hw_params()
1758 old_format = twl4030_read(component, TWL4030_REG_AUDIO_IF); in twl4030_hw_params()
1840 old_format = twl4030_read(component, TWL4030_REG_AUDIO_IF); in twl4030_set_dai_fmt()
1890 u8 reg = twl4030_read(component, TWL4030_REG_AUDIO_IF); in twl4030_set_tristate()
1907 reg = twl4030_read(component, TWL4030_REG_OPTION); in twl4030_voice_enable()
1942 mode = twl4030_read(component, TWL4030_REG_CODEC_MODE) in twl4030_voice_startup()
1975 old_mode = twl4030_read(component, in twl4030_voice_hw_params()
2038 old_format = twl4030_read(component, TWL4030_REG_VOICE_IF); in twl4030_voice_set_dai_fmt()
2085 u8 reg = twl4030_read(component, TWL4030_REG_VOICE_IF); in twl4030_voice_set_tristate()
2182 .read = twl4030_read,