Lines Matching refs:word
46 typedef unsigned short word; typedef
73 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
82 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r))))
93 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d)
96 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d)
99 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \
100 word __w = SMC_inw((a),(r)&~1); \
115 word *__b2; \
116 __b2 = (word *) b; \
132 word *__b2; \
133 __b2 = (word *) b; \
151 #define SMC_LEON_SWAP16(_x_) ({ word _x = (_x_); ((_x << 8) | (_x >> 8)); })
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))))
165 word ___v = SMC_inw((a),(p) & ~1); \
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))
174 #define SMC_outb(a,d,r) do{ word __d = (byte)(d); \
175 word __w = SMC_inw((a),(r)&~1); \
188 word *__b2; \
189 __b2 = (word *) b; \
203 word *__b2; \
204 __b2 = (word *) b; \
218 #define SWAB7206(x) ({ word __x = x; ((__x << 8)|(__x >> 8)); })
219 #define SMC_inw(a, r) *((volatile word*)((a)->iobase + (r)))
224 word *__b2 = (word *)(b); \
229 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d)
230 #define SMC_outb(a, d, r) ({ word __d = (byte)(d); \
231 word __w = SMC_inw((a), ((r)&(~1))); \
241 word *__b2 = (word *)(b); \
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)
272 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \
273 word __w = SMC_inw((a),(r)&~1); \
282 word *__b2; \
283 __b2 = (word *) b; \
294 word *__b2; \
295 __b2 = (word *) b; \