Lines Matching refs:iobase
72 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+((r)<<1))))
73 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
75 unsigned int __p = (unsigned int)((a)->iobase + ((p)<<1)); \
81 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
82 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r))))
84 unsigned int __p = (unsigned int)((a)->iobase + (p)); \
92 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d)
93 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d)
95 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d)
96 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d)
160 #define SMC_inl(a,r) (SMC_LEON_SWAP32((*(volatile dword *)((a)->iobase+((r)<<0)))))
161 #define SMC_inl_nosw(a,r) ((*(volatile dword *)((a)->iobase+((r)<<0))))
162 #define SMC_inw(a,r) (SMC_LEON_SWAP16((*(volatile word *)((a)->iobase+((r)<<0)))))
163 #define SMC_inw_nosw(a,r) ((*(volatile word *)((a)->iobase+((r)<<0))))
170 #define SMC_outl(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP32(d))
171 #define SMC_outl_nosw(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=(d))
172 #define SMC_outw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP16(d))
173 #define SMC_outw_nosw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=(d))
219 #define SMC_inw(a, r) *((volatile word*)((a)->iobase + (r)))
220 #define SMC_inb(a, r) (*((volatile byte*)((a)->iobase + ((r) ^ 0x01))))
229 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d)
255 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
257 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+((dword)(r)))))
259 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+(r))))
264 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+((r)<<1))) = d)
267 (*((volatile word*)((a)->iobase+((dword)(r)))) = d)
270 (*((volatile word*)((a)->iobase+(r))) = d)
279 #define SMC_outsw(a,r,b,l) outsw((a)->iobase+(r), (b), (l))
291 #define SMC_insw(a,r,b,l) insw((a)->iobase+(r), (b), (l))
308 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r<<1))))
310 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r))))
323 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d)
325 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d)