Lines Matching refs:runtime
39 void *pageptr = subs->runtime->dma_area + offset;
49 struct snd_pcm_runtime *runtime = subs->runtime;
50 if (runtime->dma_area) {
51 if (runtime->dma_bytes >= size)
53 vfree(runtime->dma_area);
55 runtime->dma_area = vmalloc_32(size);
56 if (! runtime->dma_area)
58 runtime->dma_bytes = size;
68 struct snd_pcm_runtime *runtime = subs->runtime;
70 vfree(runtime->dma_area);
71 runtime->dma_area = NULL;
96 struct snd_pcm_runtime *runtime = subs->runtime;
130 if ((chip->ak4117->rcs0 & AK4117_UNLCK) || runtime->rate != rate) {
168 struct snd_pcm_runtime *runtime = subs->runtime;
174 chip->pcm_channels = runtime->channels;
176 chip->pcm_little = snd_pcm_format_little_endian(runtime->format) > 0;
178 chip->pcm_swab = snd_pcm_format_big_endian(runtime->format) > 0;
183 if (snd_pcm_format_unsigned(runtime->format))
191 switch (runtime->format) {
201 switch (runtime->format) {
229 chip->pcm_size = runtime->buffer_size;
230 chip->pcm_period = runtime->period_size;
231 chip->pcm_area = runtime->dma_area;
273 struct snd_pcm_runtime *runtime = subs->runtime;
279 runtime->hw = pdacf_pcm_capture_hw;
280 runtime->private_data = chip;