Searched refs:A2W_PLL_FRAC_BITS (Results 1 – 2 of 2) sorted by relevance
32 #define A2W_PLL_FRAC_BITS 20 macro155 div = (u64)final_rate << A2W_PLL_FRAC_BITS; in raspberrypi_pll_determine_rate()158 ndiv = div >> A2W_PLL_FRAC_BITS; in raspberrypi_pll_determine_rate()159 fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in raspberrypi_pll_determine_rate()162 ((ndiv << A2W_PLL_FRAC_BITS) + fdiv)); in raspberrypi_pll_determine_rate()164 req->rate = final_rate >> A2W_PLL_FRAC_BITS; in raspberrypi_pll_determine_rate()
252 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1)253 # define A2W_PLL_FRAC_BITS 20 macro534 div = (u64)rate << A2W_PLL_FRAC_BITS; in bcm2835_pll_choose_ndiv_and_fdiv()537 *ndiv = div >> A2W_PLL_FRAC_BITS; in bcm2835_pll_choose_ndiv_and_fdiv()538 *fdiv = div & ((1 << A2W_PLL_FRAC_BITS) - 1); in bcm2835_pll_choose_ndiv_and_fdiv()549 rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); in bcm2835_pll_rate_from_divisors()551 return rate >> A2W_PLL_FRAC_BITS; in bcm2835_pll_rate_from_divisors()