• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/usb/misc/

Lines Matching refs:states

76 /* bits in struct ua101::states */
101 unsigned long states;
169 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) {
177 if (test_and_clear_bit(USB_PLAYBACK_RUNNING, &ua->states))
196 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) {
216 set_bit(PLAYBACK_URB_COMPLETED, &ua->states);
269 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states)))
299 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states))
380 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states))
385 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) {
412 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states) &&
438 set_bit(CAPTURE_URB_COMPLETED, &ua->states);
491 if (err < 0 && !test_bit(DISCONNECTED, &ua->states))
500 clear_bit(USB_CAPTURE_RUNNING, &ua->states);
511 if (test_bit(DISCONNECTED, &ua->states))
514 if (test_bit(USB_CAPTURE_RUNNING, &ua->states))
523 clear_bit(CAPTURE_URB_COMPLETED, &ua->states);
528 set_bit(USB_CAPTURE_RUNNING, &ua->states);
537 clear_bit(USB_PLAYBACK_RUNNING, &ua->states);
552 if (test_bit(DISCONNECTED, &ua->states))
555 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states))
565 clear_bit(PLAYBACK_URB_COMPLETED, &ua->states);
578 !test_bit(USB_CAPTURE_RUNNING, &ua->states) ||
579 test_bit(DISCONNECTED, &ua->states));
580 if (test_bit(DISCONNECTED, &ua->states)) {
584 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states)) {
603 set_bit(USB_PLAYBACK_RUNNING, &ua->states);
612 if (test_bit(ALSA_CAPTURE_RUNNING, &ua->states))
618 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states))
671 set_bit(ALSA_CAPTURE_OPEN, &ua->states);
695 if (!test_bit(ALSA_CAPTURE_OPEN, &ua->states))
699 set_bit(ALSA_PLAYBACK_OPEN, &ua->states);
710 clear_bit(ALSA_CAPTURE_OPEN, &ua->states);
711 if (!test_bit(ALSA_PLAYBACK_OPEN, &ua->states))
723 clear_bit(ALSA_PLAYBACK_OPEN, &ua->states);
724 if (!test_bit(ALSA_CAPTURE_OPEN, &ua->states))
787 test_bit(CAPTURE_URB_COMPLETED, &ua->states) ||
788 !test_bit(USB_CAPTURE_RUNNING, &ua->states));
789 if (test_bit(DISCONNECTED, &ua->states))
791 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states))
814 test_bit(PLAYBACK_URB_COMPLETED, &ua->states) ||
815 !test_bit(USB_PLAYBACK_RUNNING, &ua->states));
816 if (test_bit(DISCONNECTED, &ua->states))
818 if (!test_bit(USB_PLAYBACK_RUNNING, &ua->states))
833 if (!test_bit(USB_CAPTURE_RUNNING, &ua->states))
835 set_bit(ALSA_CAPTURE_RUNNING, &ua->states);
838 clear_bit(ALSA_CAPTURE_RUNNING, &ua->states);
851 if (!test_bit(USB_PLAYBACK_RUNNING, &ua->states))
853 set_bit(ALSA_PLAYBACK_RUNNING, &ua->states);
856 clear_bit(ALSA_PLAYBACK_RUNNING, &ua->states);
1332 set_bit(DISCONNECTED, &ua->states);