Home
last modified time | relevance | path

Searched refs:apll (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c340 /* which apll */ in mtk_afe_tdm_apll_connect()
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()
H A Dmt8183-afe-clk.h32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8183-afe-clk.c29 /* apll related mux */
230 /* apll */
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()
556 /* select apll */ in mt8183_mck_enable()
H A Dmt8183-dai-i2s.c43 int rate; /* for determine which apll to use */
413 /* apll */
491 /* which apll */ in mtk_afe_i2s_apll_connect()
545 /* which apll */ in mtk_afe_mclk_apll_connect()
801 int apll; in mtk_dai_i2s_set_sysclk() local
816 apll = mt8183_get_apll_by_rate(afe, freq); in mtk_dai_i2s_set_sysclk()
817 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
820 dev_warn(afe->dev, "%s(), freq > apll rate", __func__); in mtk_dai_i2s_set_sysclk()
831 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c388 /* which apll */ in mtk_afe_tdm_apll_connect()
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()
H A Dmt8192-afe-clk.c385 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8192_get_apll_rate() argument
387 return (apll == MT8192_APLL1) ? 180633600 : 196608000; in mt8192_get_apll_rate()
565 int apll = mt8192_get_apll_by_rate(afe, rate); in mt8192_mck_enable() local
566 int apll_clk_id = apll == MT8192_APLL1 ? in mt8192_mck_enable()
572 /* select apll */ in mt8192_mck_enable()
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c340 /* which apll */ in mtk_afe_tdm_apll_connect()
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()
H A Dmt8183-afe-clk.h32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8183-afe-clk.c29 /* apll related mux */
230 /* apll */
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()
556 /* select apll */ in mt8183_mck_enable()
H A Dmt8183-dai-i2s.c43 int rate; /* for determine which apll to use */
404 /* apll */
482 /* which apll */ in mtk_afe_i2s_apll_connect()
536 /* which apll */ in mtk_afe_mclk_apll_connect()
787 int apll; in mtk_dai_i2s_set_sysclk() local
800 apll = mt8183_get_apll_by_rate(afe, freq); in mtk_dai_i2s_set_sysclk()
801 apll_rate = mt8183_get_apll_rate(afe, apll); in mtk_dai_i2s_set_sysclk()
804 dev_warn(afe->dev, "%s(), freq > apll rate", __func__); in mtk_dai_i2s_set_sysclk()
815 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-tdm.c22 unsigned int rate; /* for determine which apll to use */
222 /* which apll */ in mtk_afe_tdm_mclk_apll_connect()
253 /* which apll */ in mtk_afe_tdm_apll_connect()
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()
H A Dmt8186-afe-clk.c493 int mt8186_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8186_get_apll_rate() argument
495 return (apll == MT8186_APLL1) ? 180633600 : 196608000; in mt8186_get_apll_rate()
543 int apll = mt8186_get_apll_by_rate(afe, rate); in mt8186_mck_enable() local
544 int apll_clk_id = apll == MT8186_APLL1 ? in mt8186_mck_enable()
550 /* select apll */ in mt8186_mck_enable()
H A Dmt8186-afe-clk.h57 /* apll related mux */
97 int mt8186_get_apll_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8186-dai-i2s.c43 int rate; /* for determine which apll to use */
508 /* apll */
586 /* which apll */ in mtk_afe_i2s_apll_connect()
627 /* which apll */ in mtk_afe_mclk_apll_connect()
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()
1020 dev_err(afe->dev, "%s(), freq > apll rate", __func__); in mtk_dai_i2s_set_sysclk()
1030 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/kernel/linux/linux-5.10/drivers/clk/samsung/
H A Dclk-exynos4.c146 apll, mpll, epll, vpll, enumerator
1147 [apll] = PLL(pll_4508, CLK_FOUT_APLL, "fout_apll", "fin_pll",
1158 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll",
1192 #define E4210_CPU_DIV0(apll, pclk_dbg, atb, periph, corem1, corem0) \
1193 (((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
1258 exynos4210_plls[apll].rate_table = in exynos4_clk_init()
1272 exynos4x12_plls[apll].rate_table = in exynos4_clk_init()
H A Dclk-exynos5250.c105 apll, mpll, cpll, epll, vpll, gpll, bpll, enumerator
733 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
749 #define E5250_CPU_DIV0(apll, pclk_dbg, atb, periph, acp, cpud) \
750 ((((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
806 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init()
H A Dclk-exynos5410.c61 apll, cpll, epll, mpll, enumerator
240 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-exynos4.c150 apll, mpll, epll, vpll, enumerator
1151 [apll] = PLL(pll_4508, CLK_FOUT_APLL, "fout_apll", "fin_pll",
1162 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll",
1196 #define E4210_CPU_DIV0(apll, pclk_dbg, atb, periph, corem1, corem0) \
1197 (((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
1295 exynos4210_plls[apll].rate_table = in exynos4_clk_init()
1309 exynos4x12_plls[apll].rate_table = in exynos4_clk_init()
H A Dclk-exynos5250.c108 apll, mpll, cpll, epll, vpll, gpll, bpll, enumerator
736 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
752 #define E5250_CPU_DIV0(apll, pclk_dbg, atb, periph, acp, cpud) \
753 ((((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
814 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init()
H A Dclk-exynos5410.c64 apll, cpll, epll, mpll, enumerator
243 [apll] = PLL(pll_35xx, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
/kernel/linux/linux-5.10/drivers/clk/ti/
H A DMakefile6 fixed-factor.o mux.o apll.o \
/kernel/linux/linux-6.6/drivers/clk/ti/
H A DMakefile6 fixed-factor.o mux.o apll.o \
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-clk.h109 int mt8188_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8188-dai-etdm.c396 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()
[all...]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-clk.h101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);

Completed in 42 milliseconds

123