Lines Matching refs:mtk_base_afe
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()
457 void mt8195_afe_unprepare_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_unprepare_clk()
465 int mt8195_afe_enable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_enable_clk_atomic()
482 void mt8195_afe_disable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_disable_clk_atomic()
490 int mt8195_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk, in mt8195_afe_set_clk_rate()
507 int mt8195_afe_set_clk_parent(struct mtk_base_afe *afe, struct clk *clk, in mt8195_afe_set_clk_parent()
574 static int mt8195_afe_enable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8195_afe_enable_top_cg()
584 static int mt8195_afe_disable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8195_afe_disable_top_cg()
594 int mt8195_afe_enable_reg_rw_clk(struct mtk_base_afe *afe) in mt8195_afe_enable_reg_rw_clk()
615 int mt8195_afe_disable_reg_rw_clk(struct mtk_base_afe *afe) in mt8195_afe_disable_reg_rw_clk()
636 static int mt8195_afe_enable_afe_on(struct mtk_base_afe *afe) in mt8195_afe_enable_afe_on()
642 static int mt8195_afe_disable_afe_on(struct mtk_base_afe *afe) in mt8195_afe_disable_afe_on()
648 static int mt8195_afe_enable_timing_sys(struct mtk_base_afe *afe) in mt8195_afe_enable_timing_sys()
671 static int mt8195_afe_disable_timing_sys(struct mtk_base_afe *afe) in mt8195_afe_disable_timing_sys()
694 int mt8195_afe_enable_main_clock(struct mtk_base_afe *afe) in mt8195_afe_enable_main_clock()
706 int mt8195_afe_disable_main_clock(struct mtk_base_afe *afe) in mt8195_afe_disable_main_clock()