Lines Matching refs:BYTES
155 #define __EMIPS_bus_space_read_multi(BYTES,BITS) \
156 static __inline void __CONCAT(bus_space_read_multi_,BYTES) \
161 __CONCAT(bus_space_read_multi_,BYTES)( \
170 *a++ = __CONCAT(bus_space_read_,BYTES)(t, h, o); \
189 #define __EMIPS_bus_space_read_region(BYTES,BITS) \
190 static __inline void __CONCAT(bus_space_read_region_,BYTES) \
195 __CONCAT(bus_space_read_region_,BYTES)( \
204 *a++ = __CONCAT(bus_space_read_,BYTES)(t, h, o); \
205 o += BYTES; \
254 #define __EMIPS_bus_space_write_multi(BYTES,BITS) \
255 static __inline void __CONCAT(bus_space_write_multi_,BYTES) \
260 __CONCAT(bus_space_write_multi_,BYTES)( \
269 __CONCAT(bus_space_write_,BYTES)(t, h, o, *a++); \
287 #define __EMIPS_bus_space_write_region(BYTES,BITS) \
288 static __inline void __CONCAT(bus_space_write_region_,BYTES) \
293 __CONCAT(bus_space_write_region_,BYTES)( \
302 __CONCAT(bus_space_write_,BYTES)(t, h, o, *a++); \
303 o += BYTES; \
322 #define __EMIPS_bus_space_set_multi(BYTES,BITS) \
323 static __inline void __CONCAT(bus_space_set_multi_,BYTES) \
328 __CONCAT(bus_space_set_multi_,BYTES)( \
337 __CONCAT(bus_space_write_,BYTES)(t, h, o, v); \
355 #define __EMIPS_bus_space_set_region(BYTES,BITS) \
356 static __inline void __CONCAT(bus_space_set_region_,BYTES) \
361 __CONCAT(bus_space_set_region_,BYTES)( \
370 __CONCAT(bus_space_write_,BYTES)(t, h, o, v); \
371 o += BYTES; \
391 #define __EMIPS_copy_region(BYTES) \
392 static __inline void __CONCAT(bus_space_copy_region_,BYTES) \
399 __CONCAT(bus_space_copy_region_,BYTES)( \
411 for (o = 0; c != 0; c--, o += BYTES) \
412 __CONCAT(bus_space_write_,BYTES)(t, h2, o2 + o, \
413 __CONCAT(bus_space_read_,BYTES)(t, h1, o1 + o)); \
416 for (o = (c - 1) * BYTES; c != 0; c--, o -= BYTES) \
417 __CONCAT(bus_space_write_,BYTES)(t, h2, o2 + o, \
418 __CONCAT(bus_space_read_,BYTES)(t, h1, o1 + o)); \