Lines Matching defs:REG
148 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
150 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
152 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
154 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
156 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
158 #define READ_REG(REG) ((REG)) argument
160 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
164 #define ATOMIC_SET_BIT(REG, BIT) \ argument
173 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
182 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
191 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
200 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
209 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument