Lines Matching refs:mul
292 struct ccs_pll *pll, u32 mul, u32 div) in __ccs_pll_calculate_vt_tree() argument
308 pll_fr->pll_ip_clk_freq_hz * mul)); in __ccs_pll_calculate_vt_tree()
311 more_mul *= DIV_ROUND_UP(lim_fr->min_pll_multiplier, mul * more_mul); in __ccs_pll_calculate_vt_tree()
314 pll_fr->pll_multiplier = mul * more_mul; in __ccs_pll_calculate_vt_tree()
409 u32 mul, div; in ccs_pll_calculate_vt_tree() local
413 mul = pre_mul * pll_fr->pre_pll_clk_div / div; in ccs_pll_calculate_vt_tree()
417 pll_fr->pre_pll_clk_div, mul, div); in ccs_pll_calculate_vt_tree()
420 mul, div); in ccs_pll_calculate_vt_tree()
591 struct ccs_pll_branch_bk *op_pll_bk, u32 mul, in ccs_pll_calculate_op() argument
612 more_mul_max = op_lim_fr->max_pll_multiplier / mul; in ccs_pll_calculate_op()
621 op_pll_fr->pre_pll_clk_div * mul)); in ccs_pll_calculate_op()
631 more_mul_max = min(more_mul_max, op_lim_fr->max_pll_multiplier / mul); in ccs_pll_calculate_op()
638 op_pll_fr->pre_pll_clk_div * mul); in ccs_pll_calculate_op()
643 DIV_ROUND_UP(op_lim_fr->min_pll_multiplier, mul)); in ccs_pll_calculate_op()
668 op_pll_fr->pll_multiplier = mul * i; in ccs_pll_calculate_op()
713 u32 mul, div; in ccs_pll_calculate() local
807 mul = op_sys_clk_freq_hz_sdr / i; in ccs_pll_calculate()
809 dev_dbg(dev, "mul %u / div %u\n", mul, div); in ccs_pll_calculate()
814 mul / in ccs_pll_calculate()
827 op_pll_fr, op_pll_bk, mul, div, in ccs_pll_calculate()