Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bits.h File Reference
#include <linux/usb/ehci_def.h>

Go to the source code of this file.

Macros

#define HCCPARAMS_LEN   BIT(17)
 
#define DCCPARAMS_DEN   (0x1F << 0)
 
#define DCCPARAMS_DC   BIT(7)
 
#define DCCPARAMS_HC   BIT(8)
 
#define TESTMODE_FORCE   BIT(0)
 
#define USBCMD_RS   BIT(0)
 
#define USBCMD_RST   BIT(1)
 
#define USBCMD_SUTW   BIT(13)
 
#define USBCMD_ATDTW   BIT(14)
 
#define USBi_UI   BIT(0)
 
#define USBi_UEI   BIT(1)
 
#define USBi_PCI   BIT(2)
 
#define USBi_URI   BIT(6)
 
#define USBi_SLI   BIT(8)
 
#define DEVICEADDR_USBADRA   BIT(24)
 
#define DEVICEADDR_USBADR   (0x7FUL << 25)
 
#define PORTSC_FPR   BIT(6)
 
#define PORTSC_SUSP   BIT(7)
 
#define PORTSC_HSP   BIT(9)
 
#define PORTSC_PTC   (0x0FUL << 16)
 
#define DEVLC_PSPD   (0x03UL << 25)
 
#define DEVLC_PSPD_HS   (0x02UL << 25)
 
#define OTGSC_IDPU   BIT(5)
 
#define OTGSC_ID   BIT(8)
 
#define OTGSC_AVV   BIT(9)
 
#define OTGSC_ASV   BIT(10)
 
#define OTGSC_BSV   BIT(11)
 
#define OTGSC_BSE   BIT(12)
 
#define OTGSC_IDIS   BIT(16)
 
#define OTGSC_AVVIS   BIT(17)
 
#define OTGSC_ASVIS   BIT(18)
 
#define OTGSC_BSVIS   BIT(19)
 
#define OTGSC_BSEIS   BIT(20)
 
#define OTGSC_IDIE   BIT(24)
 
#define OTGSC_AVVIE   BIT(25)
 
#define OTGSC_ASVIE   BIT(26)
 
#define OTGSC_BSVIE   BIT(27)
 
#define OTGSC_BSEIE   BIT(28)
 
#define USBMODE_CM   (0x03UL << 0)
 
#define USBMODE_CM_DC   (0x02UL << 0)
 
#define USBMODE_SLOM   BIT(3)
 
#define USBMODE_CI_SDIS   BIT(4)
 
#define ENDPTCTRL_RXS   BIT(0)
 
#define ENDPTCTRL_RXT   (0x03UL << 2)
 
#define ENDPTCTRL_RXR   BIT(6) /* reserved for port 0 */
 
#define ENDPTCTRL_RXE   BIT(7)
 
#define ENDPTCTRL_TXS   BIT(16)
 
#define ENDPTCTRL_TXT   (0x03UL << 18)
 
#define ENDPTCTRL_TXR   BIT(22) /* reserved for port 0 */
 
#define ENDPTCTRL_TXE   BIT(23)
 

Macro Definition Documentation

#define DCCPARAMS_DC   BIT(7)

Definition at line 23 of file bits.h.

#define DCCPARAMS_DEN   (0x1F << 0)

Definition at line 22 of file bits.h.

#define DCCPARAMS_HC   BIT(8)

Definition at line 24 of file bits.h.

#define DEVICEADDR_USBADR   (0x7FUL << 25)

Definition at line 44 of file bits.h.

#define DEVICEADDR_USBADRA   BIT(24)

Definition at line 43 of file bits.h.

#define DEVLC_PSPD   (0x03UL << 25)

Definition at line 53 of file bits.h.

#define DEVLC_PSPD_HS   (0x02UL << 25)

Definition at line 54 of file bits.h.

#define ENDPTCTRL_RXE   BIT(7)

Definition at line 84 of file bits.h.

#define ENDPTCTRL_RXR   BIT(6) /* reserved for port 0 */

Definition at line 83 of file bits.h.

#define ENDPTCTRL_RXS   BIT(0)

Definition at line 81 of file bits.h.

#define ENDPTCTRL_RXT   (0x03UL << 2)

Definition at line 82 of file bits.h.

#define ENDPTCTRL_TXE   BIT(23)

Definition at line 88 of file bits.h.

#define ENDPTCTRL_TXR   BIT(22) /* reserved for port 0 */

Definition at line 87 of file bits.h.

#define ENDPTCTRL_TXS   BIT(16)

Definition at line 85 of file bits.h.

#define ENDPTCTRL_TXT   (0x03UL << 18)

Definition at line 86 of file bits.h.

#define HCCPARAMS_LEN   BIT(17)

Definition at line 19 of file bits.h.

#define OTGSC_ASV   BIT(10)

Definition at line 60 of file bits.h.

#define OTGSC_ASVIE   BIT(26)

Definition at line 70 of file bits.h.

#define OTGSC_ASVIS   BIT(18)

Definition at line 65 of file bits.h.

#define OTGSC_AVV   BIT(9)

Definition at line 59 of file bits.h.

#define OTGSC_AVVIE   BIT(25)

Definition at line 69 of file bits.h.

#define OTGSC_AVVIS   BIT(17)

Definition at line 64 of file bits.h.

#define OTGSC_BSE   BIT(12)

Definition at line 62 of file bits.h.

#define OTGSC_BSEIE   BIT(28)

Definition at line 72 of file bits.h.

#define OTGSC_BSEIS   BIT(20)

Definition at line 67 of file bits.h.

#define OTGSC_BSV   BIT(11)

Definition at line 61 of file bits.h.

#define OTGSC_BSVIE   BIT(27)

Definition at line 71 of file bits.h.

#define OTGSC_BSVIS   BIT(19)

Definition at line 66 of file bits.h.

#define OTGSC_ID   BIT(8)

Definition at line 58 of file bits.h.

#define OTGSC_IDIE   BIT(24)

Definition at line 68 of file bits.h.

#define OTGSC_IDIS   BIT(16)

Definition at line 63 of file bits.h.

#define OTGSC_IDPU   BIT(5)

Definition at line 57 of file bits.h.

#define PORTSC_FPR   BIT(6)

Definition at line 47 of file bits.h.

#define PORTSC_HSP   BIT(9)

Definition at line 49 of file bits.h.

#define PORTSC_PTC   (0x0FUL << 16)

Definition at line 50 of file bits.h.

#define PORTSC_SUSP   BIT(7)

Definition at line 48 of file bits.h.

#define TESTMODE_FORCE   BIT(0)

Definition at line 27 of file bits.h.

#define USBCMD_ATDTW   BIT(14)

Definition at line 33 of file bits.h.

#define USBCMD_RS   BIT(0)

Definition at line 30 of file bits.h.

#define USBCMD_RST   BIT(1)

Definition at line 31 of file bits.h.

#define USBCMD_SUTW   BIT(13)

Definition at line 32 of file bits.h.

#define USBi_PCI   BIT(2)

Definition at line 38 of file bits.h.

#define USBi_SLI   BIT(8)

Definition at line 40 of file bits.h.

#define USBi_UEI   BIT(1)

Definition at line 37 of file bits.h.

#define USBi_UI   BIT(0)

Definition at line 36 of file bits.h.

#define USBi_URI   BIT(6)

Definition at line 39 of file bits.h.

#define USBMODE_CI_SDIS   BIT(4)

Definition at line 78 of file bits.h.

#define USBMODE_CM   (0x03UL << 0)

Definition at line 75 of file bits.h.

#define USBMODE_CM_DC   (0x02UL << 0)

Definition at line 76 of file bits.h.

#define USBMODE_SLOM   BIT(3)

Definition at line 77 of file bits.h.