Searched refs:bwlq (Results 1 – 2 of 2) sorted by relevance
/arch/mips/include/asm/ |
D | io.h | 315 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument 317 static inline void pfx##write##bwlq(type val, \ 328 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 330 __val = pfx##ioswab##bwlq(__mem, val); \ 357 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ 362 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ 393 return pfx##ioswab##bwlq(__mem, __val); \ 396 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ argument 398 static inline void pfx##out##bwlq##p(type val, unsigned long port) \ 408 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ [all …]
|
/arch/sh/include/asm/ |
D | io.h | 68 #define __BUILD_UNCACHED_IO(bwlq, type) \ argument 69 static inline type read##bwlq##_uncached(unsigned long addr) \ 73 ret = __raw_read##bwlq(addr); \ 78 static inline void write##bwlq##_uncached(type v, unsigned long addr) \ 81 __raw_write##bwlq(v, addr); \ 90 #define __BUILD_MEMORY_STRING(pfx, bwlq, type) \ argument 93 pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \ 99 __raw_write##bwlq(*__addr, mem); \ 104 static inline void pfx##reads##bwlq(volatile void __iomem *mem, \ 110 *__addr = __raw_read##bwlq(mem); \ [all …]
|