• Home
  • Raw
  • Download

Lines Matching +full:is +full:- +full:compress +full:- +full:dai

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
8 * This program is free software; you can redistribute it and/or modify
42 /* individual kcontrol info types - can be mixed with other types */
53 /* individual widget kcontrol info types - can be mixed with other types */
60 /* DAPM widget types - add new items to the end */
120 /* vendor block IDs - please add new vendor types to end */
137 /* DAI flags */
142 /* DAI clock gating */
147 /* DAI mclk_direction */
148 #define SND_SOC_TPLG_MCLK_CO 0 /* for codec, mclk is output */
149 #define SND_SOC_TPLG_MCLK_CI 1 /* for codec, mclk is input */
151 /* DAI physical PCM data formats.
166 /* DAI link flags */
172 /* DAI topology BCLK parameter
173 * For the backwards capability, by default codec is bclk master
175 #define SND_SOC_TPLG_BCLK_CM 0 /* codec is bclk master */
176 #define SND_SOC_TPLG_BCLK_CS 1 /* codec is bclk slave */
178 /* DAI topology FSYNC parameter
179 * For the backwards capability, by default codec is fsync master
181 #define SND_SOC_TPLG_FSYNC_CM 0 /* codec is fsync master */
182 #define SND_SOC_TPLG_FSYNC_CS 1 /* codec is fsync slave */
334 __le32 id; /* unique ID - - used to match */
361 * File block representation for manifest :-
362 * +-----------------------------------+----+
364 * +-----------------------------------+----+
366 * +-----------------------------------+----+
374 __le32 dai_link_elems; /* number of DAI link elements */
375 __le32 dai_elems; /* number of physical DAI elements */
383 * File block representation for mixer kcontrol :-
384 * +-----------------------------------+----+
386 * +-----------------------------------+----+
388 * +-----------------------------------+----+
405 * File block representation for enum kcontrol :-
406 * +-----------------------------------+----+
408 * +-----------------------------------+----+
410 * +-----------------------------------+----+
428 * File block representation for bytes kcontrol :-
429 * +-----------------------------------+----+
431 * +-----------------------------------+----+
433 * +-----------------------------------+----+
449 * File block representation for DAPM graph elements :-
450 * +-------------------------------------+----+
452 * +-------------------------------------+----+
454 * +-------------------------------------+----+
465 * File block representation for DAPM widget :-
466 * +-------------------------------------+-----+
468 * +-------------------------------------+-----+
470 * +-------------------------------------+-----+
473 * +-------------------------------------+-----+
486 __le32 mask; /* non-shifted mask */
502 * Describes SW/FW specific features of PCM (FE DAI & DAI link).
504 * File block representation for PCM :-
505 * +-----------------------------------+-----+
507 * +-----------------------------------+-----+
509 * +-----------------------------------+-----+
515 __le32 pcm_id; /* unique ID - used to match with DAI link */
516 __le32 dai_id; /* unique ID - used to match */
519 __le32 compress; /* 1 = compressed; 0 = PCM */ member
520 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* for DAI link */
522 struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
532 * File block representation for physical link config :-
533 * +-----------------------------------+-----+
535 * +-----------------------------------+-----+
537 * +-----------------------------------+-----+
541 __le32 id; /* unique ID - used to match */
542 char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* name - used to match */
543 char stream_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* stream name - used to match */
555 * Describes SW/FW specific features of physical DAI.
558 * File block representation for physical DAI :-
559 * +-----------------------------------+-----+
561 * +-----------------------------------+-----+
563 * +-----------------------------------+-----+
567 char dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* name - used to match */
568 __le32 dai_id; /* unique ID - used to match */
571 struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
588 __le32 dai_link_elems; /* number of DAI link elements */
615 __le32 pcm_id; /* unique ID - used to match with DAI link */
616 __le32 dai_id; /* unique ID - used to match */
619 __le32 compress; /* 1 = compressed; 0 = PCM */ member
620 struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* for DAI link */
622 struct snd_soc_tplg_stream_caps_v4 caps[2]; /* playback and capture for DAI */
628 __le32 id; /* unique ID - used to match */