class XhciHarness

Defined at line 325 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

Protected Members

FakeUsbBus bus_

Public Methods

FakeTRB * CreateTRB ()

Defined at line 327 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

FakeTRB * CreateTRBs (size_t count)

Defined at line 335 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

size_t GetMaxDeviceCount ()

Defined at line 344 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

void RequestQueue (TestRequest request)

Defined at line 346 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

template <typename Callback>
zx_status_t AllocateRequest (std::optional<TestRequest> * request, uint32_t device_id, uint64_t data_size, uint8_t endpoint, Callback callback)

Defined at line 349 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

uint8_t AllocateSlot ()

Defined at line 375 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

FakeUsbDevice ConnectDevice (uint8_t port, usb_speed_t speed)

Defined at line 385 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

void EnableEndpoint (uint32_t device_id, uint8_t ep_num, bool is_in_endpoint)

Defined at line 399 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

zx_status_t CompleteCommand (TRB * trb, CommandCompletionEvent * event)

Defined at line 406 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

void SetDoorbellListener (fit::function<void (uint8_t, uint8_t)> listener)

Defined at line 416 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

FakeTRB * crcr_next ()

Defined at line 422 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

void ~XhciHarness ()

Defined at line 427 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

fdf_testing::ForegroundDriverTest<XhciTestConfig> & driver_test ()

Defined at line 429 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc