Lines Matching defs:shift
19 (pll->factors[member].shift / (8 * sizeof(pll->regs_num)))
22 (pll->factors[member].shift % (8 * sizeof(pll->regs_num)))
71 u32 shift, mask, index, refin_id = 3;
76 shift = pshift(pll, PLL_REFIN);
78 refin_id = (sprd_pll_read(pll, index) & mask) >> shift;
153 u32 mask, shift, width, ibias_val, index;
194 shift = pshift(pll, PLL_NINT);
195 cfg[index].val |= (nint << shift) & mask;
201 shift = pshift(pll, PLL_KINT);
203 tmp = do_div(tmp, 10000) * ((mask >> shift) + 1);
205 cfg[index].val |= (kint << shift) & mask;
212 shift = pshift(pll, PLL_IBIAS);
213 cfg[index].val |= ibias_val << shift & mask;