Searched refs:PC_WRITING (Results 1 - 3 of 3) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dide-scsi.c78 #define PC_WRITING 1 /* Data direction */ macro
287 if (!test_bit(PC_WRITING, &pc->flags) && pc->actually_transferred && pc->actually_transferred <= 1024 && pc->buffer) {
356 clear_bit(PC_WRITING, &pc->flags);
375 clear_bit(PC_WRITING, &pc->flags);
381 set_bit(PC_WRITING, &pc->flags);
431 dma_ok=!HWIF(drive)->dmaproc(test_bit (PC_WRITING, &pc->flags) ? ide_dma_write : ide_dma_read, drive);
694 clear_bit (PC_WRITING, &pc->flags);
697 set_bit (PC_WRITING, &pc->flags);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dide-floppy.c170 #define PC_WRITING 5 /* Data direction */ macro
977 if (ireason.b.io == test_bit (PC_WRITING, &pc->flags)) { /* Hopefully, we will never get here */
982 if (!test_bit (PC_WRITING, &pc->flags)) { /* Reading - Check that we have enough space */
996 if (test_bit (PC_WRITING, &pc->flags)) {
1140 dma_ok=!HWIF(drive)->dmaproc(test_bit (PC_WRITING, &pc->flags) ? ide_dma_write : ide_dma_read, drive);
1222 set_bit(PC_WRITING, &pc->flags);
1288 set_bit (PC_WRITING, &pc->flags);
H A Dide-tape.c457 #define PC_WRITING 5 /* Data direction */ macro
1253 if (test_bit (PC_WRITING, &pc->flags))
1846 if (ireason.b.io == test_bit (PC_WRITING, &pc->flags)) { /* Hopefully, we will never get here */
1851 if (!test_bit (PC_WRITING, &pc->flags)) { /* Reading - Check that we have enough space */
1866 if (test_bit (PC_WRITING, &pc->flags)) {
2014 dma_ok = !HWIF(drive)->dmaproc(test_bit (PC_WRITING, &pc->flags) ? ide_dma_write : ide_dma_read, drive);
2285 set_bit (PC_WRITING, &pc->flags);
3307 set_bit (PC_WRITING, &pc->flags);

Completed in 108 milliseconds