Searched refs:capsubs (Results 1 – 2 of 2) sorted by relevance
/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 171 static inline int usX2Y_usbpcm_usbframe_complete(struct snd_usX2Y_substream *capsubs, in usX2Y_usbpcm_usbframe_complete() argument 206 state = atomic_read(&capsubs->state); in usX2Y_usbpcm_usbframe_complete() 209 if ((err = usX2Y_usbpcm_urb_capt_retire(capsubs))) in usX2Y_usbpcm_usbframe_complete() 212 atomic_inc(&capsubs->state); in usX2Y_usbpcm_usbframe_complete() 213 usX2Y_usbpcm_urb_capt_iso_advance(capsubs, capsubs->completed_urb); in usX2Y_usbpcm_usbframe_complete() 216 if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) in usX2Y_usbpcm_usbframe_complete() 222 capsubs->completed_urb = NULL; in usX2Y_usbpcm_usbframe_complete() 233 struct snd_usX2Y_substream *capsubs, *capsubs2, *playbacksubs; in i_usX2Y_usbpcm_urb_complete() local 253 capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; in i_usX2Y_usbpcm_urb_complete() 256 if (capsubs->completed_urb && atomic_read(&capsubs->state) >= state_PREPARED && in i_usX2Y_usbpcm_urb_complete() [all …]
|
D | usbusx2yaudio.c | 210 static inline int usX2Y_usbframe_complete(struct snd_usX2Y_substream *capsubs, in usX2Y_usbframe_complete() argument 236 if ((err = usX2Y_urb_play_prepare(playbacksubs, capsubs->completed_urb, urb)) || in usX2Y_usbframe_complete() 244 state = atomic_read(&capsubs->state); in usX2Y_usbframe_complete() 247 if ((err = usX2Y_urb_capt_retire(capsubs))) in usX2Y_usbframe_complete() 250 atomic_inc(&capsubs->state); in usX2Y_usbframe_complete() 251 if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) in usX2Y_usbframe_complete() 254 capsubs->completed_urb = NULL; in usX2Y_usbframe_complete() 331 struct snd_usX2Y_substream *capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE], in i_usX2Y_urb_complete() local 333 if (capsubs->completed_urb && in i_usX2Y_urb_complete() 334 atomic_read(&capsubs->state) >= state_PREPARED && in i_usX2Y_urb_complete() [all …]
|