Lines Matching full:layout

32 	const struct clk_pll_layout *layout;  member
81 if (core->layout->div2) in sam9x60_frac_pll_recalc_rate()
99 cmul = (val & core->layout->mul_mask) >> core->layout->mul_shift; in sam9x60_frac_pll_set()
100 cfrac = (val & core->layout->frac_mask) >> core->layout->frac_shift; in sam9x60_frac_pll_set()
114 (frac->mul << core->layout->mul_shift) | in sam9x60_frac_pll_set()
115 (frac->frac << core->layout->frac_shift)); in sam9x60_frac_pll_set()
268 cmul = (val & core->layout->mul_mask) >> core->layout->mul_shift; in sam9x60_frac_pll_set_rate_chg()
269 cfrac = (val & core->layout->frac_mask) >> core->layout->frac_shift; in sam9x60_frac_pll_set_rate_chg()
275 (frac->mul << core->layout->mul_shift) | in sam9x60_frac_pll_set_rate_chg()
276 (frac->frac << core->layout->frac_shift)); in sam9x60_frac_pll_set_rate_chg()
346 u32 ena_msk = enable ? core->layout->endiv_mask : 0; in sam9x60_div_pll_set_div()
347 u32 ena_val = enable ? (1 << core->layout->endiv_shift) : 0; in sam9x60_div_pll_set_div()
350 core->layout->div_mask | ena_msk, in sam9x60_div_pll_set_div()
351 (div << core->layout->div_shift) | ena_val); in sam9x60_div_pll_set_div()
372 cdiv = (val & core->layout->div_mask) >> core->layout->div_shift; in sam9x60_div_pll_set()
375 if (!!(val & core->layout->endiv_mask) && cdiv == div->div) in sam9x60_div_pll_set()
405 core->layout->endiv_mask, 0); in sam9x60_div_pll_unprepare()
429 return !!(val & core->layout->endiv_mask); in sam9x60_div_pll_is_prepared()
465 for (divid = 1; divid < core->layout->div_mask; divid++) { in sam9x60_div_pll_compute_div()
524 cdiv = (val & core->layout->div_mask) >> core->layout->div_shift; in sam9x60_div_pll_set_rate_chg()
580 cdiv = (val & core.layout->div_mask) >> core.layout->div_shift; in sam9x60_div_pll_notifier_fn()
636 const struct clk_pll_layout *layout, u32 flags) in sam9x60_clk_register_frac_pll() argument
668 frac->core.layout = layout; in sam9x60_clk_register_frac_pll()
723 const struct clk_pll_layout *layout, u32 flags, in sam9x60_clk_register_div_pll() argument
751 if (layout->div2) in sam9x60_clk_register_div_pll()
763 div->core.layout = layout; in sam9x60_clk_register_div_pll()