Lines Matching defs:snd_pcm_runtime
341 struct snd_pcm_runtime { struct
343 struct snd_pcm_substream *trigger_master;
344 struct timespec trigger_tstamp; /* trigger timestamp */
345 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
346 int overrange;
347 snd_pcm_uframes_t avail_max;
348 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
349 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
350 unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */
351 unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
352 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
353 u64 hw_ptr_wrap; /* offset for hw_ptr due to boundary wrap-around */
356 snd_pcm_access_t access; /* access mode */
357 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
358 snd_pcm_subformat_t subformat; /* subformat */
359 unsigned int rate; /* rate in Hz */
360 unsigned int channels; /* channels */
361 snd_pcm_uframes_t period_size; /* period size */
362 unsigned int periods; /* periods */
363 snd_pcm_uframes_t buffer_size; /* buffer size */
364 snd_pcm_uframes_t min_align; /* Min alignment for the format */
365 size_t byte_align;
366 unsigned int frame_bits;
367 unsigned int sample_bits;
368 unsigned int info;
369 unsigned int rate_num;
370 unsigned int rate_den;
371 unsigned int no_period_wakeup: 1;
374 int tstamp_mode; /* mmap timestamp is updated */
375 unsigned int period_step;
376 snd_pcm_uframes_t start_threshold;
400 void (*private_free)(struct snd_pcm_runtime *runtime); argument
403 struct snd_pcm_hardware hw;
404 struct snd_pcm_hw_constraints hw_constraints;
407 void (*transfer_ack_begin)(struct snd_pcm_substream *substream);
408 void (*transfer_ack_end)(struct snd_pcm_substream *substream);
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 */
422 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
423 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
424 struct timespec driver_tstamp;
428 struct snd_pcm_oss_runtime oss;
432 struct snd_pcm_hwptr_log *hwptr_log;