Lines Matching defs:REG
194 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
196 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
198 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
200 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
202 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
204 #define READ_REG(REG) ((REG)) argument
206 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
210 #define ATOMIC_SET_BIT(REG, BIT) \ argument
220 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
230 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
240 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
243 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
246 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument