5 *----------------------------------------------------------------------------
6 * Common includes for USB Host Controllers
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
12 /* Macros to swap bit defines, constants & variables */
13 #define SWB(x) ((x+16) & 31)
14 #define SWC(x) ((x>>16)|((x & 0xffff)<<16))
15 #define SWW(x) ((x>>16)|(x<<16))
16 #define L2U(x) (x<<16)
17 #define U2L(x) (x>>16)
21 #define PID_SETUP 0x2d
23 #endif /* HCCOMMON_H */