Lines Matching refs:runtime
160 substream->runtime->hw = cdev->pcm_info; in snd_usb_caiaq_substream_open()
161 snd_pcm_limit_hw_rates(substream->runtime); in snd_usb_caiaq_substream_open()
210 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usb_caiaq_pcm_prepare() local
257 if (runtime->rate == rates[i]) in snd_usb_caiaq_pcm_prepare()
260 snd_pcm_limit_hw_rates(runtime); in snd_usb_caiaq_pcm_prepare()
266 bpp = ((runtime->rate / 8000) + CLOCK_DRIFT_TOLERANCE) in snd_usb_caiaq_pcm_prepare()
272 ret = snd_usb_caiaq_set_audio_params(cdev, runtime->rate, in snd_usb_caiaq_pcm_prepare()
273 runtime->sample_bits, bpp); in snd_usb_caiaq_pcm_prepare()
329 ptr = bytes_to_frames(sub->runtime, in snd_usb_caiaq_pcm_pointer()
332 ptr = bytes_to_frames(sub->runtime, in snd_usb_caiaq_pcm_pointer()
392 struct snd_pcm_runtime *rt = sub->runtime; in read_in_urb_mode0()
439 struct snd_pcm_runtime *rt = sub->runtime; in read_in_urb_mode2()
471 struct snd_pcm_runtime *rt = sub->runtime; in read_in_urb_mode3()
552 struct snd_pcm_runtime *rt = sub->runtime; in fill_out_urb_mode_0()
588 struct snd_pcm_runtime *rt = sub->runtime; in fill_out_urb_mode_3()