Lines Matching defs:REG
147 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
149 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
151 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
153 #define CLEAR_REG(REG) ((REG) = (0x0)) argument
155 #define WRITE_REG(REG, VAL) ((REG) = (VAL)) argument
157 #define READ_REG(REG) ((REG)) argument
159 #define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) |… argument
164 #define ATOMIC_SET_BIT(REG, BIT) \ argument
174 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
184 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
194 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) argument
197 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) argument
200 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) argument
205 #define ATOMIC_SET_BIT(REG, BIT) \ argument
214 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
223 #define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \ argument
232 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
241 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
250 #define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) \ argument