Go to the documentation of this file.
22 #ifndef _LINUX_USB_C67X00_H
23 #define _LINUX_USB_C67X00_H
26 #define C67X00_SIE_UNUSED 0
27 #define C67X00_SIE_HOST 1
28 #define C67X00_SIE_PERIPHERAL_A 2
29 #define C67X00_SIE_PERIPHERAL_B 3
31 #define c67x00_sie_config(config, n) (((config)>>(4*(n)))&0x3)
33 #define C67X00_SIE1_UNUSED (C67X00_SIE_UNUSED << 0)
34 #define C67X00_SIE1_HOST (C67X00_SIE_HOST << 0)
35 #define C67X00_SIE1_PERIPHERAL_A (C67X00_SIE_PERIPHERAL_A << 0)
36 #define C67X00_SIE1_PERIPHERAL_B (C67X00_SIE_PERIPHERAL_B << 0)
38 #define C67X00_SIE2_UNUSED (C67X00_SIE_UNUSED << 4)
39 #define C67X00_SIE2_HOST (C67X00_SIE_HOST << 4)
40 #define C67X00_SIE2_PERIPHERAL_A (C67X00_SIE_PERIPHERAL_A << 4)
41 #define C67X00_SIE2_PERIPHERAL_B (C67X00_SIE_PERIPHERAL_B << 4)