Lines Matching full:layout
34 const struct clk_pll_layout *layout; member
91 cmul = (val & core->layout->mul_mask) >> core->layout->mul_shift; in sam9x60_frac_pll_prepare()
92 cfrac = (val & core->layout->frac_mask) >> core->layout->frac_shift; in sam9x60_frac_pll_prepare()
106 (frac->mul << core->layout->mul_shift) | in sam9x60_frac_pll_prepare()
107 (frac->frac << core->layout->frac_shift)); in sam9x60_frac_pll_prepare()
253 cdiv = (val & core->layout->div_mask) >> core->layout->div_shift; in sam9x60_div_pll_prepare()
256 if (!!(val & core->layout->endiv_mask) && cdiv == div->div) in sam9x60_div_pll_prepare()
260 core->layout->div_mask | core->layout->endiv_mask, in sam9x60_div_pll_prepare()
261 (div->div << core->layout->div_shift) | in sam9x60_div_pll_prepare()
262 (1 << core->layout->endiv_shift)); in sam9x60_div_pll_prepare()
289 core->layout->endiv_mask, 0); in sam9x60_div_pll_unprepare()
313 return !!(val & core->layout->endiv_mask); in sam9x60_div_pll_is_prepared()
343 for (divid = 1; divid < core->layout->div_mask; divid++) { in sam9x60_div_pll_compute_div()
401 const struct clk_pll_layout *layout, bool critical) in sam9x60_clk_register_frac_pll() argument
428 frac->core.layout = layout; in sam9x60_clk_register_frac_pll()
481 const struct clk_pll_layout *layout, bool critical) in sam9x60_clk_register_div_pll() argument
509 div->core.layout = layout; in sam9x60_clk_register_div_pll()