Home
last modified time | relevance | path

Searched refs:apll (Results 1 – 25 of 30) sorted by relevance

12

/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-afe-clk.h28 int mt8365_afe_enable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll);
29 int mt8365_afe_disable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll);
30 int mt8365_afe_enable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll);
31 int mt8365_afe_disable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll);
/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c440 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.c487 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()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c489 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()
H A Dmt8192-afe-clk.h233 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8192-dai-i2s.c45 int rate; /* for determine which apll to use */
882 /* apll */
982 /* which apll */ in mtk_afe_i2s_apll_connect()
1037 /* which apll */ in mtk_afe_mclk_apll_connect()
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()
1798 dev_warn(afe->dev, "%s(), freq > apll rate", __func__); in mtk_dai_i2s_set_sysclk()
1808 i2s_priv->mclk_apll = apll; in mtk_dai_i2s_set_sysclk()
/linux/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-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()
/linux/drivers/clk/samsung/
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) \ argument
753 ((((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
815 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init()
H A Dclk-exynos4.c149 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) \ argument
1197 (((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
1337 exynos4210_plls[apll].rate_table = in exynos4_clk_init()
1351 exynos4x12_plls[apll].rate_table = in exynos4_clk_init()
H A Dclk-exynos5420.c153 apll, cpll, dpll, epll, rpll, ipll, spll, vpll, mpll, enumerator
1465 [apll] = PLL(pll_2550, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
1489 #define E5420_EGL_DIV0(apll, pclk_dbg, atb, cpud) \ argument
1490 ((((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
1601 exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
H A Dclk-exynos3250.c753 #define E3250_CPU_DIV0(apll, pclk_dbg, atb, corem) \ argument
754 (((apll) << 24) | ((pclk_dbg) << 20) | ((atb) << 16) | \
/linux/drivers/clk/ti/
H A DMakefile6 fixed-factor.o mux.o apll.o \
/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-clk.h101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
H A Dmt8195-dai-etdm.c1912 int apll; in mtk_dai_etdm_mclk_configure()
1936 apll = etdm_data->mclk_apll; in mtk_dai_etdm_mclk_configure()
1937 apll_clk_id = mt8195_afe_get_mclk_source_clk_id(apll); in mtk_dai_etdm_mclk_configure()
1941 /* select apll */ in mtk_dai_etdm_mclk_configure()
2151 int apll;
2163 apll = mt8195_afe_get_default_mclk_source_by_rate(freq); in mtk_dai_etdm_cal_mclk()
2164 apll_rate = mt8195_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2167 dev_info(afe->dev, "freq %d > apll rate %d\n", freq, apll_rate); in mtk_dai_etdm_cal_mclk()
2172 dev_info(afe->dev, "APLL%d cannot generate freq Hz\n", apll); in mtk_dai_etdm_cal_mclk()
2176 etdm_data->mclk_apll = apll; in mtk_dai_etdm_cal_mclk()
1917 int apll; mtk_dai_etdm_mclk_configure() local
2156 int apll; mtk_dai_etdm_cal_mclk() local
[all...]
H A Dmt8195-afe-clk.c99 spinlock_t ctrl_lock; /* lock for apll tuner ctrl*/
352 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8195_afe_get_mclk_source_clk_id()
355 int clk_id = mt8195_afe_get_mclk_source_clk_id(apll); in mt8195_afe_get_mclk_source_clk_id()
358 mt8195_afe_get_mclk_source_rate(struct mtk_base_afe * afe,int apll) mt8195_afe_get_mclk_source_rate() argument
/linux/drivers/clk/rockchip/
H A Dclk-rk3036.c21 apll, dpll, gpll, enumerator
138 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
H A Dclk-rk3128.c18 apll, dpll, cpll, gpll, enumerator
159 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
H A Dclk-rk3228.c19 apll, dpll, cpll, gpll, enumerator
169 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
H A Dclk-rv1108.c19 apll, dpll, gpll, enumerator
154 [apll] = PLL(pll_rk3399, PLL_APLL, "apll", mux_pll_p, 0, RV1108_PLL_CON(0),
H A Dclk-rk3328.c21 apll, dpll, cpll, gpll, npll, enumerator
215 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
H A Dclk-rk3288.c24 apll, dpll, cpll, gpll, npll, enumerator
226 [apll] = PLL(pll_rk3066, PLL_APLL, "apll", mux_pll_p, 0, RK3288_PLL_CON(0),
H A Dclk-rk3308.c18 apll, dpll, vpll0, vpll1, enumerator
180 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,

12