Enumerations
enum CommandType
| Name | Value |
|---|---|
| EnumerateDevice | 0 |
| ResetEndpoint | 1 |
Defined at line 28 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
Records
-
class AddressDeviceStruct -
class AsyncState -
class CONFIG -
class CRCR -
class CapLength -
class CapabilityRegWord0 -
class CapabilityRegWord2 -
class Command -
class CommandCompletionEvent -
class CommandRing -
class ContiguousTRBInfo -
class Control -
class ControlData -
class DCBAAP -
class DOORBELL -
class DeviceState -
class DisableSlot -
class DoorbellOffset -
class ERDP -
class ERSTBA -
class ERSTEntry -
class ERSTSZ -
class EmptyTestConfig -
class EmptyTestEnvironment -
class Endpoint -
class EndpointContext -
class EndpointHarness -
class EndpointHarness_Empty_Test -
class EndpointHarness_GetInfo_Test -
class EndpointHarness_Init_Test -
class EndpointHarness_QueueControlRequest_Test -
class EndpointHarness_QueueNormalRequest_Test -
class EnumerationTests -
class EnumerationTests_AddressDeviceCommandPassesThroughFailureCode_Test -
class EnumerationTests_AddressDeviceCommandReturnsErrorOnFailure_Test -
class EnumerationTests_AddressDeviceCommandShouldOnlineDeviceAfterSuccessfulRetry_Test -
class EnumerationTests_AddressDeviceCommandShouldOnlineDeviceUponCompletion_Test -
class EnumerationTests_DisableSlotAfterFailedRetry_Test -
class EnumerationTests_EnableSlotCommandPassesThroughFailureCode_Test -
class EnumerationTests_EnableSlotCommandReturnsIOErrorOnFailure_Test -
class EnumerationTests_EnableSlotCommandSetsDeviceInformationOnSuccess_Test -
class EventRing -
class EventRingHarness -
class EventRingHarness_BadHubStallOnDtDeviceQualifier_Test -
class EventRingHarness_NormalStall_Test -
class EventRingHarness_ShortTransferTest_Test -
class EventRingHarness_USB2DeviceAttachBadStateTransition_Test -
class EventRingHarness_USB2DeviceAttach_Test -
class EventRingHarness_Usb3DeviceAttach_Test -
class EventRingSegmentTable -
class FakeDevice -
class FakePhysAddr -
class FakeTRB -
class FakeUsbBus -
class FakeUsbDevice -
class FakeVMO -
class HCCPARAMS1 -
class HCSPARAMS1 -
class HCSPARAMS2 -
class HciVersion -
class HubInfo -
class IMAN -
class IMODI -
class InputContextControlField -
class Inspect -
class Interrupter -
class Isoch -
class MFINDEX -
class Normal -
class PORTSC -
class PortState -
class PortStatusChangeEvent -
class PortStatusChangeState -
class ResetEndpoint -
class RuntimeRegisterOffset -
class SetTRDequeuePointer -
class Setup -
class SlotContext -
class Status -
class StopEndpoint -
class TRB -
class TRBContext -
class TestState -
class TransferEvent -
class TransferRing -
class TransferRingHarness -
class TransferRingHarness_AllocateContiguousAllocatesContiguousBlocks_Test -
class TransferRingHarness_AllocateContiguousFailsIfNotEnoughContiguousPhysicalMemoryExists_Test -
class TransferRingHarness_CanHandleConsecutiveLinks_Test -
class TransferRingHarness_CorruptedTransferRingShortTransferTest_Test -
class TransferRingHarness_EmptyShortTransferTest_Test -
class TransferRingHarness_First_Test -
class TransferRingHarness_MultiPageShortTransferTest_Test -
class TransferRingHarness_Peek_Test -
class TransferRingHarness_SetStall_Test -
class USBCMD -
class USBSTS -
class USB_PAGESIZE -
class UsbXhci -
class XECP -
class XhciHarness -
class XhciMmioHarness -
class XhciMmioHarness_CancelAllOnDisabledEndpoint_Test -
class XhciMmioHarness_GetMaxDeviceCount_Test -
class XhciMmioHarness_QueueControlRequest_Test -
class XhciMmioHarness_QueueNormalRequest_Test -
class XhciMmioHarness_ResetEndpointFailsIfNotStalled_Test -
class XhciMmioHarness_ResetEndpointTestSuccessCase_Test -
class XhciTestConfig -
class XhciTestEnvironment -
class tt_info_t
Functions
-
uint8_t XhciEndpointIndex (uint8_t ep_address)Defined at line 19 of file ../../src/devices/usb/drivers/xhci/xhci-endpoint.h
-
fpromise::promise<usb_device_descriptor_t, zx_status_t> GetDeviceDescriptor (UsbXhci * hci, uint8_t slot_id, uint16_t length)Defined at line 23 of file ../../src/devices/usb/drivers/xhci/xhci-enumeration.cc
-
uint8_t XhciEndpointIndexInverse (uint8_t idx)Inverse of XhciEndpointIndex. In particular takes an XhciEndpointIndex and returns ep_address.
Defined at line 29 of file ../../src/devices/usb/drivers/xhci/xhci-endpoint.h
-
void InvalidatePageCache (void * addr, uint32_t options)Defined at line 43 of file ../../src/devices/usb/drivers/xhci/usb-xhci.h
-
fpromise::promise<uint8_t, zx_status_t> GetMaxPacketSize (UsbXhci * hci, uint8_t slot_id)Defined at line 62 of file ../../src/devices/usb/drivers/xhci/xhci-enumeration.cc
-
TRBPromise UpdateMaxPacketSize (UsbXhci * hci, uint8_t slot_id)Defined at line 72 of file ../../src/devices/usb/drivers/xhci/xhci-enumeration.cc
-
fpromise::promise<void, zx_status_t> RetryEnumeration (UsbXhci * hci, uint8_t port, std::optional<HubInfo> hub_info, const fbl::RefPtr<AsyncState> & state)Retries enumeration if we get a USB transaction error.
See section 4.3 of revision 1.2 of the xHCI specification for details
Defined at line 87 of file ../../src/devices/usb/drivers/xhci/xhci-enumeration.cc
-
fpromise::promise<void, zx_status_t> EnumerateDevice (UsbXhci * hciuint8_t portstd::optional<HubInfo> hub_info)Defined at line 334 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
Variables
fdf::MmioBuffer kInterruptorMmio
Defined at line 331 of file ../../src/devices/usb/drivers/xhci/tests/xhci-enumeration-test.cc