|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Public APIs for USB Audio Offload Link (UAOL) drivers. More...
Go to the source code of this file.
Data Structures | |
| struct | uaol_capabilities |
| UAOL hardware capabilities. More... | |
| struct | uaol_config |
| UAOL stream configuration data. More... | |
| struct | uaol_ep_table_entry |
| UAOL stream endpoint table entry. More... | |
Functions | |
| static int | uaol_config (const struct device *dev, int stream, struct uaol_config *cfg) |
| Set UAOL individual stream configuration. | |
| static int | uaol_start (const struct device *dev, int stream) |
| Start UAOL individual stream operation. | |
| static int | uaol_stop (const struct device *dev, int stream) |
| Stop UAOL individual stream operation. | |
| static int | uaol_program_ep_table (const struct device *dev, int stream, struct uaol_ep_table_entry entry, bool valid) |
| Program an endpoint table entry for UAOL individual stream. | |
| static int | uaol_get_capabilities (const struct device *dev, struct uaol_capabilities *caps) |
| Query UAOL hardware capabilities. | |
| int | uaol_get_mapped_hda_link_stream_id (const struct device *dev, int uaol_stream_id) |
| Get the HDA link stream ID mapped in HW to the UAOL stream ID. | |
Public APIs for USB Audio Offload Link (UAOL) drivers.
|
inlinestatic |
Set UAOL individual stream configuration.
| dev | UAOL device instance. |
| stream | UAOL stream index. |
| cfg | Configuration to be applied. |
|
inlinestatic |
Query UAOL hardware capabilities.
| dev | UAOL device instance. |
| caps | Capabilities data to be returned. |
| int uaol_get_mapped_hda_link_stream_id | ( | const struct device * | dev, |
| int | uaol_stream_id ) |
Get the HDA link stream ID mapped in HW to the UAOL stream ID.
Can be called anytime, e.g., before the device probe.
| dev | UAOL device instance. |
| uaol_stream_id | UAOL stream ID. |
|
inlinestatic |
Program an endpoint table entry for UAOL individual stream.
| dev | UAOL device instance. |
| stream | UAOL stream index. |
| entry | Data to be stored in EP table. |
| valid | Flag marking an entry as valid or invalid. |
|
inlinestatic |
Start UAOL individual stream operation.
| dev | UAOL device instance. |
| stream | UAOL stream index. |
|
inlinestatic |
Stop UAOL individual stream operation.
| dev | UAOL device instance. |
| stream | UAOL stream index. |