bwlq 315 arch/mips/include/asm/io.h #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ bwlq 317 arch/mips/include/asm/io.h static inline void pfx##write##bwlq(type val, \ bwlq 328 arch/mips/include/asm/io.h __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ bwlq 330 arch/mips/include/asm/io.h __val = pfx##ioswab##bwlq(__mem, val); \ bwlq 357 arch/mips/include/asm/io.h static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ bwlq 362 arch/mips/include/asm/io.h __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); \ bwlq 393 arch/mips/include/asm/io.h return pfx##ioswab##bwlq(__mem, __val); \ bwlq 396 arch/mips/include/asm/io.h #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax, p) \ bwlq 398 arch/mips/include/asm/io.h static inline void pfx##out##bwlq##p(type val, unsigned long port) \ bwlq 408 arch/mips/include/asm/io.h __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ bwlq 410 arch/mips/include/asm/io.h __val = pfx##ioswab##bwlq(__addr, val); \ bwlq 418 arch/mips/include/asm/io.h static inline type pfx##in##bwlq##p(unsigned long port) \ bwlq 423 arch/mips/include/asm/io.h __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ bwlq 435 arch/mips/include/asm/io.h return pfx##ioswab##bwlq(__addr, __val); \ bwlq 438 arch/mips/include/asm/io.h #define __BUILD_MEMORY_PFX(bus, bwlq, type, relax) \ bwlq 440 arch/mips/include/asm/io.h __BUILD_MEMORY_SINGLE(bus, bwlq, type, 1, relax, 1) bwlq 442 arch/mips/include/asm/io.h #define BUILDIO_MEM(bwlq, type) \ bwlq 444 arch/mips/include/asm/io.h __BUILD_MEMORY_PFX(__raw_, bwlq, type, 0) \ bwlq 445 arch/mips/include/asm/io.h __BUILD_MEMORY_PFX(__relaxed_, bwlq, type, 1) \ bwlq 446 arch/mips/include/asm/io.h __BUILD_MEMORY_PFX(__mem_, bwlq, type, 0) \ bwlq 447 arch/mips/include/asm/io.h __BUILD_MEMORY_PFX(, bwlq, type, 0) bwlq 459 arch/mips/include/asm/io.h #define __BUILD_IOPORT_PFX(bus, bwlq, type) \ bwlq 460 arch/mips/include/asm/io.h __BUILD_IOPORT_SINGLE(bus, bwlq, type, 1, 0,) \ bwlq 461 arch/mips/include/asm/io.h __BUILD_IOPORT_SINGLE(bus, bwlq, type, 1, 0, _p) bwlq 463 arch/mips/include/asm/io.h #define BUILDIO_IOPORT(bwlq, type) \ bwlq 464 arch/mips/include/asm/io.h __BUILD_IOPORT_PFX(, bwlq, type) \ bwlq 465 arch/mips/include/asm/io.h __BUILD_IOPORT_PFX(__mem_, bwlq, type) bwlq 474 arch/mips/include/asm/io.h #define __BUILDIO(bwlq, type) \ bwlq 476 arch/mips/include/asm/io.h __BUILD_MEMORY_SINGLE(____raw_, bwlq, type, 1, 0, 0) bwlq 520 arch/mips/include/asm/io.h #define __BUILD_MEMORY_STRING(bwlq, type) \ bwlq 522 arch/mips/include/asm/io.h static inline void writes##bwlq(volatile void __iomem *mem, \ bwlq 528 arch/mips/include/asm/io.h __mem_write##bwlq(*__addr, mem); \ bwlq 533 arch/mips/include/asm/io.h static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \ bwlq 539 arch/mips/include/asm/io.h *__addr = __mem_read##bwlq(mem); \ bwlq 544 arch/mips/include/asm/io.h #define __BUILD_IOPORT_STRING(bwlq, type) \ bwlq 546 arch/mips/include/asm/io.h static inline void outs##bwlq(unsigned long port, const void *addr, \ bwlq 552 arch/mips/include/asm/io.h __mem_out##bwlq(*__addr, port); \ bwlq 557 arch/mips/include/asm/io.h static inline void ins##bwlq(unsigned long port, void *addr, \ bwlq 563 arch/mips/include/asm/io.h *__addr = __mem_in##bwlq(port); \ bwlq 568 arch/mips/include/asm/io.h #define BUILDSTRING(bwlq, type) \ bwlq 570 arch/mips/include/asm/io.h __BUILD_MEMORY_STRING(bwlq, type) \ bwlq 571 arch/mips/include/asm/io.h __BUILD_IOPORT_STRING(bwlq, type) bwlq 68 arch/sh/include/asm/io.h #define __BUILD_UNCACHED_IO(bwlq, type) \ bwlq 69 arch/sh/include/asm/io.h static inline type read##bwlq##_uncached(unsigned long addr) \ bwlq 73 arch/sh/include/asm/io.h ret = __raw_read##bwlq(addr); \ bwlq 78 arch/sh/include/asm/io.h static inline void write##bwlq##_uncached(type v, unsigned long addr) \ bwlq 81 arch/sh/include/asm/io.h __raw_write##bwlq(v, addr); \ bwlq 90 arch/sh/include/asm/io.h #define __BUILD_MEMORY_STRING(pfx, bwlq, type) \ bwlq 93 arch/sh/include/asm/io.h pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \ bwlq 99 arch/sh/include/asm/io.h __raw_write##bwlq(*__addr, mem); \ bwlq 104 arch/sh/include/asm/io.h static inline void pfx##reads##bwlq(volatile void __iomem *mem, \ bwlq 110 arch/sh/include/asm/io.h *__addr = __raw_read##bwlq(mem); \ bwlq 159 arch/sh/include/asm/io.h #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ bwlq 161 arch/sh/include/asm/io.h static inline void pfx##out##bwlq##p(type val, unsigned long port) \ bwlq 170 arch/sh/include/asm/io.h static inline type pfx##in##bwlq##p(unsigned long port) \ bwlq 182 arch/sh/include/asm/io.h #define __BUILD_IOPORT_PFX(bus, bwlq, type) \ bwlq 183 arch/sh/include/asm/io.h __BUILD_IOPORT_SINGLE(bus, bwlq, type, ,) \ bwlq 184 arch/sh/include/asm/io.h __BUILD_IOPORT_SINGLE(bus, bwlq, type, _p, SLOW_DOWN_IO) bwlq 186 arch/sh/include/asm/io.h #define BUILDIO_IOPORT(bwlq, type) \ bwlq 187 arch/sh/include/asm/io.h __BUILD_IOPORT_PFX(, bwlq, type) bwlq 194 arch/sh/include/asm/io.h #define __BUILD_IOPORT_STRING(bwlq, type) \ bwlq 196 arch/sh/include/asm/io.h static inline void outs##bwlq(unsigned long port, const void *addr, \ bwlq 202 arch/sh/include/asm/io.h out##bwlq(*__addr, port); \ bwlq 207 arch/sh/include/asm/io.h static inline void ins##bwlq(unsigned long port, void *addr, \ bwlq 213 arch/sh/include/asm/io.h *__addr = in##bwlq(port); \