capsubs 198 sound/usb/usx2y/usbusx2yaudio.c static inline int usX2Y_usbframe_complete(struct snd_usX2Y_substream *capsubs, capsubs 224 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_play_prepare(playbacksubs, capsubs->completed_urb, urb)) || capsubs 232 sound/usb/usx2y/usbusx2yaudio.c state = atomic_read(&capsubs->state); capsubs 235 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_capt_retire(capsubs))) capsubs 238 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&capsubs->state); capsubs 239 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) capsubs 242 sound/usb/usx2y/usbusx2yaudio.c capsubs->completed_urb = NULL; capsubs 303 sound/usb/usx2y/usbusx2yaudio.c struct snd_usX2Y_substream *capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE], capsubs 305 sound/usb/usx2y/usbusx2yaudio.c if (capsubs->completed_urb && capsubs 306 sound/usb/usx2y/usbusx2yaudio.c atomic_read(&capsubs->state) >= state_PREPARED && capsubs 309 sound/usb/usx2y/usbusx2yaudio.c if (!usX2Y_usbframe_complete(capsubs, playbacksubs, urb->start_frame)) capsubs 823 sound/usb/usx2y/usbusx2yaudio.c struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; capsubs 831 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&capsubs->state) < state_PREPARED) { capsubs 838 sound/usb/usx2y/usbusx2yaudio.c snd_printdd("starting capture pipe for %s\n", subs == capsubs ? "self" : "playpipe"); capsubs 839 sound/usb/usx2y/usbusx2yaudio.c if (0 > (err = usX2Y_urbs_start(capsubs))) capsubs 843 sound/usb/usx2y/usbusx2yaudio.c if (subs != capsubs && atomic_read(&subs->state) < state_PREPARED) capsubs 160 sound/usb/usx2y/usx2yhwdeppcm.c static inline int usX2Y_usbpcm_usbframe_complete(struct snd_usX2Y_substream *capsubs, capsubs 195 sound/usb/usx2y/usx2yhwdeppcm.c state = atomic_read(&capsubs->state); capsubs 198 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_usbpcm_urb_capt_retire(capsubs))) capsubs 201 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&capsubs->state); capsubs 202 sound/usb/usx2y/usx2yhwdeppcm.c usX2Y_usbpcm_urb_capt_iso_advance(capsubs, capsubs->completed_urb); capsubs 205 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_urb_submit(capsubs, capsubs->completed_urb, frame))) capsubs 211 sound/usb/usx2y/usx2yhwdeppcm.c capsubs->completed_urb = NULL; capsubs 222 sound/usb/usx2y/usx2yhwdeppcm.c struct snd_usX2Y_substream *capsubs, *capsubs2, *playbacksubs; capsubs 237 sound/usb/usx2y/usx2yhwdeppcm.c capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; capsubs 240 sound/usb/usx2y/usx2yhwdeppcm.c if (capsubs->completed_urb && atomic_read(&capsubs->state) >= state_PREPARED && capsubs 243 sound/usb/usx2y/usx2yhwdeppcm.c if (!usX2Y_usbpcm_usbframe_complete(capsubs, capsubs2, playbacksubs, urb->start_frame)) capsubs 474 sound/usb/usx2y/usx2yhwdeppcm.c struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]; capsubs 490 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&capsubs->state) < state_PREPARED) { capsubs 497 sound/usb/usx2y/usx2yhwdeppcm.c snd_printdd("starting capture pipe for %s\n", subs == capsubs ? capsubs 499 sound/usb/usx2y/usx2yhwdeppcm.c if (0 > (err = usX2Y_usbpcm_urbs_start(capsubs))) capsubs 503 sound/usb/usx2y/usx2yhwdeppcm.c if (subs != capsubs) {