class UsbHubDevice

Defined at line 67 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

Public Methods

zx_status_t UsbHubInterfaceResetPort (uint32_t port)

Synchronously resets a port

Defined at line 53 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void UsbHubDevice (zx_device_t * parent)

Defined at line 69 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

void UsbHubDevice (zx_device_t * parent, std::unique_ptr<fpromise::executor> executor)

Defined at line 72 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

void ~UsbHubDevice ()

Defined at line 77 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

zx_status_t DdkGetProtocol (uint32_t proto_id, void * out)

Defined at line 79 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

zx::result<usb_port_status_t> GetPortStatus (PortNumber port)

Retrieves the status of a port.

Defined at line 400 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

zx_status_t SetFeature (uint8_t request_type, uint16_t feature, uint16_t index)

Defined at line 503 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

zx_status_t ClearFeature (uint8_t request_type, uint16_t feature, uint16_t index)

Defined at line 507 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void DdkInit (ddk::InitTxn txn)

Defined at line 76 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void DdkRelease ()

Defined at line 108 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

zx::result<usb_hub_descriptor_t> GetUsbHubDescriptor (uint16_t type)

Defined at line 110 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

zx_status_t Bind (void * ctx, zx_device_t * parent)

Defined at line 610 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

zx_status_t Bind (std::unique_ptr<fpromise::executor> executor, zx_device_t * parent)

Defined at line 493 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void DdkUnbind (ddk::UnbindTxn txn)

Defined at line 463 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

zx_status_t Shutdown ()

Public for testing

Defined at line 478 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc