Home
last modified time | relevance | path

Searched refs:bwlq (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/arch/mips/include/asm/
Dio.h218 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
220 static inline void pfx##write##bwlq(type val, \
231 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \
233 __val = pfx##ioswab##bwlq(__mem, val); \
260 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
265 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \
296 return pfx##ioswab##bwlq(__mem, __val); \
299 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ argument
301 static inline void pfx##out##bwlq##p(type val, unsigned long port) \
311 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
[all …]
/Linux-v6.6/arch/sh/include/asm/
Dio.h67 #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 …]