Lines Matching refs:addr
11 unsigned int ioread8(const void __iomem *addr) in ioread8() argument
13 return readb(addr); in ioread8()
17 unsigned int ioread16(const void __iomem *addr) in ioread16() argument
19 return readw(addr); in ioread16()
23 unsigned int ioread16be(const void __iomem *addr) in ioread16be() argument
25 return be16_to_cpu(__raw_readw(addr)); in ioread16be()
29 unsigned int ioread32(const void __iomem *addr) in ioread32() argument
31 return readl(addr); in ioread32()
35 unsigned int ioread32be(const void __iomem *addr) in ioread32be() argument
37 return be32_to_cpu(__raw_readl(addr)); in ioread32be()
41 void iowrite8(u8 val, void __iomem *addr) in iowrite8() argument
43 writeb(val, addr); in iowrite8()
47 void iowrite16(u16 val, void __iomem *addr) in iowrite16() argument
49 writew(val, addr); in iowrite16()
53 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() argument
55 __raw_writew(cpu_to_be16(val), addr); in iowrite16be()
59 void iowrite32(u32 val, void __iomem *addr) in iowrite32() argument
61 writel(val, addr); in iowrite32()
65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() argument
67 __raw_writel(cpu_to_be32(val), addr); in iowrite32be()
77 static inline void mmio_insb(const void __iomem *addr, u8 *dst, int count) in mmio_insb() argument
80 u8 data = __raw_readb(addr); in mmio_insb()
86 static inline void mmio_insw(const void __iomem *addr, u16 *dst, int count) in mmio_insw() argument
89 u16 data = __raw_readw(addr); in mmio_insw()
95 static inline void mmio_insl(const void __iomem *addr, u32 *dst, int count) in mmio_insl() argument
98 u32 data = __raw_readl(addr); in mmio_insl()
104 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) in mmio_outsb() argument
107 __raw_writeb(*src, addr); in mmio_outsb()
112 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) in mmio_outsw() argument
115 __raw_writew(*src, addr); in mmio_outsw()
120 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) in mmio_outsl() argument
123 __raw_writel(*src, addr); in mmio_outsl()
128 void ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument
130 mmio_insb(addr, dst, count); in ioread8_rep()
134 void ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread16_rep() argument
136 mmio_insw(addr, dst, count); in ioread16_rep()
140 void ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread32_rep() argument
142 mmio_insl(addr, dst, count); in ioread32_rep()
146 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) in iowrite8_rep() argument
148 mmio_outsb(addr, src, count); in iowrite8_rep()
152 void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) in iowrite16_rep() argument
154 mmio_outsw(addr, src, count); in iowrite16_rep()
158 void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) in iowrite32_rep() argument
160 mmio_outsl(addr, src, count); in iowrite32_rep()