Lines Matching full:clear
114 * Clear and set bits in one shot. These macros can be used to clear and
117 * specifying the mask in the 'clear' parameter and the new bit pattern
139 #define clrbits(type, addr, clear) \ argument
140 out_##type((addr), in_##type(addr) & ~(clear))
145 #define clrsetbits(type, addr, clear, set) \ argument
146 out_##type((addr), (in_##type(addr) & ~(clear)) | (set))
148 #define clrbits_be32(addr, clear) clrbits(be32, addr, clear) argument
150 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
152 #define clrbits_le32(addr, clear) clrbits(le32, addr, clear) argument
154 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
156 #define clrbits_be16(addr, clear) clrbits(be16, addr, clear) argument
158 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
160 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear) argument
162 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
164 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument
166 #define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set) argument