Lines Matching refs:component
154 static int sta529_set_bias_level(struct snd_soc_component *component, enum in sta529_set_bias_level() argument
157 struct sta529 *sta529 = snd_soc_component_get_drvdata(component); in sta529_set_bias_level()
162 snd_soc_component_update_bits(component, STA529_FFXCFG0, POWER_CNTLMSAK, in sta529_set_bias_level()
164 snd_soc_component_update_bits(component, STA529_MISC, FFX_CLK_MSK, in sta529_set_bias_level()
168 if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) in sta529_set_bias_level()
170 snd_soc_component_update_bits(component, STA529_FFXCFG0, in sta529_set_bias_level()
173 snd_soc_component_update_bits(component, STA529_FFXCFG0, FFX_MASK, in sta529_set_bias_level()
175 snd_soc_component_update_bits(component, STA529_MISC, FFX_CLK_MSK, in sta529_set_bias_level()
190 struct snd_soc_component *component = dai->component; in sta529_hw_params() local
208 dev_err(component->dev, "Unsupported format\n"); in sta529_hw_params()
231 dev_err(component->dev, "Unsupported rate\n"); in sta529_hw_params()
236 snd_soc_component_update_bits(component, STA529_S2PCFG1, PDATA_LEN_MSK, in sta529_hw_params()
238 snd_soc_component_update_bits(component, STA529_S2PCFG1, BCLK_TO_FS_MSK, in sta529_hw_params()
240 snd_soc_component_update_bits(component, STA529_MISC, PLAY_FREQ_RANGE_MSK, in sta529_hw_params()
243 snd_soc_component_update_bits(component, STA529_P2SCFG1, PDATA_LEN_MSK, in sta529_hw_params()
245 snd_soc_component_update_bits(component, STA529_P2SCFG1, BCLK_TO_FS_MSK, in sta529_hw_params()
247 snd_soc_component_update_bits(component, STA529_MISC, CAP_FREQ_RANGE_MSK, in sta529_hw_params()
261 snd_soc_component_update_bits(dai->component, STA529_FFXCFG0, AUDIO_MUTE_MSK, val); in sta529_mute()
268 struct snd_soc_component *component = codec_dai->component; in sta529_set_dai_fmt() local
286 snd_soc_component_update_bits(component, STA529_S2PCFG0, DATA_FORMAT_MSK, mode); in sta529_set_dai_fmt()