class Control

Defined at line 92 of file ../../src/devices/usb/drivers/xhci/registers.h

Control register portion of a TRB (section 4.11.1)

Public Members

 field_Type_94
 field_Cycle_96
 field_EntTC_101

Public Methods

template <, >
typename SelfType::ValueType Type ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 94 of file ../../src/devices/usb/drivers/xhci/registers.h

template <, >
SelfType & set_Type (typename SelfType::ValueType val)

Defined at line 94 of file ../../src/devices/usb/drivers/xhci/registers.h

template <, >
typename SelfType::ValueType Cycle ()

Cycle bit

Defined at line 96 of file ../../src/devices/usb/drivers/xhci/registers.h

template <, >
SelfType & set_Cycle (typename SelfType::ValueType val)

Cycle bit

Defined at line 96 of file ../../src/devices/usb/drivers/xhci/registers.h

template <, >
typename SelfType::ValueType EntTC ()

EntTC -- Evaluate next TRB in chain

(used for scatter-gather chained transfers)

OR

Toggle Cycle for link TRBs

Defined at line 101 of file ../../src/devices/usb/drivers/xhci/registers.h

template <, >
SelfType & set_EntTC (typename SelfType::ValueType val)

EntTC -- Evaluate next TRB in chain

(used for scatter-gather chained transfers)

OR

Toggle Cycle for link TRBs

Defined at line 101 of file ../../src/devices/usb/drivers/xhci/registers.h

hwreg::RegisterAddr<Control> Get ()

Defined at line 140 of file ../../src/devices/usb/drivers/xhci/registers.h

void ToTrb (TRB * trb)

Defined at line 142 of file ../../src/devices/usb/drivers/xhci/registers.h

usb_xhci::Control FromTRB (TRB * trb)

Defined at line 148 of file ../../src/devices/usb/drivers/xhci/registers.h

Enumerations

enum Type
Name Value Comments
Normal 1 --
Setup 2 --
Data 3 --
Status 4 --
Isoch 5 --
Link 6 --
EventData 7 --
Nop 8 --
EnableSlot 9 --
DisableSlot 10 --
AddressDeviceCommand 11 --
ConfigureEndpointCommand 12 --
EvaluateContextCommand 13 --
ResetEndpointCommand 14 --
StopEndpointCommand 15 --
SetTrDequeuePointerCommand 16 --
ResetDeviceCommand 17 --
ForceEventCommand 18

Only supported in virtualized environments

NegotiateBandwidthCommand 19 --
SetLatencyToleranceCommand 20 --
GetPortBandwidthCommand 21 --
ForceHeaderCommand 22 --
NopCommand 23 --
GetExtendedPropertyCommand 24 --
SetExtendedPropertyCommand 25 --
TransferEvent 32 --
CommandCompletionEvent 33 --
PortStatusChangeEvent 34 --
BandwidthRequestEvent 35 --
DoorbellEvent 36

Only supported in virtualized environments

HostControllerEvent 37 --
DeviceNotificationEvent 38 --
MFIndexWrapEvent 39 --

Section 6.4.6

Defined at line 104 of file ../../src/devices/usb/drivers/xhci/registers.h

Records