Lines Matching defs:runtime
345 * audio pcm capture runtime free
347 static void snd_card_cx88_runtime_free(struct snd_pcm_runtime *runtime)
356 struct snd_pcm_runtime *runtime = substream->runtime;
362 err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
371 runtime->private_free = snd_card_cx88_runtime_free;
372 runtime->hw = snd_cx88_digital_hw;
404 if (substream->runtime->dma_area) {
406 substream->runtime->dma_area = NULL;
449 substream->runtime->dma_area = chip->dma_risc.vmalloc;
461 if (substream->runtime->dma_area) {
463 substream->runtime->dma_area = NULL;
511 struct snd_pcm_runtime *runtime = substream->runtime;
521 return bytes_to_frames(runtime, chip->read_offset);