Lines Matching refs:pcm_substream
52 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_usbpcm_urb_capt_retire()
81 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_usbpcm_urb_capt_retire()
108 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_hwdep_urb_play_prepare()
375 if (!cap_subs->pcm_substream || in snd_usx2y_usbpcm_hw_free()
376 !cap_subs->pcm_substream->runtime || in snd_usx2y_usbpcm_hw_free()
377 !cap_subs->pcm_substream->runtime->status || in snd_usx2y_usbpcm_hw_free()
378 cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_usbpcm_hw_free()
413 int p, u, err, stream = subs->pcm_substream->stream; in usx2y_usbpcm_urbs_start()
601 subs->pcm_substream = substream; in snd_usx2y_usbpcm_open()
611 subs->pcm_substream = NULL; in snd_usx2y_usbpcm_close()
633 if (subs && subs->pcm_substream && in usx2y_pcms_busy_check()
634 SUBSTREAM_BUSY(subs->pcm_substream)) in usx2y_pcms_busy_check()