Lines Matching refs:characteristics

61 	const struct clk_pll_characteristics *characteristics;  member
78 const struct clk_pll_characteristics *characteristics = in clk_pll_prepare() local
79 pll->characteristics; in clk_pll_prepare()
98 if (characteristics->out) in clk_pll_prepare()
99 out = characteristics->out[pll->range]; in clk_pll_prepare()
101 if (characteristics->icpll) in clk_pll_prepare()
103 characteristics->icpll[pll->range] << PLL_ICPR_SHIFT(id)); in clk_pll_prepare()
147 const struct clk_pll_characteristics *characteristics = in clk_pll_get_best_div_mul() local
148 pll->characteristics; in clk_pll_get_best_div_mul()
157 if (parent_rate < characteristics->input.min) in clk_pll_get_best_div_mul()
170 if (parent_rate > characteristics->input.max) { in clk_pll_get_best_div_mul()
171 tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); in clk_pll_get_best_div_mul()
233 for (i = 0; i < characteristics->num_output; i++) { in clk_pll_get_best_div_mul()
234 if (bestrate >= characteristics->output[i].min && in clk_pll_get_best_div_mul()
235 bestrate <= characteristics->output[i].max) in clk_pll_get_best_div_mul()
239 if (i >= characteristics->num_output) in clk_pll_get_best_div_mul()
295 const struct clk_pll_characteristics *characteristics) in at91_clk_register_pll() argument
320 pll->characteristics = characteristics; in at91_clk_register_pll()
374 struct clk_pll_characteristics *characteristics; in of_at91_clk_pll_get_characteristics() local
390 characteristics = kzalloc(sizeof(*characteristics), GFP_KERNEL); in of_at91_clk_pll_get_characteristics()
391 if (!characteristics) in of_at91_clk_pll_get_characteristics()
442 characteristics->input = input; in of_at91_clk_pll_get_characteristics()
443 characteristics->num_output = num_output; in of_at91_clk_pll_get_characteristics()
444 characteristics->output = output; in of_at91_clk_pll_get_characteristics()
445 characteristics->out = out; in of_at91_clk_pll_get_characteristics()
446 characteristics->icpll = icpll; in of_at91_clk_pll_get_characteristics()
447 return characteristics; in of_at91_clk_pll_get_characteristics()
454 kfree(characteristics); in of_at91_clk_pll_get_characteristics()
467 struct clk_pll_characteristics *characteristics; in of_at91_clk_pll_setup() local
480 characteristics = of_at91_clk_pll_get_characteristics(np); in of_at91_clk_pll_setup()
481 if (!characteristics) in of_at91_clk_pll_setup()
485 characteristics); in of_at91_clk_pll_setup()
493 kfree(characteristics); in of_at91_clk_pll_setup()