Lines Matching defs:snd_pcm_runtime

340 struct snd_pcm_runtime {  struct
342 struct snd_pcm_substream *trigger_master;
343 struct timespec trigger_tstamp; /* trigger timestamp */
344 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
345 int overrange;
346 snd_pcm_uframes_t avail_max;
347 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
348 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
349 unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */
350 unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
351 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
352 u64 hw_ptr_wrap; /* offset for hw_ptr due to boundary wrap-around */
355 snd_pcm_access_t access; /* access mode */
356 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
357 snd_pcm_subformat_t subformat; /* subformat */
358 unsigned int rate; /* rate in Hz */
359 unsigned int channels; /* channels */
360 snd_pcm_uframes_t period_size; /* period size */
361 unsigned int periods; /* periods */
362 snd_pcm_uframes_t buffer_size; /* buffer size */
363 snd_pcm_uframes_t min_align; /* Min alignment for the format */
364 size_t byte_align;
365 unsigned int frame_bits;
366 unsigned int sample_bits;
367 unsigned int info;
368 unsigned int rate_num;
369 unsigned int rate_den;
370 unsigned int no_period_wakeup: 1;
373 int tstamp_mode; /* mmap timestamp is updated */
374 unsigned int period_step;
375 snd_pcm_uframes_t start_threshold;
399 void (*private_free)(struct snd_pcm_runtime *runtime); argument
402 struct snd_pcm_hardware hw;
403 struct snd_pcm_hw_constraints hw_constraints;
406 unsigned int timer_resolution; /* timer resolution */
407 int tstamp_type; /* timestamp type */
410 unsigned char *dma_area; /* DMA area */
411 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */
412 size_t dma_bytes; /* size of DMA area */
414 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */
417 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
418 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
419 struct timespec driver_tstamp;
423 struct snd_pcm_oss_runtime oss;