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