Lines Matching refs:component
74 struct snd_soc_component *component = dai->component; in wm8728_mute() local
75 u16 mute_reg = snd_soc_component_read(component, WM8728_DACCTL); in wm8728_mute()
78 snd_soc_component_write(component, WM8728_DACCTL, mute_reg | 1); in wm8728_mute()
80 snd_soc_component_write(component, WM8728_DACCTL, mute_reg & ~1); in wm8728_mute()
89 struct snd_soc_component *component = dai->component; in wm8728_hw_params() local
90 u16 dac = snd_soc_component_read(component, WM8728_DACCTL); in wm8728_hw_params()
107 snd_soc_component_write(component, WM8728_DACCTL, dac); in wm8728_hw_params()
115 struct snd_soc_component *component = codec_dai->component; in wm8728_set_dai_fmt() local
116 u16 iface = snd_soc_component_read(component, WM8728_IFCTL); in wm8728_set_dai_fmt()
156 snd_soc_component_write(component, WM8728_IFCTL, iface); in wm8728_set_dai_fmt()
160 static int wm8728_set_bias_level(struct snd_soc_component *component, in wm8728_set_bias_level() argument
163 struct wm8728_priv *wm8728 = snd_soc_component_get_drvdata(component); in wm8728_set_bias_level()
170 if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) { in wm8728_set_bias_level()
172 reg = snd_soc_component_read(component, WM8728_DACCTL); in wm8728_set_bias_level()
173 snd_soc_component_write(component, WM8728_DACCTL, reg & ~0x4); in wm8728_set_bias_level()
181 reg = snd_soc_component_read(component, WM8728_DACCTL); in wm8728_set_bias_level()
182 snd_soc_component_write(component, WM8728_DACCTL, reg | 0x4); in wm8728_set_bias_level()