Lines Matching refs:addr

41 static inline unsigned char sh64_in8(unsigned long addr)  in sh64_in8()  argument
43 return *(volatile unsigned char *)addr; in sh64_in8()
46 static inline unsigned short sh64_in16(unsigned long addr) in sh64_in16() argument
48 return *(volatile unsigned short *)addr; in sh64_in16()
51 static inline unsigned long sh64_in32(unsigned long addr) in sh64_in32() argument
53 return *(volatile unsigned long *)addr; in sh64_in32()
56 static inline unsigned long long sh64_in64(unsigned long addr) in sh64_in64() argument
58 return *(volatile unsigned long long *)addr; in sh64_in64()
61 static inline void sh64_out8(unsigned char b, unsigned long addr) in sh64_out8() argument
63 *(volatile unsigned char *)addr = b; in sh64_out8()
67 static inline void sh64_out16(unsigned short b, unsigned long addr) in sh64_out16() argument
69 *(volatile unsigned short *)addr = b; in sh64_out16()
73 static inline void sh64_out32(unsigned long b, unsigned long addr) in sh64_out32() argument
75 *(volatile unsigned long *)addr = b; in sh64_out32()
79 static inline void sh64_out64(unsigned long long b, unsigned long addr) in sh64_out64() argument
81 *(volatile unsigned long long *)addr = b; in sh64_out64()
85 #define readb(addr) sh64_in8(addr) argument
86 #define readw(addr) sh64_in16(addr) argument
87 #define readl(addr) sh64_in32(addr) argument
89 #define writeb(b, addr) sh64_out8(b, addr) argument
90 #define writew(b, addr) sh64_out16(b, addr) argument
91 #define writel(b, addr) sh64_out32(b, addr) argument
93 #define ctrl_inb(addr) sh64_in8(addr) argument
94 #define ctrl_inw(addr) sh64_in16(addr) argument
95 #define ctrl_inl(addr) sh64_in32(addr) argument
97 #define ctrl_outb(b, addr) sh64_out8(b, addr) argument
98 #define ctrl_outw(b, addr) sh64_out16(b, addr) argument
99 #define ctrl_outl(b, addr) sh64_out32(b, addr) argument
146 extern void iounmap(void *addr);
148 unsigned long onchip_remap(unsigned long addr, unsigned long size, const char* name);