• Home
  • Raw
  • Download

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) in readb() argument
167 return *(volatile unsigned char __force *) addr; in readb()
169 static inline unsigned short readw(const volatile void __iomem *addr) in readw() argument
171 return *(volatile unsigned short __force *) addr; in readw()
173 static inline unsigned int readl(const volatile void __iomem *addr) in readl() argument
175 return *(volatile unsigned int __force *) addr; in readl()
177 #define readb_relaxed(addr) readb(addr) argument
178 #define readw_relaxed(addr) readw(addr) argument
179 #define readl_relaxed(addr) readl(addr) argument
184 static inline void writeb(unsigned char b, volatile void __iomem *addr) in writeb() argument
186 *(volatile unsigned char __force *) addr = b; in writeb()
188 static inline void writew(unsigned short b, volatile void __iomem *addr) in writew() argument
190 *(volatile unsigned short __force *) addr = b; in writew()
192 static inline void writel(unsigned int b, volatile void __iomem *addr) in writel() argument
194 *(volatile unsigned int __force *) addr = b; in writel()
203 memset_io(volatile void __iomem *addr, unsigned char val, int count) in memset_io() argument
205 memset((void __force *)addr, val, count); in memset_io()
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)); \