struct snd_soc_tplg_link_config is defined to configure BE & CC links.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -395,4 +395,21 @@ struct snd_soc_tplg_pcm { · 394 unmodified lines | |||
| 395 | struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */ | 395 | struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */ |
| 396 | } __attribute__((packed)); | 396 | } __attribute__((packed)); |
| 397 | 397 | ||
| 398 | |||
| 399 | /* | ||
| 400 | * Describes the BE or CC link runtime supported configs or params | ||
| 401 | * | ||
| 402 | * File block representation for BE/CC link config :- | ||
| 403 | * +-----------------------------------+-----+ | ||
| 404 | * | struct snd_soc_tplg_hdr | 1 | | ||
| 405 | * +-----------------------------------+-----+ | ||
| 406 | * | struct snd_soc_tplg_link_config | N | | ||
| 407 | * +-----------------------------------+-----+ | ||
| 408 | */ | ||
| 409 | struct snd_soc_tplg_link_config { | ||
| 410 | __le32 size; /* in bytes of this structure */ | ||
| 411 | __le32 id; /* unique ID - used to match */ | ||
| 412 | struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported configs playback and captrure */ | ||
| 413 | __le32 num_streams; /* number of streams */ | ||
| 414 | } __attribute__((packed)); | ||
| 398 | #endif | 415 | #endif |