Lines Matching refs:test_bit

196 	if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) {  in playback_urb_complete()
269 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states))) in playback_tasklet()
299 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states)) in playback_tasklet()
380 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states)) in capture_urb_complete()
385 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) { in capture_urb_complete()
412 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states) && in capture_urb_complete()
495 if (err < 0 && !test_bit(DISCONNECTED, &ua->states)) in disable_iso_interface()
515 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_capture()
518 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) in start_usb_capture()
556 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_playback()
559 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) in start_usb_playback()
582 !test_bit(USB_CAPTURE_RUNNING, &ua->states) || in start_usb_playback()
583 test_bit(DISCONNECTED, &ua->states)); in start_usb_playback()
584 if (test_bit(DISCONNECTED, &ua->states)) { in start_usb_playback()
588 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states)) { in start_usb_playback()
616 if (test_bit(ALSA_CAPTURE_RUNNING, &ua->states)) in abort_alsa_capture()
622 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states)) in abort_alsa_playback()
699 if (!test_bit(ALSA_CAPTURE_OPEN, &ua->states)) in playback_pcm_open()
715 if (!test_bit(ALSA_PLAYBACK_OPEN, &ua->states)) in capture_pcm_close()
728 if (!test_bit(ALSA_CAPTURE_OPEN, &ua->states)) in playback_pcm_close()
791 test_bit(CAPTURE_URB_COMPLETED, &ua->states) || in capture_pcm_prepare()
792 !test_bit(USB_CAPTURE_RUNNING, &ua->states)); in capture_pcm_prepare()
793 if (test_bit(DISCONNECTED, &ua->states)) in capture_pcm_prepare()
795 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states)) in capture_pcm_prepare()
818 test_bit(PLAYBACK_URB_COMPLETED, &ua->states) || in playback_pcm_prepare()
819 !test_bit(USB_PLAYBACK_RUNNING, &ua->states)); in playback_pcm_prepare()
820 if (test_bit(DISCONNECTED, &ua->states)) in playback_pcm_prepare()
822 if (!test_bit(USB_PLAYBACK_RUNNING, &ua->states)) in playback_pcm_prepare()
837 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states)) in capture_pcm_trigger()
855 if (!test_bit(USB_PLAYBACK_RUNNING, &ua->states)) in playback_pcm_trigger()