class XhciHarness

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

Protected Members

FakeUsbBus bus_

Public Methods

FakeTRB * CreateTRB ()

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

FakeTRB * CreateTRBs (size_t count)

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

size_t GetMaxDeviceCount ()

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

void RequestQueue (TestRequest request)

Defined at line 347 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 364 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

uint8_t AllocateSlot ()

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

FakeUsbDevice ConnectDevice (uint8_t port, usb_speed_t speed)

Defined at line 400 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 414 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

zx_status_t CompleteCommand (TRB * trb, CommandCompletionEvent * event)

Defined at line 421 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 431 of file ../../src/devices/usb/drivers/xhci/tests/usb-xhci-test.cc

FakeTRB * crcr_next ()

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

void ~XhciHarness ()

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

fdf_testing::ForegroundDriverTest<XhciTestConfig> & driver_test ()

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