Lines Matching refs:bwlq
67 #define __BUILD_UNCACHED_IO(bwlq, type) \ argument
68 static inline type read##bwlq##_uncached(unsigned long addr) \
72 ret = __raw_read##bwlq(addr); \
77 static inline void write##bwlq##_uncached(type v, unsigned long addr) \
80 __raw_write##bwlq(v, addr); \
89 #define __BUILD_MEMORY_STRING(pfx, bwlq, type) \ argument
92 pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \
98 __raw_write##bwlq(*__addr, mem); \
103 static inline void pfx##reads##bwlq(volatile void __iomem *mem, \
109 *__addr = __raw_read##bwlq(mem); \
178 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument
180 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
189 static inline type pfx##in##bwlq##p(unsigned long port) \
201 #define __BUILD_IOPORT_PFX(bus, bwlq, type) \ argument
202 __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \
203 __BUILD_IOPORT_SINGLE(bus, bwlq, type, _p, SLOW_DOWN_IO)
205 #define BUILDIO_IOPORT(bwlq, type) \ argument
206 __BUILD_IOPORT_PFX(, bwlq, type)
213 #define __BUILD_IOPORT_STRING(bwlq, type) \ argument
215 static inline void outs##bwlq(unsigned long port, const void *addr, \
221 out##bwlq(*__addr, port); \
226 static inline void ins##bwlq(unsigned long port, void *addr, \
232 *__addr = in##bwlq(port); \