Lines Matching full:apll
396 int apll; in mtk_dai_etdm_enable_mclk() local
403 apll = etdm_data->mclk_apll; in mtk_dai_etdm_enable_mclk()
404 apll_clk_id = mt8188_afe_get_mclk_source_clk_id(apll); in mtk_dai_etdm_enable_mclk()
421 /* enable parent clock before select apll*/ in mtk_dai_etdm_enable_mclk()
424 /* select apll */ in mtk_dai_etdm_enable_mclk()
1308 /* apll */
2238 int apll; in mtk_dai_etdm_cal_mclk() local
2250 apll = mt8188_afe_get_default_mclk_source_by_rate(freq); in mtk_dai_etdm_cal_mclk()
2252 apll = etdm_data->mclk_apll; in mtk_dai_etdm_cal_mclk()
2254 apll_rate = mt8188_afe_get_mclk_source_rate(afe, apll); 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()
2262 dev_err(afe->dev, "APLL%d cannot generate freq Hz\n", apll); in mtk_dai_etdm_cal_mclk()
2267 etdm_data->mclk_apll = apll; in mtk_dai_etdm_cal_mclk()