class EventRingHarness

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

Public Methods

void EventRingHarness ()

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

void SetUp ()

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

void TearDown ()

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

void Interrupt ()

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

zx_status_t Ring0Bringup ()

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

void AddTRB (const TRB & trb)

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

void ConnectDevice ()

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

void DisconnectDevice ()

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

void MakeQuantumPort ()

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

void LinkUp ()

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

bool PortResetPending ()

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

void InsertPortStatusChangeEvent ()

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

TRB * trb ()

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

const ERDP & last_erdp ()

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

std::unique_ptr<TRBContext> AllocateContext ()

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

Request Borrow (TestRequest request)

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

zx_status_t InitRing (EventRing * ring)

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

void SetCompletion (TRB * expected)

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

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

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

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

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

std::unique_ptr<Command> GetCommand ()

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

bool HasCommand ()

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

void InitSlot (uint8_t i)

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

fdf_testing::ForegroundDriverTest<EmptyTestConfig> & driver_test ()

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

PORTSC & port_sc ()

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

EventRing * event_ring ()

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