Lines Matching refs:prate

409 alpha_pll_calc_rate(u64 prate, u32 l, u32 a, u32 alpha_width)
411 return (prate * l) + ((prate * a) >> ALPHA_SHIFT(alpha_width));
415 alpha_pll_round_rate(unsigned long rate, unsigned long prate, u32 *l, u64 *a,
422 remainder = do_div(quotient, prate);
433 remainder = do_div(quotient, prate);
439 return alpha_pll_calc_rate(prate, *l, *a, alpha_width);
459 u64 a = 0, prate = parent_rate;
480 return alpha_pll_calc_rate(prate, l, a, alpha_width);
538 unsigned long prate,
546 rate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width);
577 unsigned long prate)
579 return __clk_alpha_pll_set_rate(hw, rate, prate,
584 unsigned long prate)
586 return __clk_alpha_pll_set_rate(hw, rate, prate,
591 unsigned long *prate)
598 rate = alpha_pll_round_rate(rate, *prate, &l, &a, alpha_width);
609 alpha_huayra_pll_calc_rate(u64 prate, u32 l, u32 a)
618 return (prate * l) + (prate * a >> PLL_HUAYRA_ALPHA_WIDTH);
622 alpha_huayra_pll_round_rate(unsigned long rate, unsigned long prate,
629 remainder = do_div(quotient, prate);
638 remainder = do_div(quotient, prate);
652 return alpha_huayra_pll_calc_rate(prate, *l, *a);
710 unsigned long prate)
715 rate = alpha_huayra_pll_round_rate(rate, prate, &l, &a);
753 unsigned long *prate)
757 return alpha_huayra_pll_round_rate(rate, *prate, &l, &a);
942 unsigned long *prate)
952 return divider_round_rate(hw, rate, prate, table,
958 unsigned long *prate)
970 *prate = clk_hw_round_rate(clk_hw_get_parent(hw), div * rate);
972 return DIV_ROUND_UP_ULL((u64)*prate, div);
1149 unsigned long prate)
1156 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width);
1299 unsigned long *prate)
1303 return divider_round_rate(hw, rate, prate, pll->post_div_table,
1336 unsigned long rate, unsigned long *prate)
1340 return divider_round_rate(hw, rate, prate, pll->post_div_table,
1483 unsigned long prate)
1491 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width);