Lines Matching refs:addr
126 extern void iounmap(volatile void __iomem *addr);
134 extern void bt_iounmap(void *addr, unsigned long size);
165 static inline unsigned char readb(const volatile void __iomem *addr)
167 return *(volatile unsigned char __force *) addr;
169 static inline unsigned short readw(const volatile void __iomem *addr)
171 return *(volatile unsigned short __force *) addr;
173 static inline unsigned int readl(const volatile void __iomem *addr)
175 return *(volatile unsigned int __force *) addr;
177 #define readb_relaxed(addr) readb(addr)
178 #define readw_relaxed(addr) readw(addr)
179 #define readl_relaxed(addr) readl(addr)
184 static inline void writeb(unsigned char b, volatile void __iomem *addr)
186 *(volatile unsigned char __force *) addr = b;
188 static inline void writew(unsigned short b, volatile void __iomem *addr)
190 *(volatile unsigned short __force *) addr = b;
192 static inline void writel(unsigned int b, volatile void __iomem *addr)
194 *(volatile unsigned int __force *) addr = b;
203 memset_io(volatile void __iomem *addr, unsigned char val, int count)
205 memset((void __force *)addr, val, count);
334 static inline void outs##bwl(int port, const void *addr, unsigned long count) { \
335 __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); \
337 static inline void ins##bwl(int port, void *addr, unsigned long count) { \
338 __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); \