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->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_usbpcm_hw_free()
412 int p, u, err, stream = subs->pcm_substream->stream; in usx2y_usbpcm_urbs_start()
600 subs->pcm_substream = substream; in snd_usx2y_usbpcm_open()
610 subs->pcm_substream = NULL; in snd_usx2y_usbpcm_close()
632 if (subs && subs->pcm_substream && in usx2y_pcms_busy_check()
633 SUBSTREAM_BUSY(subs->pcm_substream)) in usx2y_pcms_busy_check()