PROTOCOLS
UsbDci
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
CancelAll
Cancel all pending transactions for the given endpoint.
Request
Name | Type |
---|---|
ep_address |
uint8
|
Response
Name | Type |
---|---|
payload |
UsbDci_CancelAll_Result
|
ConfigureEndpoint
Configure and endpoint with the given configuration.
See usb20 9.6.6
Request
Name | Type |
---|---|
ep_descriptor |
fuchsia.hardware.usb.descriptor/UsbEndpointDescriptor
|
ss_comp_descriptor |
fuchsia.hardware.usb.descriptor/UsbSsEpCompDescriptor
|
Response
Name | Type |
---|---|
payload |
UsbDci_ConfigureEndpoint_Result
|
ConnectToEndpoint
Connects to endpoint. Returns
- ZX_ERR_NOT_FOUND: if endpoint address does not exist.
- ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.
Request
Name | Type |
---|---|
ep_addr |
uint8
|
ep |
server_end:fuchsia.hardware.usb.endpoint/Endpoint
|
Response
Name | Type |
---|---|
payload |
UsbDci_ConnectToEndpoint_Result
|
DisableEndpoint
Disable the given endpoint.
Request
Name | Type |
---|---|
ep_address |
uint8
|
Response
Name | Type |
---|---|
payload |
UsbDci_DisableEndpoint_Result
|
EndpointClearStall
Clear stall condition for the given endpoint.
See usb32 8.5.3.4
Request
Name | Type |
---|---|
ep_address |
uint8
|
Response
Name | Type |
---|---|
payload |
UsbDci_EndpointClearStall_Result
|
EndpointSetStall
Set stall condition for the given endpoint.
See usb20 8.5.3.4
Request
Name | Type |
---|---|
ep_address |
uint8
|
Response
Name | Type |
---|---|
payload |
UsbDci_EndpointSetStall_Result
|
SetInterface
Bind the interface as given by the child node.
Request
Name | Type |
---|---|
interface |
client_end:UsbDciInterface
|
Response
Name | Type |
---|---|
payload |
UsbDci_SetInterface_Result
|
UsbDciInterface
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Interface for parent (typically DCI driver) to call into its child (currently usb-peripheral driver). UsbDci::Use SetInterface() to bind client_end in the parent driver.
Control
Dispatch a control transaction.
See usb20 8.5.3 and 9.6
Request
Name | Type |
---|---|
setup |
fuchsia.hardware.usb.descriptor/UsbSetup
|
write |
vector<uint8>
|
Response
Name | Type |
---|---|
payload |
UsbDciInterface_Control_Result
|
SetConnected
Inform driver of current port connection state.
Request
Name | Type |
---|---|
is_connected |
bool
|
Response
Name | Type |
---|---|
payload |
UsbDciInterface_SetConnected_Result
|
SetSpeed
Inform driver of current bus speed.
Request
Name | Type |
---|---|
speed |
fuchsia.hardware.usb.descriptor/UsbSpeed
|
Response
Name | Type |
---|---|
payload |
UsbDciInterface_SetSpeed_Result
|
STRUCTS
UsbDciInterface_Control_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Field | Type | Description | Default |
---|---|---|---|
read |
vector<uint8>
|
No default |
UsbDciInterface_SetConnected_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDciInterface_SetSpeed_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_CancelAll_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_ConfigureEndpoint_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_ConnectToEndpoint_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_DisableEndpoint_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_EndpointClearStall_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_EndpointSetStall_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UsbDci_SetInterface_Response
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
<EMPTY>
UNIONS
UsbDciInterface_Control_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDciInterface_Control_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDciInterface_SetConnected_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDciInterface_SetConnected_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDciInterface_SetSpeed_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDciInterface_SetSpeed_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_CancelAll_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_CancelAll_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_ConfigureEndpoint_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_ConfigureEndpoint_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_ConnectToEndpoint_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_ConnectToEndpoint_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_DisableEndpoint_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_DisableEndpoint_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_EndpointClearStall_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_EndpointClearStall_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_EndpointSetStall_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_EndpointSetStall_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
UsbDci_SetInterface_Result strict
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
UsbDci_SetInterface_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|
SERVICES
UsbDciService
Defined in fuchsia.hardware.usb.dci/usb-dci.fidl
Name | Type | Transport |
---|---|---|
device |
fuchsia.hardware.usb.dci/UsbDci
|
Channel |