Lines Matching refs:addr

171 extern void __iounmap(const volatile void __iomem *addr);
175 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) {} in pci_iounmap() argument
181 void __iomem *addr = plat_ioremap(offset, size, flags); in __ioremap_mode() local
183 if (addr) in __ioremap_mode()
184 return addr; in __ioremap_mode()
186 #define __IS_LOW512(addr) (!((phys_addr_t)(addr) & (phys_addr_t) ~0x1fffffffULL)) in __ioremap_mode() argument
289 static inline void iounmap(const volatile void __iomem *addr) in iounmap() argument
291 if (plat_iounmap(addr)) in iounmap()
294 #define __IS_KSEG1(addr) (((unsigned long)(addr) & ~0x1fffffffUL) == CKSEG1) in iounmap() argument
297 (__builtin_constant_p(addr) && __IS_KSEG1(addr))) in iounmap()
300 __iounmap(addr); in iounmap()
462 #define readb_be(addr) \ in BUILDIO_MEM() argument
463 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM()
464 #define readw_be(addr) \ in BUILDIO_MEM() argument
465 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM()
466 #define readl_be(addr) \ in BUILDIO_MEM() argument
467 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM()
468 #define readq_be(addr) \ in BUILDIO_MEM() argument
469 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM()
471 #define writeb_be(val, addr) \ in BUILDIO_MEM() argument
472 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM()
473 #define writew_be(val, addr) \ in BUILDIO_MEM() argument
474 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
475 #define writel_be(val, addr) \ in BUILDIO_MEM() argument
476 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
477 #define writeq_be(val, addr) \ in BUILDIO_MEM() argument
478 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
489 const void *addr, unsigned int count) \ in BUILDIO_MEM()
491 const volatile type *__addr = addr; \ in BUILDIO_MEM()
499 static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \
502 volatile type *__addr = addr; \
512 static inline void outs##bwlq(unsigned long port, const void *addr, \
515 const volatile type *__addr = addr; \
523 static inline void ins##bwlq(unsigned long port, void *addr, \
526 volatile type *__addr = addr; \
554 static inline void memset_io(volatile void __iomem *addr, unsigned char val, int count)
556 memset((void __force *) addr, val, count);