Lines Matching defs:shift
1978 * @shift: Number of bits to shift.
1985 static int port_chk_shift(struct ksz_hw *hw, int port, u32 addr, int shift)
1991 data >>= shift;
2000 * @shift: Number of bits to shift.
2005 static void port_cfg_shift(struct ksz_hw *hw, int port, u32 addr, int shift,
2012 bits <<= shift;
3807 int shift;
3809 shift = 0;
3811 shift++;
3814 if (alloc != 1 || shift < MIN_DESC_SHIFT) {
3817 shift++;
3820 if (shift < MIN_DESC_SHIFT)
3821 shift = MIN_DESC_SHIFT;
3822 alloc = 1 << shift;