Home
last modified time | relevance | path

Searched refs:apll_rate (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c441 int apll_rate; in mtk_dai_tdm_cal_mclk() local
444 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
446 if (!freq || freq > apll_rate) { in mtk_dai_tdm_cal_mclk()
452 if (apll_rate % freq != 0) { in mtk_dai_tdm_cal_mclk()
H A Dmt8183-dai-i2s.c788 int apll_rate; in mtk_dai_i2s_set_sysclk() local
801 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
803 if (freq > apll_rate) { in mtk_dai_i2s_set_sysclk()
808 if (apll_rate % freq != 0) { in mtk_dai_i2s_set_sysclk()
/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c490 int apll_rate; in mtk_dai_tdm_cal_mclk() local
493 apll_rate = mt8192_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
495 if (!freq || freq > apll_rate) { in mtk_dai_tdm_cal_mclk()
501 if (apll_rate % freq != 0) { in mtk_dai_tdm_cal_mclk()
H A Dmt8192-dai-i2s.c1780 int apll_rate; in mtk_dai_i2s_set_sysclk() local
1795 apll_rate = mt8192_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
1797 if (freq > apll_rate) { in mtk_dai_i2s_set_sysclk()
1802 if (apll_rate % freq != 0) { in mtk_dai_i2s_set_sysclk()
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-tdm.c340 int apll_rate; in mtk_dai_tdm_cal_mclk() local
343 apll_rate = mt8186_get_apll_rate(afe, apll); in mtk_dai_tdm_cal_mclk()
345 if (!freq || freq > apll_rate) { in mtk_dai_tdm_cal_mclk()
351 if (apll_rate % freq != 0) { in mtk_dai_tdm_cal_mclk()
H A Dmt8186-dai-i2s.c1007 int apll_rate; in mtk_dai_i2s_set_sysclk() local
1017 apll_rate = mt8186_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
1019 if (freq > apll_rate) { in mtk_dai_i2s_set_sysclk()
1024 if (apll_rate % freq != 0) { in mtk_dai_i2s_set_sysclk()
/openbmc/linux/drivers/clk/
H A Dclk-versaclock7.c730 u64 refin_div, apll_rate; in vc7_get_apll_rate() local
749 apll_rate = (refin_div * vc7->clk_apll.apll_fb_div_int) + in vc7_get_apll_rate()
756 __func__, refin_div, apll_rate); in vc7_get_apll_rate()
758 return apll_rate; in vc7_get_apll_rate()
1102 unsigned long apll_rate; in vc7_probe() local
1130 apll_rate = vc7_get_apll_rate(vc7); in vc7_probe()
1134 0, apll_rate); in vc7_probe()
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-etdm.c2157 int apll_rate; in mtk_dai_etdm_cal_mclk() local
2169 apll_rate = mt8195_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2171 if (freq > apll_rate) { in mtk_dai_etdm_cal_mclk()
2172 dev_info(afe->dev, "freq %d > apll rate %d\n", freq, apll_rate); in mtk_dai_etdm_cal_mclk()
2176 if (apll_rate % freq != 0) { in mtk_dai_etdm_cal_mclk()
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-etdm.c2237 int apll_rate; in mtk_dai_etdm_cal_mclk() local
2254 apll_rate = mt8188_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2256 if (freq > apll_rate) { in mtk_dai_etdm_cal_mclk()
2257 dev_err(afe->dev, "freq %d > apll rate %d\n", freq, apll_rate); in mtk_dai_etdm_cal_mclk()
2261 if (apll_rate % freq != 0) { in mtk_dai_etdm_cal_mclk()