Lines Matching full:quotient
463 u64 quotient; in alpha_pll_round_rate() local
465 quotient = rate; in alpha_pll_round_rate()
466 remainder = do_div(quotient, prate); in alpha_pll_round_rate()
467 *l = quotient; in alpha_pll_round_rate()
475 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate()
477 remainder = do_div(quotient, prate); in alpha_pll_round_rate()
480 quotient++; in alpha_pll_round_rate()
482 *a = quotient; in alpha_pll_round_rate()
670 u64 quotient; in alpha_huayra_pll_round_rate() local
672 quotient = rate; in alpha_huayra_pll_round_rate()
673 remainder = do_div(quotient, prate); in alpha_huayra_pll_round_rate()
674 *l = quotient; in alpha_huayra_pll_round_rate()
681 quotient = remainder << PLL_HUAYRA_ALPHA_WIDTH; in alpha_huayra_pll_round_rate()
682 remainder = do_div(quotient, prate); in alpha_huayra_pll_round_rate()
685 quotient++; in alpha_huayra_pll_round_rate()
689 * of [-0.5, 0.5) so if quotient >= 0.5 then increment the l value in alpha_huayra_pll_round_rate()
692 if (quotient >= BIT(PLL_HUAYRA_ALPHA_WIDTH - 1)) in alpha_huayra_pll_round_rate()
695 *a = quotient; in alpha_huayra_pll_round_rate()