Lines Matching refs:test_bit
289 if (!test_bit(F_DISABLE_WRITE_NDELAY, &dev.flags) && in dsp_ioctl()
528 else if ((dev.recsrc & SOUND_MASK_DIGITAL1) && test_bit(F_HAVEDIGITAL, &dev.flags)) { in set_recsrc()
621 if (test_bit(F_HAVEDIGITAL, &dev.flags)) in mixer_ioctl()
669 if (!(dev.mode & FMODE_WRITE) || !test_bit(F_WRITING, &dev.flags)) in dsp_write_flush()
674 !test_bit(F_WRITEFLUSH, &dev.flags), in dsp_write_flush()
697 if (test_bit(F_WRITING, &dev.flags)) { in dsp_halt()
771 test_bit(F_AUDIO_WRITE_INUSE, &dev.flags)) || in dev_open()
773 test_bit(F_AUDIO_READ_INUSE, &dev.flags))) { in dev_open()
782 if (!test_bit(F_DISABLE_WRITE_NDELAY, &dev.flags)) in dev_open()
930 if (!test_bit(F_READING, &dev.flags) && dev.mode & FMODE_READ) { in dsp_read()
945 test_bit(F_READBLOCK, &dev.flags), in dsp_read()
990 if (!test_bit(F_WRITING, &dev.flags) && (dev.mode & FMODE_WRITE)) { in dsp_write()
1005 test_bit(F_WRITEBLOCK, &dev.flags), in dsp_write()
1040 if (dev.last_playbank == LOBYTE(wMessage) || !test_bit(F_WRITING, &dev.flags)) in eval_dsp_msg()
1045 if (!test_bit(F_WRITEBLOCK, &dev.flags)) { in eval_dsp_msg()
1390 if (test_bit(F_RESETTING, &dev.flags) || ++dev.nresets > 10) in dsp_full_reset()