Lines Matching full:clear
249 /* Clear and set bits in one shot. These macros can be used to clear and
252 * specifying the mask in the 'clear' parameter and the new bit pattern
256 #define clrbits(type, addr, clear) \ argument
257 out_##type((addr), in_##type(addr) & ~(clear))
262 #define clrsetbits(type, addr, clear, set) \ argument
263 out_##type((addr), (in_##type(addr) & ~(clear)) | (set))
265 #define clrbits_be32(addr, clear) clrbits(be32, addr, clear) argument
267 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
269 #define clrbits_le32(addr, clear) clrbits(le32, addr, clear) argument
271 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
273 #define clrbits_be16(addr, clear) clrbits(be16, addr, clear) argument
275 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
277 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear) argument
279 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
281 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument
283 #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) argument