Lines Matching refs:pdiv
114 vco_out->pdiv = 1; in pll_calc_param()
292 unsigned int pdiv; in pll_fractional_change_only() local
306 val = readl(pll->control_base + ctrl->pdiv.offset); in pll_fractional_change_only()
307 pdiv = (val >> ctrl->pdiv.shift) & bit_mask(ctrl->pdiv.width); in pll_fractional_change_only()
309 if (pdiv != vco->pdiv) in pll_fractional_change_only()
331 if (vco->pdiv == 0) in pll_set_rate()
334 ref_freq = parent_rate / vco->pdiv; in pll_set_rate()
421 val = readl(pll->control_base + ctrl->pdiv.offset); in pll_set_rate()
422 val &= ~(bit_mask(ctrl->pdiv.width) << ctrl->pdiv.shift); in pll_set_rate()
423 val |= vco->pdiv << ctrl->pdiv.shift; in pll_set_rate()
424 iproc_pll_write(pll, pll->control_base, ctrl->pdiv.offset, val); in pll_set_rate()
465 unsigned int pdiv; in iproc_pll_recalc_rate() local
493 val = readl(pll->control_base + ctrl->pdiv.offset); in iproc_pll_recalc_rate()
494 pdiv = (val >> ctrl->pdiv.shift) & bit_mask(ctrl->pdiv.width); in iproc_pll_recalc_rate()
498 if (pdiv == 0) in iproc_pll_recalc_rate()
501 rate /= pdiv; in iproc_pll_recalc_rate()