Lines Matching refs:addr

37 #define readb(addr)		iSeries_Read_Byte((void*)(addr))    argument
38 #define readw(addr) iSeries_Read_Word((void*)(addr)) argument
39 #define readl(addr) iSeries_Read_Long((void*)(addr)) argument
40 #define writeb(data, addr) iSeries_Write_Byte(data,((void*)(addr))) argument
41 #define writew(data, addr) iSeries_Write_Word(data,((void*)(addr))) argument
42 #define writel(data, addr) iSeries_Write_Long(data,((void*)(addr))) argument
46 #define inb(addr) readb(((unsigned long)(addr))) argument
47 #define inw(addr) readw(((unsigned long)(addr))) argument
48 #define inl(addr) readl(((unsigned long)(addr))) argument
49 #define outb(data,addr) writeb(data,((unsigned long)(addr))) argument
50 #define outw(data,addr) writew(data,((unsigned long)(addr))) argument
51 #define outl(data,addr) writel(data,((unsigned long)(addr))) argument
53 #define readb(addr) eeh_readb((void*)(addr)) argument
54 #define readw(addr) eeh_readw((void*)(addr)) argument
55 #define readl(addr) eeh_readl((void*)(addr)) argument
56 #define writeb(data, addr) eeh_writeb((data), ((void*)(addr))) argument
57 #define writew(data, addr) eeh_writew((data), ((void*)(addr))) argument
58 #define writel(data, addr) eeh_writel((data), ((void*)(addr))) argument
74 #define __raw_readb(addr) eeh_readb((void*)(addr)) argument
75 #define __raw_readw(addr) eeh_raw_readw((void*)(addr)) argument
76 #define __raw_readl(addr) eeh_raw_readl((void*)(addr)) argument
77 #define __raw_writeb(data, addr) eeh_writeb((data), ((void*)(addr))) argument
78 #define __raw_writew(data, addr) eeh_raw_writew((data), ((void*)(addr))) argument
79 #define __raw_writel(data, addr) eeh_raw_writel((data), ((void*)(addr))) argument
139 #define ioremap_nocache(addr, size) ioremap((addr), (size)) argument
140 extern void iounmap(void *addr);
190 static inline int in_8(volatile unsigned char *addr) in in_8() argument
194 __asm__ __volatile__("sync; lbz%U1%X1 %0,%1; sync" : "=r" (ret) : "m" (*addr)); in in_8()
198 static inline void out_8(volatile unsigned char *addr, int val) in out_8() argument
200 __asm__ __volatile__("sync; stb%U0%X0 %1,%0; sync" : "=m" (*addr) : "r" (val)); in out_8()
203 static inline int in_le16(volatile unsigned short *addr) in in_le16() argument
208 "r" (addr), "m" (*addr)); in in_le16()
212 static inline int in_be16(volatile unsigned short *addr) in in_be16() argument
216 __asm__ __volatile__("sync; lhz%U1%X1 %0,%1; sync" : "=r" (ret) : "m" (*addr)); in in_be16()
220 static inline void out_le16(volatile unsigned short *addr, int val) in out_le16() argument
222 __asm__ __volatile__("sync; sthbrx %1,0,%2; sync" : "=m" (*addr) : in out_le16()
223 "r" (val), "r" (addr)); in out_le16()
226 static inline void out_be16(volatile unsigned short *addr, int val) in out_be16() argument
228 __asm__ __volatile__("sync; sth%U0%X0 %1,%0; sync" : "=m" (*addr) : "r" (val)); in out_be16()
231 static inline unsigned in_le32(volatile unsigned *addr) in in_le32() argument
236 "r" (addr), "m" (*addr)); in in_le32()
240 static inline unsigned in_be32(volatile unsigned *addr) in in_be32() argument
244 __asm__ __volatile__("sync; lwz%U1%X1 %0,%1; sync" : "=r" (ret) : "m" (*addr)); in in_be32()
248 static inline void out_le32(volatile unsigned *addr, int val) in out_le32() argument
250 __asm__ __volatile__("sync; stwbrx %1,0,%2; sync" : "=m" (*addr) : in out_le32()
251 "r" (val), "r" (addr)); in out_le32()
254 static inline void out_be32(volatile unsigned *addr, int val) in out_be32() argument
256 __asm__ __volatile__("sync; stw%U0%X0 %1,%0; sync" : "=m" (*addr) : "r" (val)); in out_be32()