Lines Matching refs:output_rate
528 sel->output_rate == rate) in _get_table_rate()
543 cfg->output_rate = sel->output_rate; in _get_table_rate()
590 for (cfg->output_rate = rate; cfg->output_rate < 200 * cfreq; in _calc_rate()
591 cfg->output_rate <<= 1) in _calc_rate()
595 cfg->n = cfg->output_rate / cfreq; in _calc_rate()
600 cfg->output_rate > pll->params->vco_max) { in _calc_rate()
604 cfg->output_rate = cfg->n * DIV_ROUND_UP(parent_rate, cfg->m); in _calc_rate()
605 cfg->output_rate >>= p_div; in _calc_rate()
860 return cfg.output_rate; in clk_pll_round_rate()
1233 cfg->output_rate = rate * p; in _calc_dynamic_ramp_rate()
1234 cfg->n = cfg->output_rate * cfg->m / parent_rate; in _calc_dynamic_ramp_rate()
1243 if (cfg->n > divn_max(pll) || cfg->output_rate > pll->params->vco_max) in _calc_dynamic_ramp_rate()
1362 u64 output_rate = *prate; in clk_pll_ramp_round_rate() local
1375 output_rate *= cfg.n; in clk_pll_ramp_round_rate()
1376 do_div(output_rate, cfg.m * p_div); in clk_pll_ramp_round_rate()
1378 return output_rate; in clk_pll_ramp_round_rate()
1536 u64 output_rate = parent_rate; in _pllre_calc_rate() local
1541 output_rate *= n; in _pllre_calc_rate()
1542 do_div(output_rate, m); in _pllre_calc_rate()
1549 return output_rate; in _pllre_calc_rate()