Searched refs:cap_subs (Results 1 – 2 of 2) sorted by relevance
363 struct snd_usx2y_substream *cap_subs; in snd_usx2y_usbpcm_hw_free() local372 cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usx2y_usbpcm_hw_free()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()378 atomic_set(&cap_subs->state, STATE_STOPPED); in snd_usx2y_usbpcm_hw_free()381 usx2y_usbpcm_urbs_release(cap_subs); in snd_usx2y_usbpcm_hw_free()
814 struct snd_usx2y_substream *cap_subs, *playback_subs; in snd_usx2y_pcm_hw_free() local820 cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usx2y_pcm_hw_free()823 if (!cap_subs->pcm_substream || in snd_usx2y_pcm_hw_free()824 !cap_subs->pcm_substream->runtime || in snd_usx2y_pcm_hw_free()825 cap_subs->pcm_substream->runtime->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_pcm_hw_free()826 atomic_set(&cap_subs->state, STATE_STOPPED); in snd_usx2y_pcm_hw_free()827 usx2y_urbs_release(cap_subs); in snd_usx2y_pcm_hw_free()