Searched refs:apll_rate (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/sound/soc/mediatek/mt8183/ |
H A D | mt8183-dai-tdm.c | 441 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 D | mt8183-dai-i2s.c | 788 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 D | mt8192-dai-tdm.c | 490 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 D | mt8192-dai-i2s.c | 1780 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 D | mt8186-dai-tdm.c | 340 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 D | mt8186-dai-i2s.c | 1007 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 D | clk-versaclock7.c | 730 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 D | mt8195-dai-etdm.c | 2157 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 D | mt8188-dai-etdm.c | 2237 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()
|