Lines Matching refs:cmpnt

171 void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt,  in mt6359_set_mtkaif_protocol()  argument
174 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_protocol()
180 void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_enable() argument
182 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_enable()
206 void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_disable() argument
208 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_disable()
232 void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_calibration_phase() argument
235 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_calibration_phase()
820 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() local
821 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
1046 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event() local
1047 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_event()
1076 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_rcv_event() local
1077 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_rcv_event()
1160 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_lo_event() local
1161 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_lo_event()
1271 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_clk_gen_event() local
1272 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_clk_gen_event()
1311 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_dcc_clk_event() local
1312 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_dcc_clk_event()
1346 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_0_event() local
1347 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_0_event()
1400 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_1_event() local
1401 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_1_event()
1433 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_2_event() local
1434 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_2_event()
1484 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mtkaif_tx_event() local
1485 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mtkaif_tx_event()
1507 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ul_src_dmic_event() local
1508 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ul_src_dmic_event()
1540 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ul_src_34_dmic_event() local
1541 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ul_src_34_dmic_event()
1568 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_l_event() local
1569 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_l_event()
1592 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_r_event() local
1593 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_r_event()
1616 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_3_event() local
1617 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_3_event()
1640 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_l_mux_event() local
1641 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_l_mux_event()
1653 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_r_mux_event() local
1654 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_r_mux_event()
1666 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_3_mux_event() local
1667 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_3_mux_event()
1679 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_l_event() local
1680 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_l_event()
1737 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_r_event() local
1738 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_r_event()
1796 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_3_event() local
1797 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_3_event()
1885 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_pull_down_event() local
1886 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_pull_down_event()
1906 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_mute_event() local
1907 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_mute_event()
1929 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_damp_event() local
1930 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_damp_event()
1949 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_esd_resist_event() local
1950 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_esd_resist_event()
1976 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sdm_event() local
1977 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sdm_event()
2010 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sdm_3rd_event() local
2011 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sdm_3rd_event()
2040 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ncp_event() local
2041 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ncp_event()
2416 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_dcc_clk_connect() local
2417 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_dcc_clk_connect()
2648 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_hw_params() local
2649 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_hw_params()
2667 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_startup() local
2668 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_startup()
2682 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_shutdown() local
2683 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_shutdown()
2755 static int mt6359_codec_init_reg(struct snd_soc_component *cmpnt) in mt6359_codec_init_reg() argument
2757 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_init_reg()
2807 static int mt6359_codec_probe(struct snd_soc_component *cmpnt) in mt6359_codec_probe() argument
2809 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_probe()
2811 snd_soc_component_init_regmap(cmpnt, priv->regmap); in mt6359_codec_probe()
2813 return mt6359_codec_init_reg(cmpnt); in mt6359_codec_probe()
2816 static void mt6359_codec_remove(struct snd_soc_component *cmpnt) in mt6359_codec_remove() argument
2818 cmpnt->regmap = NULL; in mt6359_codec_remove()