class EventRingHarness

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

Public Methods

void EventRingHarness ()

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

void SetUp ()

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

void TearDown ()

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

void Interrupt ()

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

void AddTRB (const TRB & trb)

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

void ConnectDevice ()

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

void DisconnectDevice ()

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

void MakeQuantumPort ()

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

void LinkUp ()

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

bool PortResetPending ()

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

void InsertPortStatusChangeEvent ()

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

TRB * trb ()

Defined at line 129 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-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 133 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc

std::unique_ptr<TRBContext> AllocateContext ()

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

void RequestQueue (usb_request_t * usb_request, const usb_request_complete_callback_t * complete_cb)

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

Request Borrow (TestRequest request)

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

zx_status_t InitRing (EventRing * ring)

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

void SetShortPacketHandler (fit::function<void (usb_xhci::TRB *, size_t, usb_xhci::TRB **)> handler)

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

void HandleShortPacket (TRB * short_trb, size_t short_length, TRB ** first_trb)

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

zx_status_t CompleteTRB (TRB * trb, std::unique_ptr<TRBContext> * context)

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

void SetCompletion (TRB * expected)

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

void AddContext (std::unique_ptr<TRBContext> context)

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

void AddCommand (std::unique_ptr<Command> command)

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

std::unique_ptr<Command> GetCommand ()

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

bool HasCommand ()

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

void InitSlot (uint8_t i)

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

fdf_testing::ForegroundDriverTest<EmptyTestConfig> & driver_test ()

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