Home
last modified time | relevance | path

Searched refs:pwidth (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/clk/sprd/
Dpll.c24 #define pwidth(pll, member) \ macro
28 ((pwidth(pll, member)) ? \
29 GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \
74 if (pwidth(pll, PLL_REFIN)) { in pll_get_refin()
118 if (pwidth(pll, PLL_POSTDIV) && in _sprd_pll_recalc_rate()
165 width = pwidth(pll, PLL_PREDIV); in _sprd_pll_set_rate()
171 width = pwidth(pll, PLL_POSTDIV); in _sprd_pll_set_rate()
199 width = pwidth(pll, PLL_KINT); in _sprd_pll_set_rate()
/linux-4.19.296/drivers/clk/sunxi/
Dclk-sun9i-core.c74 .pwidth = 1,
182 .pwidth = 2,
265 .pwidth = 2,
Dclk-factors.c62 if (config->pwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
63 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
159 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
Dclk-sunxi.c431 .pwidth = 2,
452 .pwidth = 2,
473 .pwidth = 2,
480 .pwidth = 2,
487 .pwidth = 2,
495 .pwidth = 2,
Dclk-factors.h18 u8 pwidth; member
Dclk-sun6i-ar100.c59 .pwidth = 2,
Dclk-mod0.c63 .pwidth = 2,