Lines Matching refs:fdiv
529 u32 *ndiv, u32 *fdiv) in bcm2835_pll_choose_ndiv_and_fdiv() argument
537 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv()
541 u32 ndiv, u32 fdiv, u32 pdiv) in bcm2835_pll_rate_from_divisors() argument
548 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors()
558 u32 ndiv, fdiv; in bcm2835_pll_round_rate() local
562 bcm2835_pll_choose_ndiv_and_fdiv(rate, *parent_rate, &ndiv, &fdiv); in bcm2835_pll_round_rate()
564 return bcm2835_pll_rate_from_divisors(*parent_rate, ndiv, fdiv, 1); in bcm2835_pll_round_rate()
574 u32 ndiv, pdiv, fdiv; in bcm2835_pll_get_rate() local
580 fdiv = cprman_read(cprman, data->frac_reg) & A2W_PLL_FRAC_MASK; in bcm2835_pll_get_rate()
588 fdiv *= 2; in bcm2835_pll_get_rate()
591 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); in bcm2835_pll_get_rate()
668 u32 ndiv, fdiv, a2w_ctl; in bcm2835_pll_set_rate() local
679 bcm2835_pll_choose_ndiv_and_fdiv(rate, parent_rate, &ndiv, &fdiv); in bcm2835_pll_set_rate()
714 cprman_write(cprman, data->frac_reg, fdiv); in bcm2835_pll_set_rate()