|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Classes | |
| struct | _XHCI_COMMAND_TIMER_CONTEXT |
Macros | |
| #define | NDEBUG |
Typedefs | |
| typedef struct _XHCI_COMMAND_TIMER_CONTEXT | XHCI_COMMAND_TIMER_CONTEXT |
| typedef struct _XHCI_COMMAND_TIMER_CONTEXT * | PXHCI_COMMAND_TIMER_CONTEXT |
Functions | |
| WDF_DECLARE_CONTEXT_TYPE_WITH_NAME (XHCI_COMMAND_TIMER_CONTEXT, XhciGetCommandTimerContext) | |
| static NTSTATUS NTAPI | XhciCmdStatusFromCode (_In_ XhciCompletionCode Code) |
| static XhciCommand *NTAPI | XhciCmdFromLink (_In_ PLIST_ENTRY Entry) |
| static VOID NTAPI | XhciCmdCompleteList (_Inout_ PLIST_ENTRY Finished) |
| static VOID NTAPI | XhciCmdWaiterDone (_In_ XhciCommand *Command) |
Variables | |
| static const ULONG | XhciCmdTrbCount = 32 |
| static const ULONG | XhciCmdUsable = XhciCmdTrbCount - 1 |
| static const LONG | XhciCmdTicksInitial = 10 |
| static const LONG | XhciCmdTicksFirstAbort = 5 |
| static const LONG | XhciCmdTicksAbortWait = 5 |
| static const ULONG | XhciCmdTickMs = 1000 |
| static const ULONG | XhciCmdTickSlackMs = 500 |
| static const ULONG | XhciCmdReasonAbortFailed = 0x1009 |
| static const ULONG | XhciCmdReasonOutOfOrder = 0x1012 |
| static const ULONG | XhciCmdReasonDequeueMismatch = 0x1013 |
| static const ULONG | XhciCmdBlockSetAddress = 0x00000200 |
| #define NDEBUG |
Definition at line 10 of file cmdring.cpp.
| WDF_DECLARE_CONTEXT_TYPE_WITH_NAME | ( | XHCI_COMMAND_TIMER_CONTEXT | , |
| XhciGetCommandTimerContext | |||
| ) |
|
static |
Calls Done for every command on the list, in order. No ring lock may be held.
Definition at line 67 of file cmdring.cpp.
Referenced by XhciCommandRing::FailEverything(), XhciCommandRing::HandleRingStopped(), XhciCommandRing::OnCompletionEvent(), XhciCommandRing::OnTimer(), XhciCommandRing::PostReset(), XhciCommandRing::PostResetSuccess(), and XhciCommandRing::Release().
|
static |
Definition at line 57 of file cmdring.cpp.
Referenced by XhciCommandRing::DrainAllLocked(), XhciCommandRing::OnCompletionEvent(), XhciCommandRing::OnTimer(), XhciCommandRing::PostResetSuccess(), XhciCommandRing::RestartStoppedRingLocked(), and XhciCmdCompleteList().
|
static |
Definition at line 42 of file cmdring.cpp.
Referenced by XhciCommandRing::OnCompletionEvent().
|
static |
Definition at line 83 of file cmdring.cpp.
Definition at line 30 of file cmdring.cpp.
Referenced by XhciCommandRing::OnTimer().
Definition at line 25 of file cmdring.cpp.
Referenced by XhciCommandRing::OnTimer().
Definition at line 27 of file cmdring.cpp.
Referenced by XhciCommandRing::HandleRingStopped().
Definition at line 26 of file cmdring.cpp.
Referenced by XhciCommandRing::OnCompletionEvent().
Definition at line 21 of file cmdring.cpp.
Referenced by XhciCommandRing::Create(), and XhciCommandRing::PutOnRingLocked().
Definition at line 20 of file cmdring.cpp.
Referenced by XhciCommandRing::OnTimer().
Definition at line 19 of file cmdring.cpp.
Referenced by XhciCommandRing::OnTimer(), and XhciCommandRing::RestartStoppedRingLocked().
Definition at line 18 of file cmdring.cpp.
Referenced by XhciCommandRing::OnTimer(), XhciCommandRing::PlaceLocked(), XhciCommandRing::PutOnRingLocked(), and XhciCommandRing::RestartStoppedRingLocked().
Definition at line 22 of file cmdring.cpp.
Referenced by XhciCommandRing::Create().
Definition at line 14 of file cmdring.cpp.
Referenced by XhciCommandRing::InitializeRing(), and XhciCommandRing::Prepare().
|
static |
Definition at line 15 of file cmdring.cpp.
Referenced by XhciCommandRing::InitializeRing(), XhciCommandRing::OnCompletionEvent(), XhciCommandRing::PlaceLocked(), XhciCommandRing::Prepare(), XhciCommandRing::PutOnRingLocked(), and XhciCommandRing::RestartStoppedRingLocked().