Lines Matching refs:iobase
71 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1))))
72 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
74 unsigned int __p = (unsigned int)((a)->iobase + ((p)<<1)); \
80 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
81 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r))))
83 unsigned int __p = (unsigned int)((a)->iobase + (p)); \
91 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d)
92 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d)
94 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d)
95 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d)
159 #define SMC_inl(a,r) (SMC_LEON_SWAP32((*(volatile dword *)((a)->iobase+((r)<<0)))))
160 #define SMC_inl_nosw(a,r) ((*(volatile dword *)((a)->iobase+((r)<<0))))
161 #define SMC_inw(a,r) (SMC_LEON_SWAP16((*(volatile word *)((a)->iobase+((r)<<0)))))
162 #define SMC_inw_nosw(a,r) ((*(volatile word *)((a)->iobase+((r)<<0))))
169 #define SMC_outl(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP32(d))
170 #define SMC_outl_nosw(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=(d))
171 #define SMC_outw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP16(d))
172 #define SMC_outw_nosw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=(d))
218 #define SMC_inw(a, r) *((volatile word*)((a)->iobase + (r)))
219 #define SMC_inb(a, r) (*((volatile byte*)((a)->iobase + ((r) ^ 0x01))))
228 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d)
254 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
256 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+((dword)(r)))))
258 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+(r))))
263 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+((r)<<1))) = d)
266 (*((volatile word*)((a)->iobase+((dword)(r)))) = d)
269 (*((volatile word*)((a)->iobase+(r))) = d)
278 #define SMC_outsw(a,r,b,l) outsw((a)->iobase+(r), (b), (l))
290 #define SMC_insw(a,r,b,l) insw((a)->iobase+(r), (b), (l))
307 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r<<1))))
309 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
322 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d)
324 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d)