Lines Matching refs:mask
89 #define MASK_AND_RSHIFT(x, mask) (((x) & (mask)) >> MASK_TO_SHIFT(mask))
90 #define LSHIFT(x, mask) ((x) << MASK_TO_SHIFT(mask))
91 #define MASK_AND_REPLACE(reg, val, mask) ((reg & ~mask) | LSHIFT(val, mask))
1243 #define RTW_ISSET(regs, reg, mask) \
1244 (RTW_READ((regs), (reg)) & (mask))
1246 #define RTW_CLR(regs, reg, mask) \
1247 RTW_WRITE((regs), (reg), RTW_READ((regs), (reg)) & ~(mask))