Home
last modified time | relevance | path

Searched refs:cap_subs (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c353 struct snd_usx2y_substream *cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usx2y_usbpcm_hw_free() local
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()
360 atomic_set(&cap_subs->state, STATE_STOPPED); in snd_usx2y_usbpcm_hw_free()
363 usx2y_usbpcm_urbs_release(cap_subs); in snd_usx2y_usbpcm_hw_free()
H A Dusbusx2yaudio.c785 struct snd_usx2y_substream *cap_subs = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]; in snd_usx2y_pcm_hw_free() local
788 if (!cap_subs->pcm_substream || in snd_usx2y_pcm_hw_free()
789 !cap_subs->pcm_substream->runtime || in snd_usx2y_pcm_hw_free()
790 !cap_subs->pcm_substream->runtime->status || in snd_usx2y_pcm_hw_free()
791 cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { in snd_usx2y_pcm_hw_free()
792 atomic_set(&cap_subs->state, STATE_STOPPED); in snd_usx2y_pcm_hw_free()
793 usx2y_urbs_release(cap_subs); in snd_usx2y_pcm_hw_free()
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c363 struct snd_usx2y_substream *cap_subs; in snd_usx2y_usbpcm_hw_free() local
372 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()
H A Dusbusx2yaudio.c814 struct snd_usx2y_substream *cap_subs, *playback_subs; in snd_usx2y_pcm_hw_free() local
820 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()

Completed in 5 milliseconds