class AllocEndpoint
Defined at line 353 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/markers.h
Request the DCI driver to allocate a physical endpoint.
This is used by the peripheral manager to dynamically allocate a physical endpoint matching
the requested `direction`, `endpoint_type`, and `max_packet_size` specified in
[`EndpointAllocationRequest`]. This method must only be called if `GetHardwareInfo` reported
`supports_dynamic_ep_sizing` as true.
The allocation is atomic. If the DCI driver cannot satisfy the request, it returns an error
and no hardware state is modified.
Closing the `UsbDci` channel automatically frees all endpoints allocated through it.
* error:
* `ZX_ERR_IO_NOT_PRESENT` if the DCI controller is not ready to take allocation requests
(for example, in controller drivers that update hardware registers during allocation,
if underlying hardware conditions such as power, clocks, reset, or MMIO accessibility
prevent register access).
* `ZX_ERR_NO_RESOURCES` if no physical endpoints matching the request are available.
* `ZX_ERR_NOT_SUPPORTED` if the DCI driver does not support dynamic endpoint allocation.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal