Lines Matching refs:component
321 struct snd_soc_component *component = codec_dai->component; in cs4265_set_sysclk() local
322 struct cs4265_private *cs4265 = snd_soc_component_get_drvdata(component); in cs4265_set_sysclk()
326 dev_err(component->dev, "Invalid clk_id %d\n", clk_id); in cs4265_set_sysclk()
336 dev_err(component->dev, "Invalid freq parameter %d\n", freq); in cs4265_set_sysclk()
342 struct snd_soc_component *component = codec_dai->component; in cs4265_set_fmt() local
343 struct cs4265_private *cs4265 = snd_soc_component_get_drvdata(component); in cs4265_set_fmt()
348 snd_soc_component_update_bits(component, CS4265_ADC_CTL, in cs4265_set_fmt()
353 snd_soc_component_update_bits(component, CS4265_ADC_CTL, in cs4265_set_fmt()
382 struct snd_soc_component *component = dai->component; in cs4265_mute() local
385 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_mute()
388 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_mute()
392 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_mute()
395 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_mute()
406 struct snd_soc_component *component = dai->component; in cs4265_pcm_hw_params() local
407 struct cs4265_private *cs4265 = snd_soc_component_get_drvdata(component); in cs4265_pcm_hw_params()
417 snd_soc_component_update_bits(component, CS4265_ADC_CTL, in cs4265_pcm_hw_params()
419 snd_soc_component_update_bits(component, CS4265_MCLK_FREQ, in cs4265_pcm_hw_params()
424 dev_err(component->dev, "can't get correct mclk\n"); in cs4265_pcm_hw_params()
430 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_pcm_hw_params()
432 snd_soc_component_update_bits(component, CS4265_ADC_CTL, in cs4265_pcm_hw_params()
434 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_pcm_hw_params()
439 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_pcm_hw_params()
441 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_pcm_hw_params()
444 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_pcm_hw_params()
446 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_pcm_hw_params()
451 snd_soc_component_update_bits(component, CS4265_DAC_CTL, in cs4265_pcm_hw_params()
453 snd_soc_component_update_bits(component, CS4265_ADC_CTL, in cs4265_pcm_hw_params()
455 snd_soc_component_update_bits(component, CS4265_SPDIF_CTL2, in cs4265_pcm_hw_params()
465 static int cs4265_set_bias_level(struct snd_soc_component *component, in cs4265_set_bias_level() argument
472 snd_soc_component_update_bits(component, CS4265_PWRCTL, in cs4265_set_bias_level()
476 snd_soc_component_update_bits(component, CS4265_PWRCTL, in cs4265_set_bias_level()
481 snd_soc_component_update_bits(component, CS4265_PWRCTL, in cs4265_set_bias_level()