Home
last modified time | relevance | path

Searched refs:pll_id (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/clk/
Dclk_stm32mp1.c811 int pll_id, int div_id) in stm32mp1_read_pll_freq() argument
822 debug("%s(%d, %d)\n", __func__, pll_id, div_id); in stm32mp1_read_pll_freq()
826 selr = readl(priv->base + pll[pll_id].rckxselr); in stm32mp1_read_pll_freq()
827 cfgr1 = readl(priv->base + pll[pll_id].pllxcfgr1); in stm32mp1_read_pll_freq()
828 cfgr2 = readl(priv->base + pll[pll_id].pllxcfgr2); in stm32mp1_read_pll_freq()
829 fracr = readl(priv->base + pll[pll_id].pllxfracr); in stm32mp1_read_pll_freq()
832 pll_id, selr, cfgr1, cfgr2, fracr); in stm32mp1_read_pll_freq()
841 refclk = stm32mp1_clk_get_fixed(priv, pll[pll_id].refclk[src]); in stm32mp1_read_pll_freq()
1250 static void pll_start(struct stm32mp1_clk_priv *priv, int pll_id) in pll_start() argument
1254 writel(RCC_PLLNCR_PLLON, priv->base + pll[pll_id].pllxcr); in pll_start()
[all …]
/external/u-boot/drivers/clk/rockchip/
Dclk_rk3036.c47 int pll_id = rk_pll_id(clk_id); in rkclk_set_pll() local
48 struct rk3036_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
174 int pll_id = rk_pll_id(clk_id); in rkclk_pll_get_rate() local
175 struct rk3036_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
Dclk_rk322x.c44 int pll_id = rk_pll_id(clk_id); in rkclk_set_pll() local
45 struct rk322x_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
175 int pll_id = rk_pll_id(clk_id); in rkclk_pll_get_rate() local
176 struct rk322x_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
Dclk_rk3188.c88 int pll_id = rk_pll_id(clk_id); in rkclk_set_pll() local
89 struct rk3188_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
230 int pll_id = rk_pll_id(clk_id); in rkclk_pll_get_rate() local
231 struct rk3188_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
Dclk_rk3128.c41 int pll_id = rk_pll_id(clk_id); in rkclk_set_pll() local
42 struct rk3128_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
243 int pll_id = rk_pll_id(clk_id); in rkclk_pll_get_rate() local
244 struct rk3128_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
Dclk_rk3368.c62 enum rk3368_pll_id pll_id) in rkclk_pll_get_rate() argument
66 struct rk3368_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
88 static int rkclk_set_pll(struct rk3368_cru *cru, enum rk3368_pll_id pll_id, in rkclk_set_pll() argument
91 struct rk3368_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
Dclk_rv1108.c65 int pll_id = rv1108_pll_id(clk_id); in rkclk_pll_get_rate() local
66 struct rv1108_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()
Dclk_rk3288.c146 int pll_id = rk_pll_id(clk_id); in rkclk_set_pll() local
147 struct rk3288_pll *pll = &cru->pll[pll_id]; in rkclk_set_pll()
497 int pll_id = rk_pll_id(clk_id); in rkclk_pll_get_rate() local
498 struct rk3288_pll *pll = &cru->pll[pll_id]; in rkclk_pll_get_rate()