ReactOS 0.4.17-dev-1281-g065abb3
bulkio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XhciBulkTransfer
 
class  XhciBulkRing
 

Enumerations

enum class  XhciBulkMechanism : UCHAR { NoData , Immediate , DoubleBuffer , Dma }
 
enum class  XhciBulkCancel : UCHAR { Idle , Armed , CancelRoutinePending , Done }
 

Functions

struct DECLSPEC_ALIGN (8) XhciBulkStage
 

Enumeration Type Documentation

◆ XhciBulkCancel

Cancel handshake state of a request owned by a bulk ring.

Enumerator
Idle 
Armed 
CancelRoutinePending 
Done 

Definition at line 24 of file bulkio.h.

◆ XhciBulkMechanism

How a bulk or interrupt request reaches the hardware.

Enumerator
NoData 
Immediate 
DoubleBuffer 
Dma 

Definition at line 15 of file bulkio.h.

Function Documentation

◆ DECLSPEC_ALIGN()

struct DECLSPEC_ALIGN ( 8  )

One TD on a bulk ring, kept in ring memory. Its address with the endpoint type in bits 1:0 is the Event Data value.

< Bumped per use; upper Event Data dword on 32 bit

< Reserved for Link TRBs, not linked yet

< Filled and left through a Link TRB

< One past the last TRB in LastSegment

Definition at line 1 of file bulkio.h.

37{
39 ULONG Generation;
40 BOOLEAN InUse;
41 BOOLEAN OnHardware;
42 BOOLEAN FreeMdl;
43 XhciTransferRing* Ring;
44 XhciBulkTransfer* Transfer;
45 LIST_ENTRY FreeSegments;
46 LIST_ENTRY UsedSegments;
47 ULONG Size;
48 PMDL Mdl;
52 ULONG BurstTrbBudget;
53 ULONG TrbsReserved;
54 ULONG TrbsWritten;
55 XhciDmaBuffer* FirstSegment;
56 ULONG FirstIndex;
57 XhciDmaBuffer* LastSegment;
58 ULONG EndIndex;
59};
unsigned char BOOLEAN
Definition: actypes.h:127
Definition: bufpool.h:45
static const WCHAR Signature[]
Definition: parser.c:141
Definition: typedefs.h:120
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4539
WDF_EXTERN_C_START typedef _In_ WDFDEVICE _In_ WDFCONTEXT _In_ WDF_DMA_DIRECTION _In_ PSCATTER_GATHER_LIST SgList
_In_ WDFDEVICE _In_ PVOID _In_opt_ PMDL Mdl
struct _SCATTER_GATHER_LIST * PSCATTER_GATHER_LIST
Definition: iotypes.h:2219