ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Classes | |
union | _UHCI_PCI_LEGSUP |
union | _UHCI_USB_COMMAND |
union | _UHCI_USB_STATUS |
union | _UHCI_INTERRUPT_ENABLE |
union | _UHCI_PORT_STATUS_CONTROL |
struct | _UHCI_HW_REGISTERS |
union | _UHCI_CONTROL_STATUS |
union | _UHCI_TD_TOKEN |
struct | _UHCI_TD |
struct | _UHCI_QH |
Typedefs | |
typedef union _UHCI_PCI_LEGSUP | UHCI_PCI_LEGSUP |
typedef union _UHCI_USB_COMMAND | UHCI_USB_COMMAND |
typedef union _UHCI_USB_STATUS | UHCI_USB_STATUS |
typedef union _UHCI_INTERRUPT_ENABLE | UHCI_INTERRUPT_ENABLE |
typedef union _UHCI_PORT_STATUS_CONTROL | UHCI_PORT_STATUS_CONTROL |
typedef struct _UHCI_HW_REGISTERS | UHCI_HW_REGISTERS |
typedef struct _UHCI_HW_REGISTERS * | PUHCI_HW_REGISTERS |
typedef union _UHCI_CONTROL_STATUS | UHCI_CONTROL_STATUS |
typedef union _UHCI_TD_TOKEN | UHCI_TD_TOKEN |
typedef struct _UHCI_TD | UHCI_TD |
typedef struct _UHCI_TD * | PUHCI_TD |
typedef struct _UHCI_QH | UHCI_QH |
typedef struct _UHCI_QH * | PUHCI_QH |
Functions | |
C_ASSERT (sizeof(UHCI_PCI_LEGSUP)==sizeof(USHORT)) | |
C_ASSERT (sizeof(UHCI_USB_COMMAND)==sizeof(USHORT)) | |
C_ASSERT (sizeof(UHCI_USB_STATUS)==sizeof(USHORT)) | |
C_ASSERT (sizeof(UHCI_INTERRUPT_ENABLE)==sizeof(USHORT)) | |
C_ASSERT (sizeof(UHCI_PORT_STATUS_CONTROL)==sizeof(USHORT)) | |
C_ASSERT (sizeof(UHCI_CONTROL_STATUS)==sizeof(ULONG)) | |
C_ASSERT (sizeof(UHCI_TD_TOKEN)==sizeof(ULONG)) | |
C_ASSERT (sizeof(UHCI_TD)==16) | |
C_ASSERT (sizeof(UHCI_QH)==8) | |
#define PCI_LEGSUP 0xC0 |
Definition at line 22 of file hardware.h.
#define PCI_LEGSUP_CLEAR_SMI 0x8F00 |
Definition at line 24 of file hardware.h.
#define PCI_LEGSUP_USBPIRQDEN 0x2000 |
Definition at line 23 of file hardware.h.
#define UHCI_FRAME_LIST_MAX_ENTRIES 1024 |
Definition at line 8 of file hardware.h.
#define UHCI_FRBASEADD 4 |
Definition at line 16 of file hardware.h.
#define UHCI_FRNUM 3 |
Definition at line 15 of file hardware.h.
#define UHCI_FRNUM_FRAME_MASK 0x7FF |
Definition at line 102 of file hardware.h.
#define UHCI_FRNUM_INDEX_MASK 0x3FF |
Definition at line 103 of file hardware.h.
#define UHCI_FRNUM_OVERFLOW_LIST 0x400 |
Definition at line 104 of file hardware.h.
#define UHCI_NUM_ROOT_HUB_PORTS 2 |
Definition at line 9 of file hardware.h.
#define UHCI_PORTSC1 8 |
Definition at line 18 of file hardware.h.
#define UHCI_PORTSC2 9 |
Definition at line 19 of file hardware.h.
#define UHCI_QH_ELEMENT_LINK_POINTER_MASK 0xFFFFFFF0 |
Definition at line 218 of file hardware.h.
#define UHCI_QH_ELEMENT_LINK_PTR_QH (1 << 1) |
Definition at line 217 of file hardware.h.
#define UHCI_QH_ELEMENT_LINK_PTR_TD (0 << 1) |
Definition at line 216 of file hardware.h.
#define UHCI_QH_ELEMENT_LINK_PTR_TERMINATE (1 << 0) |
Definition at line 215 of file hardware.h.
#define UHCI_QH_ELEMENT_LINK_PTR_VALID (0 << 0) |
Definition at line 214 of file hardware.h.
#define UHCI_QH_HEAD_LINK_POINTER_MASK 0xFFFFFFF0 |
Definition at line 212 of file hardware.h.
#define UHCI_QH_HEAD_LINK_PTR_QH (1 << 1) |
Definition at line 211 of file hardware.h.
#define UHCI_QH_HEAD_LINK_PTR_TD (0 << 1) |
Definition at line 210 of file hardware.h.
#define UHCI_QH_HEAD_LINK_PTR_TERMINATE (1 << 0) |
Definition at line 209 of file hardware.h.
#define UHCI_QH_HEAD_LINK_PTR_VALID (0 << 0) |
Definition at line 208 of file hardware.h.
#define UHCI_SOFMOD 6 |
Definition at line 17 of file hardware.h.
#define UHCI_TD_LENGTH_INVALID 0x7FE |
Definition at line 149 of file hardware.h.
#define UHCI_TD_LENGTH_NULL 0x7FF |
Definition at line 150 of file hardware.h.
#define UHCI_TD_LINK_POINTER_MASK 0xFFFFFFF0 |
Definition at line 196 of file hardware.h.
#define UHCI_TD_LINK_PTR_BREADTH_FIRST (0 << 2) |
Definition at line 194 of file hardware.h.
#define UHCI_TD_LINK_PTR_DEPTH_FIRST (1 << 2) |
Definition at line 195 of file hardware.h.
#define UHCI_TD_LINK_PTR_QH (1 << 1) |
Definition at line 193 of file hardware.h.
#define UHCI_TD_LINK_PTR_TD (0 << 1) |
Definition at line 192 of file hardware.h.
#define UHCI_TD_LINK_PTR_TERMINATE (1 << 0) |
Definition at line 191 of file hardware.h.
#define UHCI_TD_LINK_PTR_VALID (0 << 0) |
Definition at line 190 of file hardware.h.
#define UHCI_TD_PID_DATA0 0 |
Definition at line 173 of file hardware.h.
#define UHCI_TD_PID_DATA1 1 |
Definition at line 174 of file hardware.h.
#define UHCI_TD_PID_IN 0x69 |
Definition at line 169 of file hardware.h.
#define UHCI_TD_PID_OUT 0xE1 |
Definition at line 170 of file hardware.h.
#define UHCI_TD_PID_SETUP 0x2D |
Definition at line 171 of file hardware.h.
#define UHCI_TD_STS_ACTIVE (1 << 7) |
Definition at line 139 of file hardware.h.
#define UHCI_TD_STS_BABBLE_DETECTED (1 << 4) |
Definition at line 142 of file hardware.h.
#define UHCI_TD_STS_BITSTUFF_ERROR (1 << 1) |
Definition at line 145 of file hardware.h.
#define UHCI_TD_STS_DATA_BUFFER_ERROR (1 << 5) |
Definition at line 141 of file hardware.h.
#define UHCI_TD_STS_NAK_RECEIVED (1 << 3) |
Definition at line 143 of file hardware.h.
#define UHCI_TD_STS_STALLED (1 << 6) |
Definition at line 140 of file hardware.h.
#define UHCI_TD_STS_TIMEOUT_CRC_ERROR (1 << 2) |
Definition at line 144 of file hardware.h.
#define UHCI_TD_VALID_LENGTH 0x4FF |
Definition at line 148 of file hardware.h.
#define UHCI_USB_STATUS_MASK 0x3F |
Definition at line 70 of file hardware.h.
#define UHCI_USBCMD 0 |
Definition at line 12 of file hardware.h.
#define UHCI_USBINTR 2 |
Definition at line 14 of file hardware.h.
#define UHCI_USBSTS 1 |
Definition at line 13 of file hardware.h.
typedef struct _UHCI_HW_REGISTERS * PUHCI_HW_REGISTERS |
typedef union _UHCI_CONTROL_STATUS UHCI_CONTROL_STATUS |
typedef union _UHCI_INTERRUPT_ENABLE UHCI_INTERRUPT_ENABLE |
typedef union _UHCI_PCI_LEGSUP UHCI_PCI_LEGSUP |
typedef union _UHCI_PORT_STATUS_CONTROL UHCI_PORT_STATUS_CONTROL |
typedef union _UHCI_TD_TOKEN UHCI_TD_TOKEN |
typedef union _UHCI_USB_COMMAND UHCI_USB_COMMAND |
typedef union _UHCI_USB_STATUS UHCI_USB_STATUS |
C_ASSERT | ( | sizeof(UHCI_CONTROL_STATUS) | = =sizeof(ULONG) | ) |
C_ASSERT | ( | sizeof(UHCI_INTERRUPT_ENABLE) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(UHCI_PCI_LEGSUP) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(UHCI_PORT_STATUS_CONTROL) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(UHCI_TD_TOKEN) | = =sizeof(ULONG) | ) |
C_ASSERT | ( | sizeof(UHCI_USB_COMMAND) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(UHCI_USB_STATUS) | = =sizeof(USHORT) | ) |