class FakeUsbBus

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

Public Methods

void FakeUsbBus ()

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

void reset ()

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

void wait ()

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

usb_bus_interface_protocol_t * proto ()

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

zx_status_t UsbBusInterfaceRemoveDevice (uint32_t device_id)

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

zx_status_t UsbBusInterfaceReinitializeDevice (uint32_t device_id)

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

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

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