template <>

class WireSyncBufferClientImpl

Defined at line 2502 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::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_hci::UsbHci::GetMaxDeviceCount> GetMaxDeviceCount ()

Returns the maximum number of USB devices that might be connected to the controller.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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|.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_hci::UsbHci::GetCurrentFrame> GetCurrentFrame ()

Returns the current frame (in milliseconds), used for isochronous transfers.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_hci::UsbHci::ResetEndpoint> ResetEndpoint (uint32_t device_id, uint8_t ep_address)

Resets an endpoint on the specified device.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_usb_hci::UsbHci::ResetDevice> ResetDevice (uint32_t hub_address, uint32_t device_id)

Resets the specified device.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.