Lines Matching refs:cmpnt
157 void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_protocol() argument
160 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_protocol()
166 void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_enable() argument
168 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_enable()
192 void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_disable() argument
194 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_disable()
218 void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_calibration_phase() argument
221 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_calibration_phase()
731 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() local
732 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
957 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_event() local
958 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_event()
987 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_rcv_event() local
988 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_rcv_event()
1071 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_lo_event() local
1072 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_lo_event()
1157 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_clk_gen_event() local
1158 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_clk_gen_event()
1197 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_dcc_clk_event() local
1198 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_dcc_clk_event()
1232 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_0_event() local
1233 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_0_event()
1286 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_1_event() local
1287 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_1_event()
1319 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mic_bias_2_event() local
1320 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_bias_2_event()
1370 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_mtkaif_tx_event() local
1371 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mtkaif_tx_event()
1393 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ul_src_dmic_event() local
1394 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ul_src_dmic_event()
1426 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ul_src_34_dmic_event() local
1427 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ul_src_34_dmic_event()
1454 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_l_event() local
1455 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_l_event()
1478 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_r_event() local
1479 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_r_event()
1502 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_adc_3_event() local
1503 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_3_event()
1526 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_l_mux_event() local
1527 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_l_mux_event()
1539 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_r_mux_event() local
1540 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_r_mux_event()
1552 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_3_mux_event() local
1553 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_3_mux_event()
1565 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_l_event() local
1566 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_l_event()
1623 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_r_event() local
1624 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_r_event()
1682 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_pga_3_event() local
1683 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_3_event()
1771 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_pull_down_event() local
1772 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_pull_down_event()
1792 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_mute_event() local
1793 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_mute_event()
1815 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_hp_damp_event() local
1816 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_damp_event()
1835 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_esd_resist_event() local
1836 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_esd_resist_event()
1862 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sdm_event() local
1863 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sdm_event()
1896 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sdm_3rd_event() local
1897 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sdm_3rd_event()
1926 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_ncp_event() local
1927 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_ncp_event()
2302 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_dcc_clk_connect() local
2303 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_dcc_clk_connect()
2529 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_hw_params() local
2530 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_hw_params()
2548 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_startup() local
2549 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_startup()
2563 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_shutdown() local
2564 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_dai_shutdown()
2636 static int mt6359_codec_init_reg(struct snd_soc_component *cmpnt) in mt6359_codec_init_reg() argument
2638 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_init_reg()
2686 static int mt6359_codec_probe(struct snd_soc_component *cmpnt) in mt6359_codec_probe() argument
2688 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_codec_probe()
2690 snd_soc_component_init_regmap(cmpnt, priv->regmap); in mt6359_codec_probe()
2692 return mt6359_codec_init_reg(cmpnt); in mt6359_codec_probe()
2695 static void mt6359_codec_remove(struct snd_soc_component *cmpnt) in mt6359_codec_remove() argument
2697 cmpnt->regmap = NULL; in mt6359_codec_remove()