Searched refs:SHIFT_2 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arc/lib/ |
H A D | memcpy-archs.S | 10 # define SHIFT_2(RX,RY,IMM) lsr RX, RY, IMM ; >> macro 17 # define SHIFT_2(RX,RY,IMM) asl RX, RY, IMM ; << macro 113 SHIFT_2 (r5, r6, 8) 117 SHIFT_2 (r5, r8, 8) 156 SHIFT_2 (r5, r6, 16) 160 SHIFT_2 (r5, r8, 16) 196 SHIFT_2 (r5, r6, 24) 200 SHIFT_2 (r5, r8, 24)
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | bu21013_ts.c | 28 #define SHIFT_2 2 macro 201 ((buf[2] & BU21013_SENSORS_EN_16_23) << SHIFT_8)) >> SHIFT_2); in bu21013_do_touch_report() 209 x = data[0] << SHIFT_2 | (data[1] & MASK_BITS); in bu21013_do_touch_report() 210 y = data[2] << SHIFT_2 | (data[3] & MASK_BITS); in bu21013_do_touch_report()
|