Lines Matching defs:REG
144 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
146 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
148 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
150 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
152 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
154 #define READ_REG(REG) ((REG)) argument
156 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
162 #define ATOMIC_SET_BIT(REG, BIT) \ argument
171 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
180 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
189 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
198 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
207 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument