Lines Matching defs:r

71 #define	SMC_inl(a,r)	(*((volatile dword *)((a)->iobase+((r)<<1))))  argument
72 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1)))) argument
80 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r)))) argument
81 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r)))) argument
91 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument
92 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d) argument
94 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d) argument
95 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) argument
98 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \ argument
105 #define SMC_outsl(a,r,b,l) ({ int __i; \ argument
113 #define SMC_outsw(a,r,b,l) ({ int __i; \ argument
121 #define SMC_insl(a,r,b,l) ({ int __i ; \ argument
130 #define SMC_insw(a,r,b,l) ({ int __i ; \ argument
139 #define SMC_insb(a,r,b,l) ({ int __i ; \ argument
159 #define SMC_inl(a,r) (SMC_LEON_SWAP32((*(volatile dword *)((a)->iobase+((r)<<0))))) argument
160 #define SMC_inl_nosw(a,r) ((*(volatile dword *)((a)->iobase+((r)<<0)))) argument
161 #define SMC_inw(a,r) (SMC_LEON_SWAP16((*(volatile word *)((a)->iobase+((r)<<0))))) argument
162 #define SMC_inw_nosw(a,r) ((*(volatile word *)((a)->iobase+((r)<<0)))) argument
169 #define SMC_outl(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP32(d)) argument
170 #define SMC_outl_nosw(a,d,r) (*(volatile dword *)((a)->iobase+((r)<<0))=(d)) argument
171 #define SMC_outw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP16(d)) argument
172 #define SMC_outw_nosw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=(d)) argument
173 #define SMC_outb(a,d,r) do{ word __d = (byte)(d); \ argument
179 #define SMC_outsl(a,r,b,l) do{ int __i; \ argument
186 #define SMC_outsw(a,r,b,l) do{ int __i; \ argument
193 #define SMC_insl(a,r,b,l) do{ int __i ; \ argument
201 #define SMC_insw(a,r,b,l) do{ int __i ; \ argument
209 #define SMC_insb(a,r,b,l) do{ int __i ; \ argument
218 #define SMC_inw(a, r) *((volatile word*)((a)->iobase + (r))) argument
219 #define SMC_inb(a, r) (*((volatile byte*)((a)->iobase + ((r) ^ 0x01)))) argument
220 #define SMC_insw(a, r, b, l) \ argument
228 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d) argument
229 #define SMC_outb(a, d, r) ({ word __d = (byte)(d); \ argument
237 #define SMC_outsw(a, r, b, l) \ argument
254 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1)))) argument
256 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+((dword)(r))))) argument
258 #define SMC_inw(a, r) (*((volatile word*)((a)->iobase+(r)))) argument
260 #define SMC_inb(a,r) (((r)&1) ? SMC_inw((a),(r)&~1)>>8 : SMC_inw((a),(r)&0xFF)) argument
263 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+((r)<<1))) = d) argument
265 #define SMC_outw(a, d, r) \ argument
268 #define SMC_outw(a, d, r) \ argument
271 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \ argument
280 #define SMC_outsw(a,r,b,l) ({ int __i; \ argument
292 #define SMC_insw(a,r,b,l) ({ int __i ; \ argument
307 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r<<1)))) argument
309 #define SMC_inl(a,r) (*((volatile dword *)((a)->iobase+(r)))) argument
312 #define SMC_insl(a,r,b,l) ({ int __i ; \ argument
322 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument
324 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d) argument
326 #define SMC_outsl(a,r,b,l) ({ int __i; \ argument