Home
last modified time | relevance | path

Searched refs:postdiv1 (Results 1 – 6 of 6) sorted by relevance

/drivers/clk/pistachio/
Dclk-pll.c243 (params->postdiv1 != old_postdiv1 || in pll_gf40lp_frac_set_rate()
247 if (params->postdiv2 > params->postdiv1) in pll_gf40lp_frac_set_rate()
256 (params->postdiv1 << PLL_FRAC_CTRL2_POSTDIV1_SHIFT) | in pll_gf40lp_frac_set_rate()
276 u64 val, prediv, fbdiv, frac, postdiv1, postdiv2, rate; in pll_gf40lp_frac_recalc_rate() local
283 postdiv1 = (val >> PLL_FRAC_CTRL2_POSTDIV1_SHIFT) & in pll_gf40lp_frac_recalc_rate()
296 rate = do_div_round_closest(rate, (prediv * postdiv1 * postdiv2) << 24); in pll_gf40lp_frac_recalc_rate()
389 (params->postdiv1 != old_postdiv1 || in pll_gf40lp_laint_set_rate()
393 if (params->postdiv2 > params->postdiv1) in pll_gf40lp_laint_set_rate()
402 (params->postdiv1 << PLL_INT_CTRL1_POSTDIV1_SHIFT) | in pll_gf40lp_laint_set_rate()
416 u32 val, prediv, fbdiv, postdiv1, postdiv2; in pll_gf40lp_laint_recalc_rate() local
[all …]
Dclk.h102 unsigned long long postdiv1; member
/drivers/clk/rockchip/
Dclk-pll.c144 rate->postdiv1 = ((pllcon >> RK3036_PLLCON0_POSTDIV1_SHIFT) in rockchip_rk3036_pll_get_params()
180 do_div(rate64, cur.postdiv1); in rockchip_rk3036_pll_recalc_rate()
198 __func__, rate->rate, rate->fbdiv, rate->postdiv1, rate->refdiv, in rockchip_rk3036_pll_set_params()
213 HIWORD_UPDATE(rate->postdiv1, RK3036_PLLCON0_POSTDIV1_MASK, in rockchip_rk3036_pll_set_params()
314 cur.fbdiv, cur.postdiv1, cur.refdiv, cur.postdiv2, in rockchip_rk3036_pll_init()
317 rate->fbdiv, rate->postdiv1, rate->refdiv, rate->postdiv2, in rockchip_rk3036_pll_init()
320 if (rate->fbdiv != cur.fbdiv || rate->postdiv1 != cur.postdiv1 || in rockchip_rk3036_pll_init()
620 rate->postdiv1 = ((pllcon >> RK3399_PLLCON1_POSTDIV1_SHIFT) in rockchip_rk3399_pll_get_params()
654 do_div(rate64, cur.postdiv1); in rockchip_rk3399_pll_recalc_rate()
672 __func__, rate->rate, rate->fbdiv, rate->postdiv1, rate->refdiv, in rockchip_rk3399_pll_set_params()
[all …]
Dclk.h126 .postdiv1 = _postdiv1, \
175 unsigned int postdiv1; member
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm_8960.c63 u8 postdiv1; member
355 cached_state->postdiv1 = in dsi_pll_28nm_save_state()
381 cached_state->postdiv1); in dsi_pll_28nm_restore_state()
Ddsi_pll_28nm.c73 u8 postdiv1; member
455 cached_state->postdiv1 = in dsi_pll_28nm_save_state()
479 cached_state->postdiv1); in dsi_pll_28nm_restore_state()