Lines Matching refs:mt6358_priv
81 struct mt6358_priv { struct
105 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_protocol() argument
112 static void playback_gpio_set(struct mt6358_priv *priv) in playback_gpio_set()
123 static void playback_gpio_reset(struct mt6358_priv *priv) in playback_gpio_reset()
138 static void capture_gpio_set(struct mt6358_priv *priv) in capture_gpio_set()
149 static void capture_gpio_reset(struct mt6358_priv *priv) in capture_gpio_reset()
166 static int mt6358_set_dcxo(struct mt6358_priv *priv, bool enable) in mt6358_set_dcxo()
175 static int mt6358_set_clksq(struct mt6358_priv *priv, bool enable) in mt6358_set_clksq()
190 static int mt6358_set_aud_global_bias(struct mt6358_priv *priv, bool enable) in mt6358_set_aud_global_bias()
199 static int mt6358_set_topck(struct mt6358_priv *priv, bool enable) in mt6358_set_topck()
206 static int mt6358_mtkaif_tx_enable(struct mt6358_priv *priv) in mt6358_mtkaif_tx_enable()
247 static int mt6358_mtkaif_tx_disable(struct mt6358_priv *priv) in mt6358_mtkaif_tx_disable()
257 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_enable()
281 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_disable()
306 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_calibration_phase()
331 static void hp_zcd_disable(struct mt6358_priv *priv) in hp_zcd_disable()
336 static void hp_main_output_ramp(struct mt6358_priv *priv, bool up) in hp_main_output_ramp()
352 static void hp_aux_feedback_loop_gain_ramp(struct mt6358_priv *priv, bool up) in hp_aux_feedback_loop_gain_ramp()
365 static void hp_pull_down(struct mt6358_priv *priv, bool enable) in hp_pull_down()
390 static void headset_volume_ramp(struct mt6358_priv *priv, int from, int to) in headset_volume_ramp()
429 struct mt6358_priv *priv = snd_soc_component_get_drvdata(component); in mt6358_put_volsw()
475 static void mt6358_restore_pga(struct mt6358_priv *priv);
477 static int mt6358_enable_wov_phase2(struct mt6358_priv *priv) in mt6358_enable_wov_phase2()
512 static int mt6358_disable_wov_phase2(struct mt6358_priv *priv) in mt6358_disable_wov_phase2()
550 struct mt6358_priv *priv = snd_soc_component_get_drvdata(c); in mt6358_get_wov()
560 struct mt6358_priv *priv = snd_soc_component_get_drvdata(c); in mt6358_put_wov()
584 struct mt6358_priv *priv = snd_soc_component_get_drvdata(c); in mt6358_dmic_mode_get()
596 struct mt6358_priv *priv = snd_soc_component_get_drvdata(c); in mt6358_dmic_mode_set()
900 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event()
923 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
962 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_aif_in_event()
994 static int mtk_hp_enable(struct mt6358_priv *priv) in mtk_hp_enable()
1106 static int mtk_hp_disable(struct mt6358_priv *priv) in mtk_hp_disable()
1203 static int mtk_hp_spk_enable(struct mt6358_priv *priv) in mtk_hp_spk_enable()
1310 static int mtk_hp_spk_disable(struct mt6358_priv *priv) in mtk_hp_spk_disable()
1394 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_hp_event()
1452 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_rcv_event()
1580 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_aif_out_event()
1604 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_supply_event()
1645 static int mt6358_amic_enable(struct mt6358_priv *priv) in mt6358_amic_enable()
1792 static void mt6358_amic_disable(struct mt6358_priv *priv) in mt6358_amic_disable()
1856 static int mt6358_dmic_enable(struct mt6358_priv *priv) in mt6358_dmic_enable()
1889 static void mt6358_dmic_disable(struct mt6358_priv *priv) in mt6358_dmic_disable()
1915 static void mt6358_restore_pga(struct mt6358_priv *priv) in mt6358_restore_pga()
1935 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_mic_type_event()
1981 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_l_event()
1997 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_adc_r_event()
2013 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_left_event()
2029 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_pga_right_event()
2357 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_codec_dai_hw_params()
2408 static void mt6358_codec_init_reg(struct mt6358_priv *priv) in mt6358_codec_init_reg()
2440 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_codec_probe()
2471 static void mt6358_parse_dt(struct mt6358_priv *priv) in mt6358_parse_dt()
2487 struct mt6358_priv *priv; in mt6358_platform_driver_probe()
2491 sizeof(struct mt6358_priv), in mt6358_platform_driver_probe()