Lines Matching refs:runtime
50 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger() local
84 if ((chip->ak4117->rcs0 & AK4117_UNLCK) || runtime->rate != rate) { in pdacf_pcm_trigger()
123 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare() local
129 chip->pcm_channels = runtime->channels; in pdacf_pcm_prepare()
131 chip->pcm_little = snd_pcm_format_little_endian(runtime->format) > 0; in pdacf_pcm_prepare()
133 chip->pcm_swab = snd_pcm_format_big_endian(runtime->format) > 0; in pdacf_pcm_prepare()
138 if (snd_pcm_format_unsigned(runtime->format)) in pdacf_pcm_prepare()
146 switch (runtime->format) { in pdacf_pcm_prepare()
156 switch (runtime->format) { in pdacf_pcm_prepare()
184 chip->pcm_size = runtime->buffer_size; in pdacf_pcm_prepare()
185 chip->pcm_period = runtime->period_size; in pdacf_pcm_prepare()
186 chip->pcm_area = runtime->dma_area; in pdacf_pcm_prepare()
229 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_capture_open() local
235 runtime->hw = pdacf_pcm_capture_hw; in pdacf_pcm_capture_open()
236 runtime->private_data = chip; in pdacf_pcm_capture_open()