Lines Matching refs:num
63 #define SETBIT_CMN(num, pos, val) (num |= (val << pos)) argument
65 #define SETBIT(num, pos, val, len) (SETBIT_CMN(num, pos, val)) argument
67 #define SETBIT(num, pos, val, len) \
68 (SETBIT_CMN(num, (COMPUTE_BIT_POS(len, pos)), val))
72 #define UNSETBIT_CMN(num, pos) (num &= (~(1 << pos))) argument
74 #define UNSETBIT(num, pos, len) (UNSETBIT_CMN(num, pos)) argument
76 #define UNSETBIT(num, pos, len) \
77 (UNSETBIT_CMN(num, (COMPUTE_BIT_POS(len, pos))))