Lines Matching defs:REG
211 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
213 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
215 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
217 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
219 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
221 #define READ_REG(REG) ((REG)) argument
223 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
229 #define ATOMIC_SET_BIT(REG, BIT) \ argument
238 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
247 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
256 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
265 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
274 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument