• Home
  • Raw
  • Download

Lines Matching +full:three +full:- +full:state

1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
82 * Section for driver hardware dependent interface - /dev/snd/hw? *
105 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */
132 unsigned int version; /* R: driver-specific version */
133 unsigned char id[32]; /* R: driver-specific ID string */
145 unsigned long driver_data; /* W: driver-specific data */
155 * Digital Audio (PCM) interface - /dev/snd/pcm?? *
201 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6) /* low three bytes */
202 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7) /* low three bytes */
203 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8) /* low three bytes */
204 #define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9) /* low three bytes */
209 …V_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14) /* 4-byte float, IEEE-754 32-bit, range -1.0…
210 …V_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15) /* 4-byte float, IEEE-754 32-bit, range -1.0…
211 …PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16) /* 8-byte float, IEEE-754 64-bit, range -1.0…
212 …PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17) /* 8-byte float, IEEE-754 64-bit, range -1.0…
213 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18) /* IEC-958 subframe, Li…
214 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19) /* IEC-958 subframe, Bi…
226 #define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32) /* in three bytes */
227 #define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33) /* in three bytes */
228 #define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34) /* in three bytes */
229 #define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35) /* in three bytes */
230 #define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36) /* in three bytes */
231 #define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37) /* in three bytes */
232 #define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38) /* in three bytes */
233 #define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39) /* in three bytes */
234 #define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40) /* in three bytes */
235 #define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41) /* in three bytes */
236 #define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42) /* in three bytes */
237 #define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43) /* in three bytes */
242 #define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48) /* DSD, 1-byte samples DSD (x8) */
243 #define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49) /* DSD, 2-byte samples DSD (x16…
244 #define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50) /* DSD, 4-byte samples DSD (x32…
245 #define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51) /* DSD, 2-byte samples DSD (x16…
246 #define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52) /* DSD, 4-byte samples DSD (x32…
303 #define SNDRV_PCM_INFO_DRAIN_TRIGGER 0x40000000 /* internal kernel flag - trigger in drain */
304 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
411 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
414 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL -
473 /* explicit padding avoids incompatibility between i386 and x86-64 */
474 typedef struct { unsigned char pad[sizeof(time_t) - sizeof(int)]; } __time_pad;
477 snd_pcm_state_t state; /* stream state */ member
487 snd_pcm_state_t suspended_state; /* suspended stream state */
488 …__u32 audio_tstamp_data; /* needed for 64-bit alignment, used for configs/report to/from userspac…
489 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
492 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
497 * For mmap operations, we need the 64-bit layout, both for compat mode,
498 * and for y2038 compatibility. For 64-bit applications, the two definitions
527 snd_pcm_state_t state; /* RO: state - SNDRV_PCM_STATE_XXXX */ member
529 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */
531 snd_pcm_state_t suspended_state; /* RO: suspended stream state */
536 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */
557 typedef char __pad_before_uframe[sizeof(__u64) - sizeof(snd_pcm_uframes_t)];
563 typedef char __pad_after_uframe[sizeof(__u64) - sizeof(snd_pcm_uframes_t)];
567 snd_pcm_state_t state; /* RO: state - SNDRV_PCM_STATE_XXXX */ member
570 snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */
573 snd_pcm_state_t suspended_state;/* RO: suspended stream state */
580 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */
625 /* this follows the alsa-lib mixer channel value + 3 */
710 * Raw MIDI section - /dev/snd/midi??
766 * Timer section - /dev/snd/timer
772 SNDRV_TIMER_CLASS_NONE = -1,
808 unsigned int flags; /* timer flags - SNDRV_TIMER_FLG_* */
822 unsigned long period_num; /* requested precise period duration (in seconds) - numerator */
823 unsigned long period_den; /* requested precise period duration (in seconds) - denominator */
830 unsigned long resolution_num; /* precise current period resolution (in seconds) - numerator */
831 unsigned long resolution_den; /* precise current period resolution (in seconds) - denominator */
841 unsigned int flags; /* timer flags - SNDRV_TIMER_FLG_* */
850 #define SNDRV_TIMER_PSFLG_AUTO (1<<0) /* auto start, otherwise one-shot */
855 unsigned int flags; /* flags - SNDRV_TIMER_PSFLG_* */
857 unsigned int queue_size; /* total size of queue (32-1024) */
865 struct timespec tstamp; /* Timestamp - last update */
935 * Section for driver control interface - /dev/snd/control? *
960 #define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6) /* 64-bit integer type */
1019 snd_ctl_elem_type_t type; /* R: value type - SNDRV_CTL_ELEM_TYPE_* */
1020 unsigned int access; /* R: value access (bitmask) - SNDRV_CTL_ELEM_ACCESS_* */
1048 unsigned int indirect: 1; /* W: indirect access - obsoleted */
1119 int type; /* event type - SNDRV_CTL_EVENT_* */