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;
404 void (*private_free)(struct snd_pcm_runtime *runtime); argument
407 struct snd_pcm_hardware hw;
408 struct snd_pcm_hw_constraints hw_constraints;
411 unsigned int timer_resolution; /* timer resolution */
412 int tstamp_type; /* timestamp type */
415 unsigned char *dma_area; /* DMA area */
416 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */
417 size_t dma_bytes; /* size of DMA area */
419 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */
420 unsigned int buffer_changed:1; /* buffer allocation changed; set only in managed mode */
423 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
424 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
425 struct timespec64 driver_tstamp;
429 struct snd_pcm_oss_runtime oss;