/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-afe-clk.c | 217 static int mt8195_afe_setup_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_setup_apll_tuner() 240 static int mt8195_afe_enable_tuner_clk(struct mtk_base_afe *afe, in mt8195_afe_enable_tuner_clk() 261 static int mt8195_afe_disable_tuner_clk(struct mtk_base_afe *afe, in mt8195_afe_disable_tuner_clk() 282 static int mt8195_afe_enable_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_enable_apll_tuner() 314 static int mt8195_afe_disable_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_disable_apll_tuner() 358 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8195_afe_get_mclk_source_rate() 377 int mt8195_afe_init_clock(struct mtk_base_afe *afe) in mt8195_afe_init_clock() 413 int mt8195_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_enable_clk() 431 void mt8195_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_disable_clk() 440 int mt8195_afe_prepare_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_prepare_clk() [all …]
|
H A D | mt8195-dai-adda.c | 38 static int mt8195_adda_mtkaif_init(struct mtk_base_afe *afe) in mt8195_adda_mtkaif_init() 113 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event() local 134 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() local 151 static void mtk_adda_ul_mictype(struct mtk_base_afe *afe, int adda, bool dmic) in mtk_adda_ul_mictype() 184 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local 211 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda6_ul_event() local 247 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event() local 270 static struct mtk_dai_adda_priv *get_adda_priv_by_name(struct mtk_base_afe *afe, in get_adda_priv_by_name() 293 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adda_hires_connect() local 459 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8195_adda_dl_gain_put() local [all …]
|
H A D | mt8195-dai-etdm.c | 269 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in is_cowork_mode() local 301 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in get_etdm_cowork_master_id() local 700 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8195_etdm_clk_src_sel_put() local 743 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8195_etdm_clk_src_sel_get() local 1316 static int mt8195_afe_enable_etdm(struct mtk_base_afe *afe, int dai_id) in mt8195_afe_enable_etdm() 1343 static int mt8195_afe_disable_etdm(struct mtk_base_afe *afe, int dai_id) in mt8195_afe_disable_etdm() 1407 static int mt8195_etdm_sync_mode_configure(struct mtk_base_afe *afe, int dai_id) in mt8195_etdm_sync_mode_configure() 1549 static int mtk_dai_etdm_enable_mclk(struct mtk_base_afe *afe, int dai_id) in mtk_dai_etdm_enable_mclk() 1562 static int mtk_dai_etdm_disable_mclk(struct mtk_base_afe *afe, int dai_id) in mtk_dai_etdm_disable_mclk() 1579 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_etdm_startup() local [all …]
|
/linux/sound/soc/mediatek/mt2701/ |
H A D | mt2701-afe-clock-ctrl.c | 25 int mt2701_init_clock(struct mtk_base_afe *afe) in mt2701_init_clock() 101 int mt2701_afe_enable_i2s(struct mtk_base_afe *afe, in mt2701_afe_enable_i2s() 127 void mt2701_afe_disable_i2s(struct mtk_base_afe *afe, in mt2701_afe_disable_i2s() 135 int mt2701_afe_enable_mclk(struct mtk_base_afe *afe, int id) in mt2701_afe_enable_mclk() 143 void mt2701_afe_disable_mclk(struct mtk_base_afe *afe, int id) in mt2701_afe_disable_mclk() 151 int mt2701_enable_btmrg_clk(struct mtk_base_afe *afe) in mt2701_enable_btmrg_clk() 158 void mt2701_disable_btmrg_clk(struct mtk_base_afe *afe) in mt2701_disable_btmrg_clk() 165 static int mt2701_afe_enable_audsys(struct mtk_base_afe *afe) in mt2701_afe_enable_audsys() 220 static void mt2701_afe_disable_audsys(struct mtk_base_afe *afe) in mt2701_afe_disable_audsys() 233 int mt2701_afe_enable_clock(struct mtk_base_afe *afe) in mt2701_afe_enable_clock() [all …]
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-afe-clk.c | 63 int mt8192_set_audio_int_bus_parent(struct mtk_base_afe *afe, in mt8192_set_audio_int_bus_parent() 80 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting() 142 static int apll2_mux_setting(struct mtk_base_afe *afe, bool enable) in apll2_mux_setting() 204 int mt8192_afe_enable_clock(struct mtk_base_afe *afe) in mt8192_afe_enable_clock() 273 void mt8192_afe_disable_clock(struct mtk_base_afe *afe) in mt8192_afe_disable_clock() 285 int mt8192_apll1_enable(struct mtk_base_afe *afe) in mt8192_apll1_enable() 319 void mt8192_apll1_disable(struct mtk_base_afe *afe) in mt8192_apll1_disable() 335 int mt8192_apll2_enable(struct mtk_base_afe *afe) in mt8192_apll2_enable() 369 void mt8192_apll2_disable(struct mtk_base_afe *afe) in mt8192_apll2_disable() 385 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8192_get_apll_rate() [all …]
|
H A D | mt8192-dai-adda.c | 175 static int mtk_adda_ul_src_dmic(struct mtk_base_afe *afe, int id) in mtk_adda_ul_src_dmic() 218 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local 256 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_ul_event() local 318 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event() local 340 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event() local 448 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() local 471 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_dl_event() local 496 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in stf_positive_gain_get() local 507 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in stf_positive_gain_set() local 531 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_adda_dmic_get() local [all …]
|
H A D | mt8192-dai-i2s.c | 91 static int get_i2s_id_by_name(struct mtk_base_afe *afe, in get_i2s_id_by_name() 116 static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe, in get_i2s_priv_by_name() 139 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_get() local 158 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_set() local 587 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event() local 619 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event() local 649 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in i2s_out_tinyconn_event() local 705 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() local 923 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() local 943 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_hd_connect() local [all …]
|
H A D | mt8192-dai-tdm.c | 249 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event() local 281 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event() local 313 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event() local 382 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect() local 485 static int mtk_dai_tdm_cal_mclk(struct mtk_base_afe *afe, in mtk_dai_tdm_cal_mclk() 517 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params() local 633 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_sysclk() local 654 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_fmt() local 734 static struct mtk_afe_tdm_priv *init_tdm_priv_data(struct mtk_base_afe *afe) in init_tdm_priv_data() 751 int mt8192_dai_tdm_register(struct mtk_base_afe *afe) in mt8192_dai_tdm_register()
|
/linux/sound/soc/mediatek/mt8365/ |
H A D | mt8365-dai-adda.c | 21 static int mt8365_dai_set_adda_out(struct mtk_base_afe *afe, unsigned int rate) in mt8365_dai_set_adda_out() 50 static int mt8365_dai_set_adda_in(struct mtk_base_afe *afe, unsigned int rate) in mt8365_dai_set_adda_in() 64 int mt8365_dai_enable_adda_on(struct mtk_base_afe *afe) in mt8365_dai_enable_adda_on() 82 int mt8365_dai_disable_adda_on(struct mtk_base_afe *afe) in mt8365_dai_disable_adda_on() 104 static void mt8365_dai_set_adda_out_enable(struct mtk_base_afe *afe, in mt8365_dai_set_adda_out_enable() 115 static void mt8365_dai_set_adda_in_enable(struct mtk_base_afe *afe, bool enable) in mt8365_dai_set_adda_in_enable() 137 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_startup() local 155 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_shutdown() local 184 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_prepare() local 296 int mt8365_dai_adda_register(struct mtk_base_afe *afe) in mt8365_dai_adda_register()
|
H A D | mt8365-dai-dmic.c | 52 static void audio_dmic_adda_enable(struct mtk_base_afe *afe) in audio_dmic_adda_enable() 60 static void audio_dmic_adda_disable(struct mtk_base_afe *afe) in audio_dmic_adda_disable() 68 static void mt8365_dai_enable_dmic(struct mtk_base_afe *afe, in mt8365_dai_enable_dmic() 88 static void mt8365_dai_disable_dmic(struct mtk_base_afe *afe, in mt8365_dai_disable_dmic() 111 static int mt8365_dai_configure_dmic(struct mtk_base_afe *afe, in mt8365_dai_configure_dmic() 165 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_startup() local 182 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_shutdown() local 199 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_prepare() local 265 static int init_dmic_priv_data(struct mtk_base_afe *afe) in init_dmic_priv_data() 292 int mt8365_dai_dmic_register(struct mtk_base_afe *afe) in mt8365_dai_dmic_register()
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 55 static int adv748x_afe_status(struct adv748x_afe *afe, u32 *signal, in adv748x_afe_status() 112 static void adv748x_afe_fill_format(struct adv748x_afe *afe, in adv748x_afe_fill_format() 157 int adv748x_afe_s_input(struct adv748x_afe *afe, unsigned int input) in adv748x_afe_s_input() 167 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_pixelaspect() local 186 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_std() local 195 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_std() local 214 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_querystd() local 257 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_input_status() local 272 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_stream() local 317 static int adv748x_afe_propagate_pixelrate(struct adv748x_afe *afe) in adv748x_afe_propagate_pixelrate() [all …]
|
/linux/sound/soc/mediatek/mt8183/ |
H A D | mt8183-afe-clk.c | 92 int mt8183_init_clock(struct mtk_base_afe *afe) in mt8183_init_clock() 115 int mt8183_afe_enable_clock(struct mtk_base_afe *afe) in mt8183_afe_enable_clock() 214 int mt8183_afe_disable_clock(struct mtk_base_afe *afe) in mt8183_afe_disable_clock() 231 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting() 305 static int apll2_mux_setting(struct mtk_base_afe *afe, bool enable) in apll2_mux_setting() 379 int mt8183_apll1_enable(struct mtk_base_afe *afe) in mt8183_apll1_enable() 417 void mt8183_apll1_disable(struct mtk_base_afe *afe) in mt8183_apll1_disable() 433 int mt8183_apll2_enable(struct mtk_base_afe *afe) in mt8183_apll2_enable() 471 void mt8183_apll2_disable(struct mtk_base_afe *afe) in mt8183_apll2_disable() 487 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8183_get_apll_rate() [all …]
|
H A D | mt8183-dai-adda.c | 63 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local 117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_get() local 129 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_set() local 217 static int set_mtkaif_rx(struct mtk_base_afe *afe) in set_mtkaif_rx() 273 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_adda_hw_params() local 406 int mt8183_dai_adda_register(struct mtk_base_afe *afe) in mt8183_dai_adda_register()
|
H A D | mt8183-dai-tdm.c | 251 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event() local 277 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event() local 335 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect() local 436 static int mtk_dai_tdm_cal_mclk(struct mtk_base_afe *afe, in mtk_dai_tdm_cal_mclk() 468 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params() local 585 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_trigger() local 618 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_sysclk() local 639 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_fmt() local 717 int mt8183_dai_tdm_register(struct mtk_base_afe *afe) in mt8183_dai_tdm_register()
|
H A D | mt8183-afe-pcm.c | 148 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_memif_fs() local 159 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_irq_fs() local 612 struct mtk_base_afe *afe = dev; in mt8183_afe_irq_handler() local 662 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt8183_afe_runtime_suspend() local 696 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt8183_afe_runtime_resume() local 728 static int mt8183_dai_memif_register(struct mtk_base_afe *afe) in mt8183_dai_memif_register() 760 struct mtk_base_afe *afe; in mt8183_afe_pcm_dev_probe() local
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-dai-i2s.c | 76 static int get_i2s_id_by_name(struct mtk_base_afe *afe, in get_i2s_id_by_name() 91 static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe, in get_i2s_priv_by_name() 117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_get() local 130 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_set() local 362 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event() local 389 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event() local 419 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() local 542 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() local 557 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_hd_connect() local 580 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_apll_connect() local [all …]
|
H A D | mt8186-dai-adda.c | 44 static struct mtk_afe_adda_priv *get_adda_priv_by_name(struct mtk_base_afe *afe, in get_adda_priv_by_name() 122 static int mtk_adda_ul_src_dmic(struct mtk_base_afe *afe, int id) in mtk_adda_ul_src_dmic() 160 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local 201 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event() local 223 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event() local 303 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() local 328 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_get() local 340 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_set() local 456 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_dac_hires_connect() local 474 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adc_hires_connect() local [all …]
|
H A D | mt8186-dai-tdm.c | 104 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event() local 131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event() local 203 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_connect() local 216 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_apll_connect() local 233 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_hd_connect() local 246 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect() local 276 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_tdm_hd_get() local 290 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_tdm_hd_set() local 335 static int mtk_dai_tdm_cal_mclk(struct mtk_base_afe *afe, in mtk_dai_tdm_cal_mclk() 367 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params() local [all …]
|
H A D | mt8186-misc-control.c | 78 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_get() local 90 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_set() local 132 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_get() local 144 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_set() local 176 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_amplitude_get() local 187 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_amplitude_set() local
|
H A D | mt8186-dai-src.c | 99 static unsigned int mtk_get_src_freq_mode(struct mtk_base_afe *afe, int rate) in mtk_get_src_freq_mode() 171 static int mtk_set_src_1_param(struct mtk_base_afe *afe, int id) in mtk_set_src_1_param() 241 static int mtk_set_src_2_param(struct mtk_base_afe *afe, int id) in mtk_set_src_2_param() 319 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_hw_src_event() local 486 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_src_en_connect() local 551 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_src_hw_params() local 591 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_src_hw_free() local 664 int mt8186_dai_src_register(struct mtk_base_afe *afe) in mt8186_dai_src_register()
|
H A D | mt8186-dai-hw-gain.c | 41 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_hw_gain_event() local 129 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_gain_hw_params() local 216 int mt8186_dai_hw_gain_register(struct mtk_base_afe *afe) in mt8186_dai_hw_gain_register()
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-afe-platform-driver.c | 16 int mtk_afe_combine_sub_dai(struct mtk_base_afe *afe) in mtk_afe_combine_sub_dai() 51 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_add_sub_dai_control() local 84 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_pcm_pointer() local 120 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_pcm_new() local 131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_component_probe() local
|
/linux/drivers/iio/health/ |
H A D | afe4403.c | 141 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_show_register() local 165 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_store_register() local 217 static int afe4403_read(struct afe4403_data *afe, unsigned int reg, u32 *val) in afe4403_read() 247 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_read_raw() local 287 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_write_raw() local 314 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_trigger_handler() local 421 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_suspend() local 441 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_resume() local 464 struct afe4403_data *afe; in afe4403_probe() local
|
H A D | afe4404.c | 172 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_show_register() local 196 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_store_register() local 252 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_read_raw() local 298 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_write_raw() local 333 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_trigger_handler() local 429 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_suspend() local 449 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_resume() local 472 struct afe4404_data *afe; in afe4404_probe() local
|
/linux/sound/soc/mediatek/mt6797/ |
H A D | mt6797-afe-clk.c | 34 int mt6797_init_clock(struct mtk_base_afe *afe) in mt6797_init_clock() 57 int mt6797_afe_enable_clock(struct mtk_base_afe *afe) in mt6797_afe_enable_clock() 113 int mt6797_afe_disable_clock(struct mtk_base_afe *afe) in mt6797_afe_disable_clock()
|