Lines Matching defs:REG
138 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
140 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
142 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
144 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
146 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
148 #define READ_REG(REG) ((REG)) argument
150 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
154 #define ATOMIC_SET_BIT(REG, BIT) \ argument
163 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
172 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
181 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
190 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
199 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument