Home
last modified time | relevance | path

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

/linux-6.12.1/arch/mips/include/asm/
Dio.h196 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
198 static inline void pfx##write##bwlq(type val, \
209 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \
211 __val = pfx##ioswab##bwlq(__mem, val); \
238 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
243 __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \
274 return pfx##ioswab##bwlq(__mem, __val); \
277 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax) \ argument
279 static inline void pfx##out##bwlq(type val, unsigned long port) \
289 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
[all …]
/linux-6.12.1/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 …]