Lines Matching refs:word
45 typedef unsigned short word; typedef
72 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+((r)<<1))))
81 #define SMC_inw(a,r) (*((volatile word *)((a)->iobase+(r))))
92 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d)
95 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d)
98 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \
99 word __w = SMC_inw((a),(r)&~1); \
114 word *__b2; \
115 __b2 = (word *) b; \
131 word *__b2; \
132 __b2 = (word *) b; \
150 #define SMC_LEON_SWAP16(_x_) ({ word _x = (_x_); ((_x << 8) | (_x >> 8)); })
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))))
164 word ___v = SMC_inw((a),(p) & ~1); \
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))
173 #define SMC_outb(a,d,r) do{ word __d = (byte)(d); \
174 word __w = SMC_inw((a),(r)&~1); \
187 word *__b2; \
188 __b2 = (word *) b; \
202 word *__b2; \
203 __b2 = (word *) b; \
217 #define SWAB7206(x) ({ word __x = x; ((__x << 8)|(__x >> 8)); })
218 #define SMC_inw(a, r) *((volatile word*)((a)->iobase + (r)))
223 word *__b2 = (word *)(b); \
228 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d)
229 #define SMC_outb(a, d, r) ({ word __d = (byte)(d); \
230 word __w = SMC_inw((a), ((r)&(~1))); \
240 word *__b2 = (word *)(b); \
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)
271 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \
272 word __w = SMC_inw((a),(r)&~1); \
281 word *__b2; \
282 __b2 = (word *) b; \
293 word *__b2; \
294 __b2 = (word *) b; \