Home
last modified time | relevance | path

Searched refs:apll (Results 1 – 25 of 27) 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/Documentation/devicetree/bindings/clock/ti/
H A Dapll.txt15 - compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock"
32 compatible = "ti,dra7-apll-clock";
37 compatible = "ti,omap2-apll-clock";
/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.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()
H A Dmt8183-afe-clk.h32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
/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/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.c1916 int apll; in mtk_dai_etdm_mclk_configure()
1940 apll = etdm_data->mclk_apll; in mtk_dai_etdm_mclk_configure()
1941 apll_clk_id = mt8195_afe_get_mclk_source_clk_id(apll); in mtk_dai_etdm_mclk_configure()
1945 /* select apll */ in mtk_dai_etdm_mclk_configure()
2155 int apll; in mtk_dai_etdm_cal_mclk()
2167 apll = mt8195_afe_get_default_mclk_source_by_rate(freq); in mtk_dai_etdm_cal_mclk()
2168 apll_rate = mt8195_afe_get_mclk_source_rate(afe, apll); in mtk_dai_etdm_cal_mclk()
2171 dev_info(afe->dev, "freq %d > apll rate %d\n", freq, apll_rate); in mtk_dai_etdm_cal_mclk()
2176 dev_info(afe->dev, "APLL%d cannot generate freq Hz\n", apll); in mtk_dai_etdm_cal_mclk()
2180 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.c358 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()
/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,
H A Dclk-px30.c18 apll, dpll, cpll, npll, apll_b_h, apll_b_l, enumerator
185 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
H A Dclk-rv1126.c28 apll, dpll, cpll, hpll, enumerator
197 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
H A Dclk-rk3528.c24 apll, cpll, gpll, ppll, dpll, enumerator
182 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,

12