Home
last modified time | relevance | path

Searched refs:fbdiv (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/clk/rockchip/
H A Drk3399_pmucru.c142 .fbdiv = 92,
150 .fbdiv = 91,
158 .fbdiv = 90,
166 .fbdiv = 89,
174 .fbdiv = 88,
182 .fbdiv = 87,
190 .fbdiv = 86,
198 .fbdiv = 85,
206 .fbdiv = 84,
214 .fbdiv = 83,
[all …]
H A Drk_clk_pll.c160 uint32_t refdiv, fbdiv, postdiv; in rk3066_clk_pll_recalc() local
191 fbdiv = (raw1 & RK3066_CLK_PLL_FBDIV_MASK) >> in rk3066_clk_pll_recalc()
193 fbdiv += 1; in rk3066_clk_pll_recalc()
195 rate = *freq * fbdiv; in rk3066_clk_pll_recalc()
253 reg = (rates->fbdiv - 1) << RK3066_CLK_PLL_FBDIV_SHIFT; in rk3066_clk_pll_set_freq()
381 uint32_t dsmpd, refdiv, fbdiv; in rk3328_clk_pll_recalc() local
393 fbdiv = (raw1 & RK3328_CLK_PLL_FBDIV_MASK) >> RK3328_CLK_PLL_FBDIV_SHIFT; in rk3328_clk_pll_recalc()
404 rate = *freq * fbdiv / refdiv; in rk3328_clk_pll_recalc()
458 (rates->fbdiv << RK3328_CLK_PLL_FBDIV_SHIFT); in rk3328_clk_pll_set_freq()
588 uint32_t dsmpd, refdiv, fbdiv; in rk3399_clk_pll_recalc() local
[all …]
H A Drk_clk_pll.h36 uint32_t fbdiv; member
H A Drk3288_cru.c366 .fbdiv = _fb, \
H A Drk3328_cru.c574 .fbdiv = _fb, \
H A Drk3399_cru.c551 .fbdiv = _fb, \
H A Drk3568_cru.c59 .fbdiv = _fb, \
/freebsd/sys/arm/mv/clk/
H A Da37x0_tbg_pll.c48 struct a37x0_tbg_pll_reg_def fbdiv; member
56 uint32_t vcodiv, fbdiv, refdiv; in a37x0_tbg_pll_recalc_freq() local
71 RD4(clk, sc->fbdiv.offset, &val); in a37x0_tbg_pll_recalc_freq()
72 fbdiv = (val >> sc->fbdiv.shift) & sc->fbdiv.mask; in a37x0_tbg_pll_recalc_freq()
77 *freq = *freq * (fbdiv / refdiv) * 4; in a37x0_tbg_pll_recalc_freq()
120 sc->fbdiv = clkdef->fbdiv; in a37x0_tbg_pll_clk_register()
H A Da37x0_tbg.c171 def.fbdiv.offset = TBG_CTRL0; in a37x0_tbg_attach()
172 def.fbdiv.shift = tbg[i].fbdiv_shift; in a37x0_tbg_attach()
173 def.vcodiv.mask = def.refdiv.mask = def.fbdiv.mask = TBG_MASK; in a37x0_tbg_attach()
H A Da37x0_tbg_pll.h45 struct a37x0_tbg_pll_reg_def fbdiv; member