Lines Matching refs:addr

142 static inline TYPE generic_##NAME(QUAL void __iomem *addr)		\
144 return alpha_mv.mv_##NAME(addr); \
148 static inline void generic_##NAME(TYPE b, QUAL void __iomem *addr) \
150 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);
255 extern u8 __raw_readb(const volatile void __iomem *addr);
256 extern u16 __raw_readw(const volatile void __iomem *addr);
257 extern u32 __raw_readl(const volatile void __iomem *addr);
258 extern u64 __raw_readq(const volatile void __iomem *addr);
259 extern void __raw_writeb(u8 b, volatile void __iomem *addr);
260 extern void __raw_writew(u16 b, volatile void __iomem *addr);
261 extern void __raw_writel(u32 b, volatile void __iomem *addr);
262 extern void __raw_writeq(u64 b, volatile void __iomem *addr);
276 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap() argument
288 static inline void iounmap(volatile void __iomem *addr) in iounmap() argument
290 IO_CONCAT(__IO_PREFIX,iounmap)(addr); in iounmap()
293 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr() argument
295 return IO_CONCAT(__IO_PREFIX,is_ioaddr)(addr); in __is_ioaddr()
299 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio() argument
301 return IO_CONCAT(__IO_PREFIX,is_mmio)(addr); in __is_mmio()
310 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8() argument
314 ret = IO_CONCAT(__IO_PREFIX,ioread8)(addr); in ioread8()
319 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() argument
323 ret = IO_CONCAT(__IO_PREFIX,ioread16)(addr); in ioread16()
328 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8() argument
331 IO_CONCAT(__IO_PREFIX, iowrite8)(b, addr); in iowrite8()
334 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() argument
337 IO_CONCAT(__IO_PREFIX, iowrite16)(b, addr); in iowrite16()
362 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32() argument
366 ret = IO_CONCAT(__IO_PREFIX,ioread32)(addr); in ioread32()
371 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32() argument
374 IO_CONCAT(__IO_PREFIX, iowrite32)(b, addr); in iowrite32()
389 extern inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() argument
391 return IO_CONCAT(__IO_PREFIX,readb)(addr); in __raw_readb()
394 extern inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() argument
396 return IO_CONCAT(__IO_PREFIX,readw)(addr); in __raw_readw()
399 extern inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() argument
401 IO_CONCAT(__IO_PREFIX,writeb)(b, addr); in __raw_writeb()
404 extern inline void __raw_writew(u16 b, volatile void __iomem *addr) in __raw_writew() argument
406 IO_CONCAT(__IO_PREFIX,writew)(b, addr); in __raw_writew()
409 extern inline u8 readb(const volatile void __iomem *addr) in readb() argument
413 ret = __raw_readb(addr); in readb()
418 extern inline u16 readw(const volatile void __iomem *addr) in readw() argument
422 ret = __raw_readw(addr); in readw()
427 extern inline void writeb(u8 b, volatile void __iomem *addr) in writeb() argument
430 __raw_writeb(b, addr); in writeb()
433 extern inline void writew(u16 b, volatile void __iomem *addr) in writew() argument
436 __raw_writew(b, addr); in writew()
441 extern inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() argument
443 return IO_CONCAT(__IO_PREFIX,readl)(addr); in __raw_readl()
446 extern inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() argument
448 return IO_CONCAT(__IO_PREFIX,readq)(addr); in __raw_readq()
451 extern inline void __raw_writel(u32 b, volatile void __iomem *addr) in __raw_writel() argument
453 IO_CONCAT(__IO_PREFIX,writel)(b, addr); in __raw_writel()
456 extern inline void __raw_writeq(u64 b, volatile void __iomem *addr) in __raw_writeq() argument
458 IO_CONCAT(__IO_PREFIX,writeq)(b, addr); in __raw_writeq()
461 extern inline u32 readl(const volatile void __iomem *addr) in readl() argument
465 ret = __raw_readl(addr); in readl()
470 extern inline u64 readq(const volatile void __iomem *addr) in readq() argument
474 ret = __raw_readq(addr); in readq()
479 extern inline void writel(u32 b, volatile void __iomem *addr) in writel() argument
482 __raw_writel(b, addr); in writel()
485 extern inline void writeq(u64 b, volatile void __iomem *addr) in writeq() argument
488 __raw_writeq(b, addr); in writeq()
504 extern u8 readb_relaxed(const volatile void __iomem *addr);
505 extern u16 readw_relaxed(const volatile void __iomem *addr);
506 extern u32 readl_relaxed(const volatile void __iomem *addr);
507 extern u64 readq_relaxed(const volatile void __iomem *addr);
510 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() argument
513 return __raw_readb(addr); in readb_relaxed()
516 extern inline u16 readw_relaxed(const volatile void __iomem *addr) in readw_relaxed() argument
519 return __raw_readw(addr); in readw_relaxed()
524 extern inline u32 readl_relaxed(const volatile void __iomem *addr) in readl_relaxed() argument
527 return __raw_readl(addr); in readl_relaxed()
530 extern inline u64 readq_relaxed(const volatile void __iomem *addr) in readq_relaxed() argument
533 return __raw_readq(addr); in readq_relaxed()
549 static inline void memset_io(volatile void __iomem *addr, u8 c, long len) in memset_io() argument
551 _memset_c_io(addr, 0x0101010101010101UL * c, len); in memset_io()
555 static inline void memsetw_io(volatile void __iomem *addr, u16 c, long len) in memsetw_io() argument
557 _memset_c_io(addr, 0x0001000100010001UL * c, len); in memsetw_io()