|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Enumerations | |
| enum class | XhciBulkStep : ULONG { Normal , Pad , EventData , Done } |
Variables | |
| static const ULONG | XhciBulkStageTag = 'gtSB' |
| static const ULONG | XhciBulkTransferTag = 'rTkB' |
| static const ULONG | XhciBulkPendingStagesMax = 5 |
| static const ULONG | XhciBulkSegmentWaitLimit = 3 |
| static const ULONG | XhciBulkTrbBytesMax = 0x10000 |
| static const ULONG | XhciBulkImmediateBytes = 8 |
| static const ULONG | XhciBulkMinStageSize = 0x10000 |
| static const ULONG | XhciBulkNoOpCount = 8 |
| static const USBD_STATUS | XhciBulkStatusNotSet = (USBD_STATUS)0xFFFFFFFF |
| static const ULONG | XhciBulkReasonEd0Invalid = 0x101F |
| static const ULONG | XhciBulkReasonEd0Duplicate = 0x1020 |
| static const ULONG | XhciBulkAckExpected = 0x01 |
| static const ULONG | XhciBulkHalted = 0x02 |
| static const ULONG | XhciBulkStoppedSeen = 0x04 |
| static const ULONG | XhciBulkCanceled = 0x08 |
| static const ULONG | XhciBulkOkToReclaim = 0x10 |
| static const ULONG | XhciBulkReclaimAck = 0x20 |
| static const LONG | XhciBulkWaitIdle = 0 |
| static const LONG | XhciBulkWaitParked = 1 |
| static const LONG | XhciBulkWaitArrived = 2 |
| static const LONG | XhciBulkWaitAbandoned = 3 |
| #define NDEBUG |
Definition at line 10 of file bulkio.cpp.
|
strong |
| _Requires_lock_held_ | ( | Ring-> | m_Lock | ) |
Finds the stage holding a TRB address; Skipped counts the stages before it.
Stream ring accounting when another stream saw the halt or the stopped event.
Definition at line 1038 of file bulkio.cpp.
| _Requires_lock_not_held_ | ( | Ring-> | m_Lock | ) |
Definition at line 1114 of file bulkio.cpp.
| C_ASSERT | ( | (sizeof(XhciBulkStage) % 8) | = =0 | ) |
| C_ASSERT | ( | alignof(XhciBulkStage) | , |
| XHCI_EVENT_DATA_TYPE_MASK | |||
| ) |
|
static |
Definition at line 111 of file bulkio.cpp.
Referenced by XhciBulkRing::ChooseMechanism(), and XhciBulkRing::EstimateTrbs().
|
static |
Definition at line 188 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed1Event(), and XhciBulkRing::HaltedEvent().
|
static |
Definition at line 93 of file bulkio.cpp.
Referenced by XhciBulkRing::Initialize(), XhciBulkNeedsNoOps(), and XhciBulkPadSize().
|
static |
Event Data value of a stage: its address, the endpoint type, and on 32 bit its generation.
Definition at line 333 of file bulkio.cpp.
Referenced by XhciBulkRing::BuildTd().
Definition at line 60 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed0Event(), and XhciBulkRing::Ed1Event().
Definition at line 82 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed0Event(), and XhciBulkRing::Ed1Event().
|
static |
Definition at line 204 of file bulkio.cpp.
Referenced by XhciBulkRing::AllowReclaimOnCancel(), and XhciBulkRing::RecoverTransfers().
|
static |
Definition at line 148 of file bulkio.cpp.
Referenced by XhciBulkRing::BuildTd(), and XhciBulkRing::EstimateSegments().
Bytes of the split IN rounding pad for a stage of Size bytes, 0 when none applies.
Definition at line 161 of file bulkio.cpp.
Referenced by XhciBulkRing::BuildTd(), and XhciBulkRing::EstimateTrbs().
|
static |
Scans one segment of a stage from Start for the TRB the event names, adding the bytes the stage moved before it. Returns TRUE when the TRB was found.
Definition at line 219 of file bulkio.cpp.
Referenced by XhciBulkStageBytes().
|
static |
|
static |
Definition at line 288 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed0Event().
|
static |
Definition at line 312 of file bulkio.cpp.
Definition at line 348 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed1Event().
|
static |
Definition at line 102 of file bulkio.cpp.
Referenced by _Requires_lock_not_held_(), XhciBulkRing::BuildTd(), XhciBulkRing::EncodeStage(), XhciBulkRing::SizeStage(), and XhciBulkCopyIn().
Worst case number of pages Bytes can touch at any alignment.
Definition at line 122 of file bulkio.cpp.
Referenced by XhciBulkRing::EnableForwardProgress(), and XhciBulkRing::EstimateTrbs().
Definition at line 29 of file bulkio.cpp.
Referenced by XhciBulkRing::ConsumePendingEvents(), XhciBulkRing::Ed1Event(), and XhciBulkRing::HaltedEvent().
Definition at line 32 of file bulkio.cpp.
Referenced by XhciBulkRing::AllowReclaimOnCancel().
Definition at line 30 of file bulkio.cpp.
Referenced by XhciBulkRing::HaltedEvent(), and XhciBulkRing::OnPipeHalted().
Definition at line 19 of file bulkio.cpp.
Referenced by XhciBulkRing::ChooseMechanism(), and XhciBulkRing::Initialize().
Definition at line 20 of file bulkio.cpp.
Referenced by XhciBulkRing::Enable().
Definition at line 21 of file bulkio.cpp.
Referenced by XhciBulkRing::BuildTd().
Definition at line 33 of file bulkio.cpp.
Referenced by XhciBulkRing::AllowReclaimOnCancel().
Definition at line 16 of file bulkio.cpp.
Referenced by XhciBulkRing::Initialize().
Definition at line 26 of file bulkio.cpp.
Definition at line 25 of file bulkio.cpp.
Definition at line 34 of file bulkio.cpp.
Referenced by XhciBulkRing::RecoverTransfers().
Definition at line 17 of file bulkio.cpp.
Referenced by XhciBulkRing::NextTdSlot().
Definition at line 13 of file bulkio.cpp.
Referenced by XhciBulkRing::Initialize().
|
static |
Definition at line 22 of file bulkio.cpp.
Referenced by XhciBulkRing::CompleteBatch(), XhciBulkRing::Ed1Event(), and XhciBulkRing::HaltedEvent().
Definition at line 31 of file bulkio.cpp.
Referenced by XhciBulkRing::Ed0Event(), XhciBulkRing::Ed1Event(), and XhciBulkRing::StoppedEventReceived().
Definition at line 14 of file bulkio.cpp.
Referenced by XhciBulkRing::InitTransfer().
Definition at line 18 of file bulkio.cpp.
Referenced by XhciBulkRing::BuildTd().
Definition at line 40 of file bulkio.cpp.
Referenced by XhciBulkRing::ReleaseParkedMapping(), and XhciBulkRing::SegmentsArrived().
Definition at line 39 of file bulkio.cpp.
Referenced by XhciBulkRing::SegmentsArrived().
Definition at line 37 of file bulkio.cpp.
Referenced by XhciBulkRing::ParkOnSegments(), and XhciBulkRing::SegmentsArrived().
Definition at line 38 of file bulkio.cpp.
Referenced by XhciBulkRing::ParkOnSegments(), XhciBulkRing::ReleaseParkedMapping(), and XhciBulkRing::SegmentsArrived().