Searched refs:fbdiv (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/clk/rockchip/ |
H A D | rk3399_pmucru.c | 142 .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 D | rk_clk_pll.c | 160 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 D | rk_clk_pll.h | 36 uint32_t fbdiv; member
|
H A D | rk3288_cru.c | 366 .fbdiv = _fb, \
|
H A D | rk3328_cru.c | 574 .fbdiv = _fb, \
|
H A D | rk3399_cru.c | 551 .fbdiv = _fb, \
|
H A D | rk3568_cru.c | 59 .fbdiv = _fb, \
|
/freebsd/sys/arm/mv/clk/ |
H A D | a37x0_tbg_pll.c | 48 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 D | a37x0_tbg.c | 171 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 D | a37x0_tbg_pll.h | 45 struct a37x0_tbg_pll_reg_def fbdiv; member
|