Lines Matching full:addr
140 static inline TYPE generic_##NAME(QUAL void __iomem *addr) \
142 return alpha_mv.mv_##NAME(addr); \
146 static inline void generic_##NAME(TYPE b, QUAL void __iomem *addr) \
148 alpha_mv.mv_##NAME(b, addr); \
246 extern u8 readb(const volatile void __iomem *addr);
247 extern u16 readw(const volatile void __iomem *addr);
248 extern u32 readl(const volatile void __iomem *addr);
249 extern u64 readq(const volatile void __iomem *addr);
250 extern void writeb(u8 b, volatile void __iomem *addr);
251 extern void writew(u16 b, volatile void __iomem *addr);
252 extern void writel(u32 b, volatile void __iomem *addr);
253 extern void writeq(u64 b, volatile void __iomem *addr);
263 extern u8 __raw_readb(const volatile void __iomem *addr);
264 extern u16 __raw_readw(const volatile void __iomem *addr);
265 extern u32 __raw_readl(const volatile void __iomem *addr);
266 extern u64 __raw_readq(const volatile void __iomem *addr);
267 extern void __raw_writeb(u8 b, volatile void __iomem *addr);
268 extern void __raw_writew(u16 b, volatile void __iomem *addr);
269 extern void __raw_writel(u32 b, volatile void __iomem *addr);
270 extern void __raw_writeq(u64 b, volatile void __iomem *addr);
292 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap() argument
306 static inline void iounmap(volatile void __iomem *addr) in iounmap() argument
308 IO_CONCAT(__IO_PREFIX,iounmap)(addr); in iounmap()
311 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr() argument
313 return IO_CONCAT(__IO_PREFIX,is_ioaddr)(addr); in __is_ioaddr()
317 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio() argument
319 return IO_CONCAT(__IO_PREFIX,is_mmio)(addr); in __is_mmio()
328 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8() argument
332 ret = IO_CONCAT(__IO_PREFIX,ioread8)(addr); in ioread8()
337 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() argument
341 ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
346 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8() argument
349 IO_CONCAT(__IO_PREFIX, iowrite8)(b, addr); in iowrite8()
352 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() argument
355 IO_CONCAT(__IO_PREFIX, iowrite16)(b, addr); in iowrite16()
385 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32() argument
389 ret = IO_CONCAT(__IO_PREFIX,ioread32)(addr); in ioread32()
394 extern inline u64 ioread64(const void __iomem *addr) in ioread64() argument
398 ret = IO_CONCAT(__IO_PREFIX,ioread64)(addr); in ioread64()
403 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32() argument
406 IO_CONCAT(__IO_PREFIX, iowrite32)(b, addr); in iowrite32()
409 extern inline void iowrite64(u64 b, void __iomem *addr) in iowrite64() argument
412 IO_CONCAT(__IO_PREFIX, iowrite64)(b, addr); in iowrite64()
432 extern inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() argument
434 return IO_CONCAT(__IO_PREFIX,readb)(addr); in __raw_readb()
437 extern inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() argument
439 return IO_CONCAT(__IO_PREFIX,readw)(addr); in __raw_readw()
442 extern inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() argument
444 IO_CONCAT(__IO_PREFIX,writeb)(b, addr); in __raw_writeb()
447 extern inline void __raw_writew(u16 b, volatile void __iomem *addr) in __raw_writew() argument
449 IO_CONCAT(__IO_PREFIX,writew)(b, addr); in __raw_writew()
452 extern inline u8 readb(const volatile void __iomem *addr) in readb() argument
456 ret = __raw_readb(addr); in readb()
461 extern inline u16 readw(const volatile void __iomem *addr) in readw() argument
465 ret = __raw_readw(addr); in readw()
470 extern inline void writeb(u8 b, volatile void __iomem *addr) in writeb() argument
473 __raw_writeb(b, addr); in writeb()
476 extern inline void writew(u16 b, volatile void __iomem *addr) in writew() argument
479 __raw_writew(b, addr); in writew()
484 extern inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() argument
486 return IO_CONCAT(__IO_PREFIX,readl)(addr); in __raw_readl()
489 extern inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() argument
491 return IO_CONCAT(__IO_PREFIX,readq)(addr); in __raw_readq()
494 extern inline void __raw_writel(u32 b, volatile void __iomem *addr) in __raw_writel() argument
496 IO_CONCAT(__IO_PREFIX,writel)(b, addr); in __raw_writel()
499 extern inline void __raw_writeq(u64 b, volatile void __iomem *addr) in __raw_writeq() argument
501 IO_CONCAT(__IO_PREFIX,writeq)(b, addr); in __raw_writeq()
504 extern inline u32 readl(const volatile void __iomem *addr) in readl() argument
508 ret = __raw_readl(addr); in readl()
513 extern inline u64 readq(const volatile void __iomem *addr) in readq() argument
517 ret = __raw_readq(addr); in readq()
522 extern inline void writel(u32 b, volatile void __iomem *addr) in writel() argument
525 __raw_writel(b, addr); in writel()
528 extern inline void writeq(u64 b, volatile void __iomem *addr) in writeq() argument
531 __raw_writeq(b, addr); in writeq()
549 extern u8 readb_relaxed(const volatile void __iomem *addr);
550 extern u16 readw_relaxed(const volatile void __iomem *addr);
551 extern u32 readl_relaxed(const volatile void __iomem *addr);
552 extern u64 readq_relaxed(const volatile void __iomem *addr);
559 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() argument
562 return __raw_readb(addr); in readb_relaxed()
565 extern inline u16 readw_relaxed(const volatile void __iomem *addr) in readw_relaxed() argument
568 return __raw_readw(addr); in readw_relaxed()
573 extern inline u32 readl_relaxed(const volatile void __iomem *addr) in readl_relaxed() argument
576 return __raw_readl(addr); in readl_relaxed()
579 extern inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() argument
582 return __raw_readq(addr); in readq_relaxed()
598 static inline void memset_io(volatile void __iomem *addr, u8 c, long len) in memset_io() argument
600 _memset_c_io(addr, 0x0101010101010101UL * c, len); in memset_io()
604 static inline void memsetw_io(volatile void __iomem *addr, u16 c, long len) in memsetw_io() argument
606 _memset_c_io(addr, 0x0001000100010001UL * c, len); in memsetw_io()