Lines Matching refs:cap_subs2
295 struct snd_usx2y_substream *cap_subs2; in i_usx2y_usbpcm_subs_startup() local
301 cap_subs2 = usx2y->subs[SNDRV_PCM_STREAM_CAPTURE + 2]; in i_usx2y_usbpcm_subs_startup()
302 if (cap_subs2) in i_usx2y_usbpcm_subs_startup()
303 atomic_inc(&cap_subs2->state); in i_usx2y_usbpcm_subs_startup()
366 struct snd_usx2y_substream *cap_subs2; in snd_usx2y_usbpcm_hw_free() local
371 cap_subs2 = subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE + 2]; in snd_usx2y_usbpcm_hw_free()
380 if (cap_subs2) in snd_usx2y_usbpcm_hw_free()
381 atomic_set(&cap_subs2->state, STATE_STOPPED); in snd_usx2y_usbpcm_hw_free()
383 if (cap_subs2) in snd_usx2y_usbpcm_hw_free()
384 usx2y_usbpcm_urbs_release(cap_subs2); in snd_usx2y_usbpcm_hw_free()
390 if (cap_subs2) in snd_usx2y_usbpcm_hw_free()
391 atomic_set(&cap_subs2->state, STATE_STOPPED); in snd_usx2y_usbpcm_hw_free()
393 if (cap_subs2) in snd_usx2y_usbpcm_hw_free()
394 usx2y_usbpcm_urbs_release(cap_subs2); in snd_usx2y_usbpcm_hw_free()