Searched refs:BITMASK (Results 1 – 4 of 4) sorted by relevance
49 #define BITMASK(x) (1U << (x)) macro50 #define BITONES(x) (BITMASK(x) - 1U)52 #define SETBIT(m, x) (m |= BITMASK(x))53 #define CLEARBIT(m, x) (m &= ~BITMASK(x))
317 bitmask_t tprop = BITMASK(mtdev_abs2mt(ABS_MT_TRACKING_ID)); in apply_typeA_changes()
92 unsigned x, nx = BITMASK(nslot * npos); in generate_assignments()
2862 #define BITMASK(size) ((1 << size) - 1) macro2864 (((type & BITMASK(kNativeArgTypeSize)) << kNativeArgTypePos) | \2865 (position & BITMASK(kNativeArgNumberSize)))