Lines Matching defs:REG
140 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
142 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
144 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
146 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
148 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
150 #define READ_REG(REG) ((REG)) argument
152 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
156 #define ATOMIC_SET_BIT(REG, BIT) \ argument
165 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
174 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
183 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
192 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
201 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument