Lines Matching refs:frac
82 u32 frac; /* frac value should be decimals multiplied by 2^24 */ member
96 unsigned int frac; member
119 .frac = JH7110_PLL##_idx##_FRAC_OFFSET, \
150 u32 frac; member
291 regmap_read(regmap, info->offsets.frac, &val); in jh7110_pll_regvals_get()
292 ret->frac = (val & JH7110_PLL_FRAC_MASK) >> JH7110_PLL_FRAC_SHIFT; in jh7110_pll_regvals_get()
316 rate = parent_rate * val.frac / (1UL << 24); in jh7110_pll_recalc_rate()
376 regmap_update_bits(priv->regmap, info->offsets.frac, JH7110_PLL_FRAC_MASK, in jh7110_pll_set_rate()
377 val->frac << JH7110_PLL_FRAC_SHIFT); in jh7110_pll_set_rate()
387 regmap_update_bits(priv->regmap, info->offsets.frac, JH7110_PLL_POSTDIV1_MASK, in jh7110_pll_set_rate()
408 val.fbdiv, val.frac, val.prediv, val.postdiv1, in jh7110_pll_registers_read()