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

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