Home
last modified time | relevance | path

Searched refs:apll (Results 1 – 15 of 15) sorted by relevance

/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c440 int apll; in mtk_dai_tdm_cal_mclk() local
443 apll = mt8183_get_apll_by_rate(afe, freq); in mtk_dai_tdm_cal_mclk()
444 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
459 tdm_priv->mclk_apll = apll; in mtk_dai_tdm_cal_mclk()
Dmt8183-afe-clk.h32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
Dmt8183-afe-clk.c487 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8183_get_apll_rate() argument
489 return (apll == MT8183_APLL1) ? 180633600 : 196608000; in mt8183_get_apll_rate()
545 int apll = mt8183_get_apll_by_rate(afe, rate); in mt8183_mck_enable() local
546 int apll_clk_id = apll == MT8183_APLL1 ? in mt8183_mck_enable()
Dmt8183-dai-i2s.c800 int apll; in mtk_dai_i2s_set_sysclk() local
815 apll = mt8183_get_apll_by_rate(afe, freq); in mtk_dai_i2s_set_sysclk()
816 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
830 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/sound/soc/mediatek/mt8192/
Dmt8192-dai-tdm.c489 int apll; in mtk_dai_tdm_cal_mclk() local
492 apll = mt8192_get_apll_by_rate(afe, freq); in mtk_dai_tdm_cal_mclk()
493 apll_rate = mt8192_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
508 tdm_priv->mclk_apll = apll; in mtk_dai_tdm_cal_mclk()
Dmt8192-afe-clk.c389 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8192_get_apll_rate() argument
391 return (apll == MT8192_APLL1) ? 180633600 : 196608000; in mt8192_get_apll_rate()
569 int apll = mt8192_get_apll_by_rate(afe, rate); in mt8192_mck_enable() local
570 int apll_clk_id = apll == MT8192_APLL1 ? in mt8192_mck_enable()
Dmt8192-afe-clk.h233 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll);
Dmt8192-dai-i2s.c1779 int apll; in mtk_dai_i2s_set_sysclk() local
1794 apll = mt8192_get_apll_by_rate(afe, freq); in mtk_dai_i2s_set_sysclk()
1795 apll_rate = mt8192_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
1808 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/sound/soc/mediatek/mt8186/
Dmt8186-dai-tdm.c339 int apll; in mtk_dai_tdm_cal_mclk() local
342 apll = mt8186_get_apll_by_rate(afe, freq); in mtk_dai_tdm_cal_mclk()
343 apll_rate = mt8186_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
358 tdm_priv->mclk_apll = apll; in mtk_dai_tdm_cal_mclk()
Dmt8186-afe-clk.c495 int mt8186_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8186_get_apll_rate() argument
497 return (apll == MT8186_APLL1) ? 180633600 : 196608000; in mt8186_get_apll_rate()
545 int apll = mt8186_get_apll_by_rate(afe, rate); in mt8186_mck_enable() local
546 int apll_clk_id = apll == MT8186_APLL1 ? in mt8186_mck_enable()
Dmt8186-afe-clk.h97 int mt8186_get_apll_rate(struct mtk_base_afe *afe, int apll);
Dmt8186-dai-i2s.c1006 int apll; in mtk_dai_i2s_set_sysclk() local
1016 apll = mt8186_get_apll_by_rate(afe, freq); in mtk_dai_i2s_set_sysclk()
1017 apll_rate = mt8186_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
1030 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/sound/soc/mediatek/mt8195/
Dmt8195-afe-clk.h101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
Dmt8195-dai-etdm.c1843 int apll; in mtk_dai_etdm_mclk_configure() local
1863 apll = etdm_data->mclk_apll; in mtk_dai_etdm_mclk_configure()
1864 apll_clk_id = mt8195_afe_get_mclk_source_clk_id(apll); in mtk_dai_etdm_mclk_configure()
2065 int apll; in mtk_dai_etdm_cal_mclk() local
2073 apll = mt8195_afe_get_default_mclk_source_by_rate(freq); in mtk_dai_etdm_cal_mclk()
2074 apll_rate = mt8195_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2082 dev_info(afe->dev, "APLL%d cannot generate freq Hz\n", apll); in mtk_dai_etdm_cal_mclk()
2086 etdm_data->mclk_apll = apll; in mtk_dai_etdm_cal_mclk()
Dmt8195-afe-clk.c358 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8195_afe_get_mclk_source_rate() argument
361 int clk_id = mt8195_afe_get_mclk_source_clk_id(apll); in mt8195_afe_get_mclk_source_rate()