| /linux/sound/soc/mediatek/mt8365/ |
| H A D | mt8365-afe-clk.h | 28 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 D | apll.txt | 15 - 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 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()
|
| H A 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()
|
| H A D | mt8183-afe-clk.h | 32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
|
| /linux/sound/soc/mediatek/mt8192/ |
| H A 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()
|
| H A D | mt8192-afe-clk.c | 385 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 D | mt8192-afe-clk.h | 233 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll);
|
| H A D | mt8192-dai-i2s.c | 45 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 D | mt8186-dai-tdm.c | 22 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 D | mt8186-dai-i2s.c | 43 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 D | Makefile | 6 fixed-factor.o mux.o apll.o \
|
| /linux/sound/soc/mediatek/mt8195/ |
| H A D | mt8195-afe-clk.h | 101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
|
| H A D | mt8195-dai-etdm.c | 1916 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 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()
|
| /linux/drivers/clk/rockchip/ |
| H A D | clk-rk3036.c | 21 apll, dpll, gpll, enumerator 138 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
|
| H A D | clk-rk3128.c | 18 apll, dpll, cpll, gpll, enumerator 159 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
|
| H A D | clk-rk3228.c | 19 apll, dpll, cpll, gpll, enumerator 169 [apll] = PLL(pll_rk3036, PLL_APLL, "apll", mux_pll_p, 0, RK2928_PLL_CON(0),
|
| H A D | clk-rv1108.c | 19 apll, dpll, gpll, enumerator 154 [apll] = PLL(pll_rk3399, PLL_APLL, "apll", mux_pll_p, 0, RV1108_PLL_CON(0),
|
| H A D | clk-rk3328.c | 21 apll, dpll, cpll, gpll, npll, enumerator 215 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
|
| H A D | clk-rk3288.c | 24 apll, dpll, cpll, gpll, npll, enumerator 226 [apll] = PLL(pll_rk3066, PLL_APLL, "apll", mux_pll_p, 0, RK3288_PLL_CON(0),
|
| H A D | clk-rk3308.c | 18 apll, dpll, vpll0, vpll1, enumerator 180 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
|
| H A D | clk-px30.c | 18 apll, dpll, cpll, npll, apll_b_h, apll_b_l, enumerator 185 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
|
| H A D | clk-rv1126.c | 28 apll, dpll, cpll, hpll, enumerator 197 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
|
| H A D | clk-rk3528.c | 24 apll, cpll, gpll, ppll, dpll, enumerator 182 [apll] = PLL(pll_rk3328, PLL_APLL, "apll", mux_pll_p,
|