class FakeUsbBus

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

Public Methods

void FakeUsbBus ()

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

void reset ()

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

void wait ()

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

usb_bus_interface_protocol_t * proto ()

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

zx_status_t UsbBusInterfaceAddDevice (uint32_t device_id, uint32_t hub_id, usb_speed_t speed)

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

zx_status_t UsbBusInterfaceRemoveDevice (uint32_t device_id)

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

zx_status_t UsbBusInterfaceResetPort (uint32_t hub_id, uint32_t port, bool enumerating)

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

zx_status_t UsbBusInterfaceReinitializeDevice (uint32_t device_id)

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

const std::map<uint32_t, FakeUsbDevice> & devices ()

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