Searched refs:bwlq (Results 1 – 2 of 2) sorted by relevance
/arch/mips/include/asm/ |
D | io.h | 303 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ argument 305 static inline void pfx##write##bwlq(type val, \ 313 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 315 __val = pfx##ioswab##bwlq(__mem, val); \ 341 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ 346 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 372 return pfx##ioswab##bwlq(__mem, __val); \ 375 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument 377 static inline void pfx##out##bwlq##p(type val, unsigned long port) \ 384 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ [all …]
|
/arch/sh/include/asm/ |
D | io.h | 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); \ [all …]
|