Lines Matching full:addr

139 static inline TYPE generic_##NAME(QUAL void __iomem *addr)		\
141 return alpha_mv.mv_##NAME(addr); \
145 static inline void generic_##NAME(TYPE b, QUAL void __iomem *addr) \
147 alpha_mv.mv_##NAME(b, addr); \
245 extern u8 readb(const volatile void __iomem *addr);
246 extern u16 readw(const volatile void __iomem *addr);
247 extern u32 readl(const volatile void __iomem *addr);
248 extern u64 readq(const volatile void __iomem *addr);
249 extern void writeb(u8 b, volatile void __iomem *addr);
250 extern void writew(u16 b, volatile void __iomem *addr);
251 extern void writel(u32 b, volatile void __iomem *addr);
252 extern void writeq(u64 b, volatile void __iomem *addr);
262 extern u8 __raw_readb(const volatile void __iomem *addr);
263 extern u16 __raw_readw(const volatile void __iomem *addr);
264 extern u32 __raw_readl(const volatile void __iomem *addr);
265 extern u64 __raw_readq(const volatile void __iomem *addr);
266 extern void __raw_writeb(u8 b, volatile void __iomem *addr);
267 extern void __raw_writew(u16 b, volatile void __iomem *addr);
268 extern void __raw_writel(u32 b, volatile void __iomem *addr);
269 extern void __raw_writeq(u64 b, volatile void __iomem *addr);
291 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap() argument
305 static inline void iounmap(volatile void __iomem *addr) in iounmap() argument
307 IO_CONCAT(__IO_PREFIX,iounmap)(addr); in iounmap()
310 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr() argument
312 return IO_CONCAT(__IO_PREFIX,is_ioaddr)(addr); in __is_ioaddr()
316 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio() argument
318 return IO_CONCAT(__IO_PREFIX,is_mmio)(addr); in __is_mmio()
327 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8() argument
331 ret = IO_CONCAT(__IO_PREFIX,ioread8)(addr); in ioread8()
336 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() argument
340 ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
345 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8() argument
348 IO_CONCAT(__IO_PREFIX, iowrite8)(b, addr); in iowrite8()
351 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() argument
354 IO_CONCAT(__IO_PREFIX, iowrite16)(b, addr); in iowrite16()
384 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32() argument
388 ret = IO_CONCAT(__IO_PREFIX,ioread32)(addr); in ioread32()
393 extern inline u64 ioread64(const void __iomem *addr) in ioread64() argument
397 ret = IO_CONCAT(__IO_PREFIX,ioread64)(addr); in ioread64()
402 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32() argument
405 IO_CONCAT(__IO_PREFIX, iowrite32)(b, addr); in iowrite32()
408 extern inline void iowrite64(u64 b, void __iomem *addr) in iowrite64() argument
411 IO_CONCAT(__IO_PREFIX, iowrite64)(b, addr); in iowrite64()
431 extern inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() argument
433 return IO_CONCAT(__IO_PREFIX,readb)(addr); in __raw_readb()
436 extern inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() argument
438 return IO_CONCAT(__IO_PREFIX,readw)(addr); in __raw_readw()
441 extern inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() argument
443 IO_CONCAT(__IO_PREFIX,writeb)(b, addr); in __raw_writeb()
446 extern inline void __raw_writew(u16 b, volatile void __iomem *addr) in __raw_writew() argument
448 IO_CONCAT(__IO_PREFIX,writew)(b, addr); in __raw_writew()
451 extern inline u8 readb(const volatile void __iomem *addr) in readb() argument
455 ret = __raw_readb(addr); in readb()
460 extern inline u16 readw(const volatile void __iomem *addr) in readw() argument
464 ret = __raw_readw(addr); in readw()
469 extern inline void writeb(u8 b, volatile void __iomem *addr) in writeb() argument
472 __raw_writeb(b, addr); in writeb()
475 extern inline void writew(u16 b, volatile void __iomem *addr) in writew() argument
478 __raw_writew(b, addr); in writew()
483 extern inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() argument
485 return IO_CONCAT(__IO_PREFIX,readl)(addr); in __raw_readl()
488 extern inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() argument
490 return IO_CONCAT(__IO_PREFIX,readq)(addr); in __raw_readq()
493 extern inline void __raw_writel(u32 b, volatile void __iomem *addr) in __raw_writel() argument
495 IO_CONCAT(__IO_PREFIX,writel)(b, addr); in __raw_writel()
498 extern inline void __raw_writeq(u64 b, volatile void __iomem *addr) in __raw_writeq() argument
500 IO_CONCAT(__IO_PREFIX,writeq)(b, addr); in __raw_writeq()
503 extern inline u32 readl(const volatile void __iomem *addr) in readl() argument
507 ret = __raw_readl(addr); in readl()
512 extern inline u64 readq(const volatile void __iomem *addr) in readq() argument
516 ret = __raw_readq(addr); in readq()
521 extern inline void writel(u32 b, volatile void __iomem *addr) in writel() argument
524 __raw_writel(b, addr); in writel()
527 extern inline void writeq(u64 b, volatile void __iomem *addr) in writeq() argument
530 __raw_writeq(b, addr); in writeq()
548 extern u8 readb_relaxed(const volatile void __iomem *addr);
549 extern u16 readw_relaxed(const volatile void __iomem *addr);
550 extern u32 readl_relaxed(const volatile void __iomem *addr);
551 extern u64 readq_relaxed(const volatile void __iomem *addr);
558 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() argument
561 return __raw_readb(addr); in readb_relaxed()
564 extern inline u16 readw_relaxed(const volatile void __iomem *addr) in readw_relaxed() argument
567 return __raw_readw(addr); in readw_relaxed()
572 extern inline u32 readl_relaxed(const volatile void __iomem *addr) in readl_relaxed() argument
575 return __raw_readl(addr); in readl_relaxed()
578 extern inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() argument
581 return __raw_readq(addr); in readq_relaxed()
597 static inline void memset_io(volatile void __iomem *addr, u8 c, long len) in memset_io() argument
599 _memset_c_io(addr, 0x0101010101010101UL * c, len); in memset_io()
603 static inline void memsetw_io(volatile void __iomem *addr, u16 c, long len) in memsetw_io() argument
605 _memset_c_io(addr, 0x0001000100010001UL * c, len); in memsetw_io()