/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-tdm.c | 440 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()
|
D | mt8183-afe-clk.h | 32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
|
D | mt8183-afe-clk.c | 487 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()
|
D | mt8183-dai-i2s.c | 800 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/ |
D | mt8192-dai-tdm.c | 489 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()
|
D | mt8192-afe-clk.c | 389 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()
|
D | mt8192-afe-clk.h | 233 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll);
|
D | mt8192-dai-i2s.c | 1779 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/ |
D | mt8186-dai-tdm.c | 339 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()
|
D | mt8186-afe-clk.c | 495 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()
|
D | mt8186-afe-clk.h | 97 int mt8186_get_apll_rate(struct mtk_base_afe *afe, int apll);
|
D | mt8186-dai-i2s.c | 1006 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/ |
D | mt8195-afe-clk.h | 101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
|
D | mt8195-dai-etdm.c | 1843 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()
|
D | mt8195-afe-clk.c | 358 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()
|