Lines Matching refs:component
409 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in cs42l42_slow_start_put() local
424 return snd_soc_component_update_bits(component, CS42L42_SLOW_START_ENABLE, in cs42l42_slow_start_put()
482 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs42l42_hp_adc_ev() local
483 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_hp_adc_ev()
566 static int cs42l42_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jk, void *d) in cs42l42_set_jack() argument
568 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_set_jack()
667 int cs42l42_pll_config(struct snd_soc_component *component, unsigned int clk, in cs42l42_pll_config() argument
670 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_pll_config()
690 snd_soc_component_update_bits(component, CS42L42_MCLK_CTL, in cs42l42_pll_config()
699 snd_soc_component_update_bits(component, in cs42l42_pll_config()
704 snd_soc_component_update_bits(component, in cs42l42_pll_config()
709 snd_soc_component_update_bits(component, in cs42l42_pll_config()
714 snd_soc_component_update_bits(component, in cs42l42_pll_config()
720 snd_soc_component_update_bits(component, in cs42l42_pll_config()
726 snd_soc_component_update_bits(component, in cs42l42_pll_config()
732 snd_soc_component_update_bits(component, in cs42l42_pll_config()
737 snd_soc_component_update_bits(component, in cs42l42_pll_config()
742 snd_soc_component_update_bits(component, in cs42l42_pll_config()
756 void cs42l42_src_config(struct snd_soc_component *component, unsigned int sample_rate) in cs42l42_src_config() argument
758 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_src_config()
772 snd_soc_component_update_bits(component, in cs42l42_src_config()
779 snd_soc_component_update_bits(component, in cs42l42_src_config()
783 snd_soc_component_update_bits(component, in cs42l42_src_config()
790 static int cs42l42_asp_config(struct snd_soc_component *component, in cs42l42_asp_config() argument
797 dev_err(component->dev, in cs42l42_asp_config()
804 snd_soc_component_update_bits(component, in cs42l42_asp_config()
809 snd_soc_component_update_bits(component, in cs42l42_asp_config()
816 snd_soc_component_update_bits(component, in cs42l42_asp_config()
821 snd_soc_component_update_bits(component, in cs42l42_asp_config()
832 struct snd_soc_component *component = codec_dai->component; in cs42l42_set_dai_fmt() local
855 snd_soc_component_update_bits(component, in cs42l42_set_dai_fmt()
884 snd_soc_component_update_bits(component, CS42L42_ASP_CLK_CFG, CS42L42_ASP_MODE_MASK | in cs42l42_set_dai_fmt()
894 struct snd_soc_component *component = dai->component; in cs42l42_dai_startup() local
895 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_dai_startup()
915 struct snd_soc_component *component = dai->component; in cs42l42_pcm_hw_params() local
916 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_pcm_hw_params()
950 snd_soc_component_update_bits(component, CS42L42_ASP_TX_CH_AP_RES, in cs42l42_pcm_hw_params()
957 snd_soc_component_update_bits(component, CS42L42_ASP_RX_DAI0_CH1_AP_RES, in cs42l42_pcm_hw_params()
962 snd_soc_component_update_bits(component, CS42L42_ASP_RX_DAI0_CH2_AP_RES, in cs42l42_pcm_hw_params()
967 snd_soc_component_update_bits(component, CS42L42_SP_RX_CH_SEL, in cs42l42_pcm_hw_params()
972 snd_soc_component_update_bits(component, CS42L42_ASP_RX_DAI0_EN, in cs42l42_pcm_hw_params()
981 ret = cs42l42_pll_config(component, bclk, sample_rate); in cs42l42_pcm_hw_params()
985 ret = cs42l42_asp_config(component, bclk, sample_rate); in cs42l42_pcm_hw_params()
989 cs42l42_src_config(component, sample_rate); in cs42l42_pcm_hw_params()
997 struct snd_soc_component *component = dai->component; in cs42l42_set_sysclk() local
998 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_set_sysclk()
1013 dev_err(component->dev, "SCLK %u not supported\n", freq); in cs42l42_set_sysclk()
1021 struct snd_soc_component *component = dai->component; in cs42l42_set_bclk_ratio() local
1022 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_set_bclk_ratio()
1031 struct snd_soc_component *component = dai->component; in cs42l42_mute_stream() local
1032 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_mute_stream()
1039 snd_soc_component_update_bits(component, CS42L42_HP_CTL, in cs42l42_mute_stream()
1056 snd_soc_component_update_bits(component, in cs42l42_mute_stream()
1062 snd_soc_component_update_bits(component, CS42L42_PLL_CTL1, in cs42l42_mute_stream()
1076 snd_soc_component_update_bits(component, CS42L42_PLL_CTL1, in cs42l42_mute_stream()
1083 snd_soc_component_update_bits(component, CS42L42_PLL_CTL3, in cs42l42_mute_stream()
1096 dev_warn(component->dev, "PLL failed to lock: %d\n", ret); in cs42l42_mute_stream()
1099 snd_soc_component_update_bits(component, in cs42l42_mute_stream()
1113 snd_soc_component_update_bits(component, CS42L42_HP_CTL, in cs42l42_mute_stream()