Searched refs:A2W_PLL_FRAC_BITS (Results 1 – 1 of 1) sorted by relevance
253 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1)254 # define A2W_PLL_FRAC_BITS 20 macro553 div = (u64)rate << A2W_PLL_FRAC_BITS; in bcm2835_pll_choose_ndiv_and_fdiv()556 *ndiv = div >> A2W_PLL_FRAC_BITS; in bcm2835_pll_choose_ndiv_and_fdiv()557 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv()568 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors()570 return rate >> A2W_PLL_FRAC_BITS; in bcm2835_pll_rate_from_divisors()