Lines Matching refs:fdiv
549 u32 *ndiv, u32 *fdiv) in bcm2835_pll_choose_ndiv_and_fdiv() argument
557 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv()
561 u32 ndiv, u32 fdiv, u32 pdiv) in bcm2835_pll_rate_from_divisors() argument
568 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors()
578 u32 ndiv, fdiv; in bcm2835_pll_round_rate() local
582 bcm2835_pll_choose_ndiv_and_fdiv(rate, *parent_rate, &ndiv, &fdiv); in bcm2835_pll_round_rate()
584 return bcm2835_pll_rate_from_divisors(*parent_rate, ndiv, fdiv, 1); in bcm2835_pll_round_rate()
594 u32 ndiv, pdiv, fdiv; in bcm2835_pll_get_rate() local
600 fdiv = cprman_read(cprman, data->frac_reg) & A2W_PLL_FRAC_MASK; in bcm2835_pll_get_rate()
608 fdiv *= 2; in bcm2835_pll_get_rate()
611 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); in bcm2835_pll_get_rate()
689 u32 ndiv, fdiv, a2w_ctl; in bcm2835_pll_set_rate() local
700 bcm2835_pll_choose_ndiv_and_fdiv(rate, parent_rate, &ndiv, &fdiv); in bcm2835_pll_set_rate()
735 cprman_write(cprman, data->frac_reg, fdiv); in bcm2835_pll_set_rate()