Lines Matching refs:STATE_PREPARED
242 if (state >= STATE_PREPARED) { in usx2y_usbframe_complete()
302 if (unlikely(atomic_read(&subs->state) < STATE_PREPARED)) { in i_usx2y_urb_complete()
320 atomic_read(&capsubs->state) >= STATE_PREPARED && in i_usx2y_urb_complete()
322 atomic_read(&playbacksubs->state) < STATE_PREPARED)) { in i_usx2y_urb_complete()
489 if (subs && atomic_read(&subs->state) >= STATE_PREPARED) in usx2y_urbs_start()
523 if (atomic_read(&subs->state) != STATE_PREPARED) in usx2y_urbs_start()
554 if (atomic_read(&subs->state) == STATE_PREPARED && in snd_usx2y_pcm_trigger()
555 atomic_read(&subs->usx2y->subs[SNDRV_PCM_STREAM_CAPTURE]->state) >= STATE_PREPARED) { in snd_usx2y_pcm_trigger()
565 atomic_set(&subs->state, STATE_PREPARED); in snd_usx2y_pcm_trigger()
831 if (atomic_read(&playback_subs->state) < STATE_PREPARED) { in snd_usx2y_pcm_hw_free()
859 if (atomic_read(&capsubs->state) < STATE_PREPARED) { in snd_usx2y_pcm_prepare()
876 if (subs != capsubs && atomic_read(&subs->state) < STATE_PREPARED) in snd_usx2y_pcm_prepare()