Lines Matching defs:snd_pcm_runtime
347 struct snd_pcm_runtime { struct
349 snd_pcm_state_t state; /* stream state */
350 snd_pcm_state_t suspended_state; /* suspended stream state */
351 struct snd_pcm_substream *trigger_master;
352 struct timespec64 trigger_tstamp; /* trigger timestamp */
353 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
354 int overrange;
355 snd_pcm_uframes_t avail_max;
356 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
357 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
358 unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */
359 unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
360 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
361 u64 hw_ptr_wrap; /* offset for hw_ptr due to boundary wrap-around */
364 snd_pcm_access_t access; /* access mode */
365 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
366 snd_pcm_subformat_t subformat; /* subformat */
367 unsigned int rate; /* rate in Hz */
368 unsigned int channels; /* channels */
369 snd_pcm_uframes_t period_size; /* period size */
370 unsigned int periods; /* periods */
371 snd_pcm_uframes_t buffer_size; /* buffer size */
372 snd_pcm_uframes_t min_align; /* Min alignment for the format */
373 size_t byte_align;
374 unsigned int frame_bits;
375 unsigned int sample_bits;
376 unsigned int info;
377 unsigned int rate_num;
378 unsigned int rate_den;
379 unsigned int no_period_wakeup: 1;
382 int tstamp_mode; /* mmap timestamp is updated */
383 unsigned int period_step;
384 snd_pcm_uframes_t start_threshold;
385 snd_pcm_uframes_t stop_threshold;
386 snd_pcm_uframes_t silence_threshold; /* Silence filling happens when
411 void (*private_free)(struct snd_pcm_runtime *runtime); argument
414 struct snd_pcm_hardware hw;
415 struct snd_pcm_hw_constraints hw_constraints;
418 unsigned int timer_resolution; /* timer resolution */
419 int tstamp_type; /* timestamp type */
422 unsigned char *dma_area; /* DMA area */
423 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */
424 size_t dma_bytes; /* size of DMA area */
426 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */
427 unsigned int buffer_changed:1; /* buffer allocation changed; set only in managed mode */
430 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
431 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
432 struct timespec64 driver_tstamp;
436 struct snd_pcm_oss_runtime oss;