Home
last modified time | relevance | path

Searched refs:postdiv2 (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/clk/pistachio/
Dclk-pll.c244 params->postdiv2 != old_postdiv2)) in pll_gf40lp_frac_set_rate()
247 if (params->postdiv2 > params->postdiv1) in pll_gf40lp_frac_set_rate()
257 (params->postdiv2 << PLL_FRAC_CTRL2_POSTDIV2_SHIFT); in pll_gf40lp_frac_set_rate()
276 u64 val, prediv, fbdiv, frac, postdiv1, postdiv2, rate; in pll_gf40lp_frac_recalc_rate() local
285 postdiv2 = (val >> PLL_FRAC_CTRL2_POSTDIV2_SHIFT) & in pll_gf40lp_frac_recalc_rate()
296 rate = do_div_round_closest(rate, (prediv * postdiv1 * postdiv2) << 24); in pll_gf40lp_frac_recalc_rate()
390 params->postdiv2 != old_postdiv2)) in pll_gf40lp_laint_set_rate()
393 if (params->postdiv2 > params->postdiv1) in pll_gf40lp_laint_set_rate()
403 (params->postdiv2 << PLL_INT_CTRL1_POSTDIV2_SHIFT); in pll_gf40lp_laint_set_rate()
416 u32 val, prediv, fbdiv, postdiv1, postdiv2; in pll_gf40lp_laint_recalc_rate() local
[all …]
Dclk.h103 unsigned long long postdiv2; member
/linux-4.19.296/drivers/clk/rockchip/
Dclk-pll.c151 rate->postdiv2 = ((pllcon >> RK3036_PLLCON1_POSTDIV2_SHIFT) in rockchip_rk3036_pll_get_params()
182 do_div(rate64, cur.postdiv2); in rockchip_rk3036_pll_recalc_rate()
200 rate->postdiv2, rate->dsmpd, rate->frac); in rockchip_rk3036_pll_set_params()
220 HIWORD_UPDATE(rate->postdiv2, RK3036_PLLCON1_POSTDIV2_MASK, in rockchip_rk3036_pll_set_params()
316 cur.fbdiv, cur.postdiv1, cur.refdiv, cur.postdiv2, in rockchip_rk3036_pll_init()
319 rate->fbdiv, rate->postdiv1, rate->refdiv, rate->postdiv2, in rockchip_rk3036_pll_init()
323 rate->refdiv != cur.refdiv || rate->postdiv2 != cur.postdiv2 || in rockchip_rk3036_pll_init()
626 rate->postdiv2 = ((pllcon >> RK3399_PLLCON1_POSTDIV2_SHIFT) in rockchip_rk3399_pll_get_params()
659 do_div(rate64, cur.postdiv2); in rockchip_rk3399_pll_recalc_rate()
677 rate->postdiv2, rate->dsmpd, rate->frac); in rockchip_rk3399_pll_set_params()
[all …]
Dclk.h201 .postdiv2 = _postdiv2, \
250 unsigned int postdiv2; member