Home
last modified time | relevance | path

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

/sound/soc/mediatek/mt8183/
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()
Dmt8183-dai-i2s.c801 int apll_rate; in mtk_dai_i2s_set_sysclk() local
816 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
818 if (freq > apll_rate) { in mtk_dai_i2s_set_sysclk()
823 if (apll_rate % freq != 0) { in mtk_dai_i2s_set_sysclk()
/sound/soc/mediatek/mt8192/
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()
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()
/sound/soc/mediatek/mt8186/
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()
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()
/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c2066 int apll_rate; in mtk_dai_etdm_cal_mclk() local
2074 apll_rate = mt8195_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2076 if (freq > apll_rate) { in mtk_dai_etdm_cal_mclk()
2077 dev_info(afe->dev, "freq %d > apll rate %d\n", freq, apll_rate); in mtk_dai_etdm_cal_mclk()
2081 if (apll_rate % freq != 0) { in mtk_dai_etdm_cal_mclk()