Lines Matching defs:snd_pcm_runtime
362 struct snd_pcm_runtime { struct
364 snd_pcm_state_t state; /* stream state */
365 snd_pcm_state_t suspended_state; /* suspended stream state */
366 struct snd_pcm_substream *trigger_master;
367 struct timespec64 trigger_tstamp; /* trigger timestamp */
368 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
369 int overrange;
370 snd_pcm_uframes_t avail_max;
371 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
372 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
373 unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */
374 unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
375 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
376 u64 hw_ptr_wrap; /* offset for hw_ptr due to boundary wrap-around */
379 snd_pcm_access_t access; /* access mode */
380 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
381 snd_pcm_subformat_t subformat; /* subformat */
382 unsigned int rate; /* rate in Hz */
383 unsigned int channels; /* channels */
384 snd_pcm_uframes_t period_size; /* period size */
385 unsigned int periods; /* periods */
386 snd_pcm_uframes_t buffer_size; /* buffer size */
387 snd_pcm_uframes_t min_align; /* Min alignment for the format */
388 size_t byte_align;
389 unsigned int frame_bits;
390 unsigned int sample_bits;
391 unsigned int info;
392 unsigned int rate_num;
393 unsigned int rate_den;
394 unsigned int no_period_wakeup: 1;
397 int tstamp_mode;
398 unsigned int period_step;
399 snd_pcm_uframes_t start_threshold;
400 snd_pcm_uframes_t stop_threshold;
401 snd_pcm_uframes_t silence_threshold;
402 snd_pcm_uframes_t silence_size;
426 void (*private_free)(struct snd_pcm_runtime *runtime); argument
429 struct snd_pcm_hardware hw;
430 struct snd_pcm_hw_constraints hw_constraints;
433 unsigned int timer_resolution; /* timer resolution */
434 int tstamp_type; /* timestamp type */
437 unsigned char *dma_area; /* DMA area */
438 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */
439 size_t dma_bytes; /* size of DMA area */
441 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */
442 unsigned int buffer_changed:1; /* buffer allocation changed; set only in managed mode */
445 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
446 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
447 struct timespec64 driver_tstamp;
451 struct snd_pcm_oss_runtime oss;