Lines Matching refs:pcm_substream
53 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usX2Y_usbpcm_urb_capt_retire()
77 snd_pcm_period_elapsed(subs->pcm_substream); in usX2Y_usbpcm_urb_capt_retire()
104 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usX2Y_hwdep_urb_play_prepare()
356 if (!cap_subs->pcm_substream || in snd_usX2Y_usbpcm_hw_free()
357 !cap_subs->pcm_substream->runtime || in snd_usX2Y_usbpcm_hw_free()
358 !cap_subs->pcm_substream->runtime->status || in snd_usX2Y_usbpcm_hw_free()
359 cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { in snd_usX2Y_usbpcm_hw_free()
394 stream = subs->pcm_substream->stream; in usX2Y_usbpcm_urbs_start()
564 subs->pcm_substream = substream; in snd_usX2Y_usbpcm_open()
575 subs->pcm_substream = NULL; in snd_usX2Y_usbpcm_close()
600 if (subs && subs->pcm_substream && in usX2Y_pcms_busy_check()
601 SUBSTREAM_BUSY(subs->pcm_substream)) in usX2Y_pcms_busy_check()