Lines Matching refs:characteristics
42 const struct clk_pll_characteristics *characteristics; member
60 const struct clk_pll_characteristics *characteristics = in clk_pll_prepare() local
61 pll->characteristics; in clk_pll_prepare()
80 if (characteristics->out) in clk_pll_prepare()
81 out = characteristics->out[pll->range]; in clk_pll_prepare()
83 if (characteristics->icpll) in clk_pll_prepare()
85 characteristics->icpll[pll->range] << PLL_ICPR_SHIFT(id)); in clk_pll_prepare()
129 const struct clk_pll_characteristics *characteristics = in clk_pll_get_best_div_mul() local
130 pll->characteristics; in clk_pll_get_best_div_mul()
139 if (parent_rate < characteristics->input.min) in clk_pll_get_best_div_mul()
152 if (parent_rate > characteristics->input.max) { in clk_pll_get_best_div_mul()
153 tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); in clk_pll_get_best_div_mul()
215 for (i = 0; i < characteristics->num_output; i++) { in clk_pll_get_best_div_mul()
216 if (bestrate >= characteristics->output[i].min && in clk_pll_get_best_div_mul()
217 bestrate <= characteristics->output[i].max) in clk_pll_get_best_div_mul()
221 if (i >= characteristics->num_output) in clk_pll_get_best_div_mul()
283 if (pll->characteristics->out) in clk_pll_restore_context()
284 out = pll->characteristics->out[pll->range]; in clk_pll_restore_context()
315 const struct clk_pll_characteristics *characteristics) in at91_clk_register_pll() argument
340 pll->characteristics = characteristics; in at91_clk_register_pll()