ReactOS 0.4.17-dev-1281-g065abb3
XhciCommand Struct Reference

#include <cmdring.h>

Collaboration diagram for XhciCommand:

Public Attributes

XHCI_TRB Trb
 
PFN_XHCI_COMMAND_DONE Done
 
PVOID Context
 
XhciCompletionCode Code
 
XHCI_TRB Completion
 
NTSTATUS Status
 
BOOLEAN Internal
 
LIST_ENTRY Link
 
ULONG RingIndex
 
LONG Countdown
 
BOOLEAN Matched
 
PFN_XHCI_COMMAND_DONE WaiterDone
 
PKEVENT WaiterEvent
 

Detailed Description

Submitter fills Trb (minus the cycle bit) and Done. The ring fills Code and Completion, then calls Done at DISPATCH_LEVEL.

Definition at line 19 of file cmdring.h.

Member Data Documentation

◆ Code

XhciCompletionCode XhciCommand::Code

Definition at line 24 of file cmdring.h.

Referenced by XhciCommandRing::RestartStoppedRingLocked().

◆ Completion

XHCI_TRB XhciCommand::Completion

Definition at line 25 of file cmdring.h.

◆ Context

PVOID XhciCommand::Context

◆ Countdown

LONG XhciCommand::Countdown

Timer ticks left before the next abort

Definition at line 35 of file cmdring.h.

Referenced by XhciCommandRing::OnTimer(), and XhciCommandRing::RestartStoppedRingLocked().

◆ Done

◆ Internal

BOOLEAN XhciCommand::Internal

Issued by the driver during D0 entry; a stuck one asks for an internal reset

Definition at line 27 of file cmdring.h.

Referenced by XhciCommandRing::OnTimer().

◆ Link

LIST_ENTRY XhciCommand::Link

Owned by the ring while the command is pending

Definition at line 28 of file cmdring.h.

Referenced by XhciCommandRing::RestartStoppedRingLocked().

◆ Matched

BOOLEAN XhciCommand::Matched

Completion event seen, waiting for in order retirement

Definition at line 36 of file cmdring.h.

◆ RingIndex

ULONG XhciCommand::RingIndex

TRB slot while on the ring

Definition at line 34 of file cmdring.h.

◆ Status

NTSTATUS XhciCommand::Status

STATUS_SUCCESS, or why the command never ran

Definition at line 26 of file cmdring.h.

Referenced by XhciCommandRing::RestartStoppedRingLocked().

◆ Trb

◆ WaiterDone

PFN_XHCI_COMMAND_DONE XhciCommand::WaiterDone

Definition at line 37 of file cmdring.h.

◆ WaiterEvent

PKEVENT XhciCommand::WaiterEvent

Definition at line 38 of file cmdring.h.


The documentation for this struct was generated from the following file: