Lines Matching refs:addr

24 #define bus_to_baddr(bus, addr)	(bus_to_baddr[(bus)->number] + (addr))  argument
25 #define baddr_to_bus(bus, addr) ((addr) - bus_to_baddr[(bus)->number]) argument
28 #define bus_to_baddr(bus, addr) (addr) argument
29 #define baddr_to_bus(bus, addr) (addr) argument
114 extern void iounmap(void *addr);
121 #define readb(addr) (*(volatile unsigned char *)(addr)) argument
122 #define readw(addr) __ioswab16((*(volatile unsigned short *)(addr))) argument
123 #define readl(addr) __ioswab32((*(volatile unsigned int *)(addr))) argument
125 #define __raw_readb(addr) (*(volatile unsigned char *)(addr)) argument
126 #define __raw_readw(addr) (*(volatile unsigned short *)(addr)) argument
127 #define __raw_readl(addr) (*(volatile unsigned int *)(addr)) argument
129 #define writeb(b,addr) ((*(volatile unsigned char *)(addr)) = (b)) argument
130 #define writew(b,addr) ((*(volatile unsigned short *)(addr)) = (__ioswab16(b))) argument
131 #define writel(b,addr) ((*(volatile unsigned int *)(addr)) = (__ioswab32(b))) argument
133 #define __raw_writeb(b,addr) ((*(volatile unsigned char *)(addr)) = (b)) argument
134 #define __raw_writew(w,addr) ((*(volatile unsigned short *)(addr)) = (w)) argument
135 #define __raw_writel(l,addr) ((*(volatile unsigned int *)(addr)) = (l)) argument
395 static inline void __outsb(unsigned long port, void *addr, unsigned int count) in __outsb() argument
398 outb(*(u8 *)addr, port); in __outsb()
399 addr++; in __outsb()
403 static inline void __insb(unsigned long port, void *addr, unsigned int count) in __insb() argument
406 *(u8 *)addr = inb(port); in __insb()
407 addr++; in __insb()
411 static inline void __outsw(unsigned long port, void *addr, unsigned int count) in __outsw() argument
414 outw(*(u16 *)addr, port); in __outsw()
415 addr += 2; in __outsw()
419 static inline void __insw(unsigned long port, void *addr, unsigned int count) in __insw() argument
422 *(u16 *)addr = inw(port); in __insw()
423 addr += 2; in __insw()
427 static inline void __outsl(unsigned long port, void *addr, unsigned int count) in __outsl() argument
430 outl(*(u32 *)addr, port); in __outsl()
431 addr += 4; in __outsl()
435 static inline void __insl(unsigned long port, void *addr, unsigned int count) in __insl() argument
438 *(u32 *)addr = inl(port); in __insl()
439 addr += 4; in __insl()
443 #define outsb(port, addr, count) __outsb(port, addr, count) argument
444 #define insb(port, addr, count) __insb(port, addr, count) argument
445 #define outsw(port, addr, count) __outsw(port, addr, count) argument
446 #define insw(port, addr, count) __insw(port, addr, count) argument
447 #define outsl(port, addr, count) __outsl(port, addr, count) argument
448 #define insl(port, addr, count) __insl(port, addr, count) argument