Lines Matching defs:REG
173 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
175 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
177 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
179 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
181 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
183 #define READ_REG(REG) ((REG)) argument
185 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
189 #define ATOMIC_SET_BIT(REG, BIT) \ argument
198 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
207 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
216 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
225 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
234 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument