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
290 static inline void iounmap(const volatile void __iomem *addr) in iounmap() argument
292 if (plat_iounmap(addr)) in iounmap()
295 #define __IS_KSEG1(addr) (((unsigned long)(addr) & ~0x1fffffffUL) == CKSEG1) in iounmap() argument
298 (__builtin_constant_p(addr) && __IS_KSEG1(addr))) in iounmap()
301 __iounmap(addr); in iounmap()
463 #define readb_be(addr) \ in BUILDIO_MEM() argument
464 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM()
465 #define readw_be(addr) \ in BUILDIO_MEM() argument
466 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM()
467 #define readl_be(addr) \ in BUILDIO_MEM() argument
468 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM()
469 #define readq_be(addr) \ in BUILDIO_MEM() argument
470 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM()
472 #define writeb_be(val, addr) \ in BUILDIO_MEM() argument
473 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM()
474 #define writew_be(val, addr) \ in BUILDIO_MEM() argument
475 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
476 #define writel_be(val, addr) \ in BUILDIO_MEM() argument
477 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
478 #define writeq_be(val, addr) \ in BUILDIO_MEM() argument
479 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
490 const void *addr, unsigned int count) \ in BUILDIO_MEM()
492 const volatile type *__addr = addr; \ in BUILDIO_MEM()
500 static inline void reads##bwlq(volatile void __iomem *mem, void *addr, \
503 volatile type *__addr = addr; \
513 static inline void outs##bwlq(unsigned long port, const void *addr, \
516 const volatile type *__addr = addr; \
524 static inline void ins##bwlq(unsigned long port, void *addr, \
527 volatile type *__addr = addr; \
555 static inline void memset_io(volatile void __iomem *addr, unsigned char val, int count)
557 memset((void __force *) addr, val, count);