template <>
class WireWeakAsyncClientImpl
Defined at line 4310 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.hci/fuchsia.hardware.usb.hci/cpp/fidl/fuchsia.hardware.usb.hci/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::ConnectToEndpoint> ConnectToEndpoint (uint32_t device_id, uint8_t ep_addr, ::fidl::ServerEnd< ::fuchsia_hardware_usb_endpoint::Endpoint> && ep)
Connects to endpoint. Returns
* ZX_ERR_NOT_FOUND: if device id and/or endpoint address does not exist.
* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.
Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::SetInterface> SetInterface (::fidl::ClientEnd< ::fuchsia_hardware_usb_hci::UsbHciInterface> && interface)
Registers callbacks to the USB bus driver with the HCI driver.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxDeviceCount> GetMaxDeviceCount ()
Returns the maximum number of USB devices that might be connected to the controller.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::EnableEndpoint> EnableEndpoint (uint32_t device_id, const ::fuchsia_hardware_usb_descriptor::wire::UsbEndpointDescriptor & ep_desc, const ::fuchsia_hardware_usb_descriptor::wire::UsbSsEpCompDescriptor & ss_com_desc, bool enable)
Enables or disables an endpoint using parameters derived from |ep_desc|.
Allocates 40 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::GetCurrentFrame> GetCurrentFrame ()
Returns the current frame (in milliseconds), used for isochronous transfers.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::ConfigureHub> ConfigureHub (uint32_t device_id, ::fuchsia_hardware_usb_descriptor::wire::UsbSpeed speed, const ::fuchsia_hardware_usb_descriptor::wire::UsbHubDescriptor & desc, bool multi_tt)
Called by the USB hub driver to configure a newly enumerated USB hub.
Allocates 64 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceAdded> HubDeviceAdded (uint32_t device_id, uint32_t port, ::fuchsia_hardware_usb_descriptor::wire::UsbSpeed speed)
Called by the USB hub driver when a new device is attached.
Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceRemoved> HubDeviceRemoved (uint32_t device_id, uint32_t port)
Called by the USB hub driver when a device has been removed.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::HubDeviceReset> HubDeviceReset (uint32_t device_id, uint32_t port)
Called by the USB hub driver when a device has been reset.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::ResetEndpoint> ResetEndpoint (uint32_t device_id, uint8_t ep_address)
Resets an endpoint on the specified device.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::ResetDevice> ResetDevice (uint32_t hub_address, uint32_t device_id)
Resets the specified device.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxTransferSize> GetMaxTransferSize (uint32_t device_id, uint8_t ep_address)
Returns the maximum size of a packet that can be queued on the specified endpoint.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.