Lines Matching refs:mtk_base_afe
226 static int mt8188_afe_setup_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_setup_apll_tuner()
251 static int mt8188_afe_enable_tuner_clk(struct mtk_base_afe *afe, in mt8188_afe_enable_tuner_clk()
272 static int mt8188_afe_disable_tuner_clk(struct mtk_base_afe *afe, in mt8188_afe_disable_tuner_clk()
293 static int mt8188_afe_enable_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_enable_apll_tuner()
324 static int mt8188_afe_disable_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_disable_apll_tuner()
367 int mt8188_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8188_afe_get_mclk_source_rate()
386 int mt8188_get_apll_by_rate(struct mtk_base_afe *afe, int rate) in mt8188_get_apll_by_rate()
391 int mt8188_get_apll_by_name(struct mtk_base_afe *afe, const char *name) in mt8188_get_apll_by_name()
399 int mt8188_afe_init_clock(struct mtk_base_afe *afe) in mt8188_afe_init_clock()
439 int mt8188_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8188_afe_enable_clk()
457 void mt8188_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8188_afe_disable_clk()
466 int mt8188_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk, in mt8188_afe_set_clk_rate()
483 int mt8188_afe_set_clk_parent(struct mtk_base_afe *afe, struct clk *clk, in mt8188_afe_set_clk_parent()
550 static int mt8188_afe_enable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8188_afe_enable_top_cg()
561 static int mt8188_afe_disable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8188_afe_disable_top_cg()
572 int mt8188_afe_enable_reg_rw_clk(struct mtk_base_afe *afe) in mt8188_afe_enable_reg_rw_clk()
593 int mt8188_afe_disable_reg_rw_clk(struct mtk_base_afe *afe) in mt8188_afe_disable_reg_rw_clk()
607 static int mt8188_afe_enable_afe_on(struct mtk_base_afe *afe) in mt8188_afe_enable_afe_on()
613 static int mt8188_afe_disable_afe_on(struct mtk_base_afe *afe) in mt8188_afe_disable_afe_on()
619 static int mt8188_afe_enable_a1sys(struct mtk_base_afe *afe) in mt8188_afe_enable_a1sys()
631 static int mt8188_afe_disable_a1sys(struct mtk_base_afe *afe) in mt8188_afe_disable_a1sys()
640 static int mt8188_afe_enable_a2sys(struct mtk_base_afe *afe) in mt8188_afe_enable_a2sys()
652 static int mt8188_afe_disable_a2sys(struct mtk_base_afe *afe) in mt8188_afe_disable_a2sys()
661 int mt8188_apll1_enable(struct mtk_base_afe *afe) in mt8188_apll1_enable()
696 int mt8188_apll1_disable(struct mtk_base_afe *afe) in mt8188_apll1_disable()
709 int mt8188_apll2_enable(struct mtk_base_afe *afe) in mt8188_apll2_enable()
728 int mt8188_apll2_disable(struct mtk_base_afe *afe) in mt8188_apll2_disable()
735 int mt8188_afe_enable_main_clock(struct mtk_base_afe *afe) in mt8188_afe_enable_main_clock()
742 int mt8188_afe_disable_main_clock(struct mtk_base_afe *afe) in mt8188_afe_disable_main_clock()