• Home
  • Raw
  • Download

Lines Matching refs:BIT

32 #define HCCPARAMS_LEN         BIT(17)
36 #define DCCPARAMS_DC BIT(7)
37 #define DCCPARAMS_HC BIT(8)
40 #define TESTMODE_FORCE BIT(0)
43 #define USBCMD_RS BIT(0)
44 #define USBCMD_RST BIT(1)
45 #define USBCMD_SUTW BIT(13)
46 #define USBCMD_ATDTW BIT(14)
49 #define USBi_UI BIT(0)
50 #define USBi_UEI BIT(1)
51 #define USBi_PCI BIT(2)
52 #define USBi_URI BIT(6)
53 #define USBi_SLI BIT(8)
56 #define DEVICEADDR_USBADRA BIT(24)
69 #define PORTSC_CCS BIT(0)
70 #define PORTSC_CSC BIT(1)
71 #define PORTSC_PEC BIT(3)
72 #define PORTSC_OCC BIT(5)
73 #define PORTSC_FPR BIT(6)
74 #define PORTSC_SUSP BIT(7)
75 #define PORTSC_HSP BIT(9)
76 #define PORTSC_PP BIT(12)
78 #define PORTSC_WKCN BIT(20)
79 #define PORTSC_PHCD(d) ((d) ? BIT(22) : BIT(23))
81 #define PORTSC_PFSC BIT(24)
83 (u32)((((d) & 0x3) << 30) | (((d) & 0x4) ? BIT(25) : 0))
84 #define PORTSC_PTW BIT(28)
85 #define PORTSC_STS BIT(29)
91 #define DEVLC_PFSC BIT(23)
94 #define DEVLC_PTW BIT(27)
95 #define DEVLC_STS BIT(28)
105 #define OTGSC_IDPU BIT(5)
106 #define OTGSC_HADP BIT(6)
107 #define OTGSC_HABA BIT(7)
108 #define OTGSC_ID BIT(8)
109 #define OTGSC_AVV BIT(9)
110 #define OTGSC_ASV BIT(10)
111 #define OTGSC_BSV BIT(11)
112 #define OTGSC_BSE BIT(12)
113 #define OTGSC_IDIS BIT(16)
114 #define OTGSC_AVVIS BIT(17)
115 #define OTGSC_ASVIS BIT(18)
116 #define OTGSC_BSVIS BIT(19)
117 #define OTGSC_BSEIS BIT(20)
118 #define OTGSC_1MSIS BIT(21)
119 #define OTGSC_DPIS BIT(22)
120 #define OTGSC_IDIE BIT(24)
121 #define OTGSC_AVVIE BIT(25)
122 #define OTGSC_ASVIE BIT(26)
123 #define OTGSC_BSVIE BIT(27)
124 #define OTGSC_BSEIE BIT(28)
125 #define OTGSC_1MSIE BIT(29)
126 #define OTGSC_DPIE BIT(30)
137 #define USBMODE_SLOM BIT(3)
138 #define USBMODE_CI_SDIS BIT(4)
141 #define ENDPTCTRL_RXS BIT(0)
143 #define ENDPTCTRL_RXR BIT(6) /* reserved for port 0 */
144 #define ENDPTCTRL_RXE BIT(7)
145 #define ENDPTCTRL_TXS BIT(16)
147 #define ENDPTCTRL_TXR BIT(22) /* reserved for port 0 */
148 #define ENDPTCTRL_TXE BIT(23)