class UsbHubDevice

Defined at line 71 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 57 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void UsbHubDevice (zx_device_t * parent)

Defined at line 73 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 76 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.h

void ~UsbHubDevice ()

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

zx_status_t DdkGetProtocol (uint32_t proto_id, void * out)

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

void DdkRelease ()

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

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

Defined at line 114 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 406 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 510 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 515 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void DdkInit (ddk::InitTxn txn)

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

zx_status_t Bind (void * ctx, zx_device_t * parent)

Defined at line 622 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 500 of file ../../src/devices/usb/drivers/usb-hub/usb-hub.cc

void DdkUnbind (ddk::UnbindTxn txn)

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

zx_status_t Shutdown ()

Public for testing

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