Searched refs:OK_STAT (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-taskfile.c | 169 if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) { in task_no_data_intr() 352 if (OK_STAT(stat, ATA_DRDY, ATA_BUSY)) in task_pio_intr() 359 if (!OK_STAT(stat, DRIVE_READY, drive->bad_wstat)) in task_pio_intr() 376 if (!OK_STAT(stat, 0, BAD_STAT)) in task_pio_intr()
|
D | ide-eh.c | 178 if (OK_STAT(stat, 0, ATA_BUSY)) in atapi_reset_pollfunc() 242 if (!OK_STAT(tmp, 0, ATA_BUSY)) { in reset_pollfunc()
|
D | ide-dma.c | 102 if (OK_STAT(stat, DRIVE_READY, drive->bad_wstat | ATA_DRQ)) { in ide_dma_intr()
|
D | ide-iops.c | 156 if (OK_STAT(stat, good, bad)) { in __ide_wait_stat()
|
D | ide-probe.c | 318 if (OK_STAT(s, ATA_DRQ, BAD_R_STAT)) { in ide_dev_read_id() 420 if (OK_STAT(stat, ATA_DRDY, ATA_BUSY) || in do_probe()
|
D | ide-io.c | 735 if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) { in unexpected_intr()
|
D | ide-cd.c | 639 if (!OK_STAT(stat, 0, BAD_R_STAT)) { in cdrom_newpc_intr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ide.h | 125 #define OK_STAT(stat,good,bad) (((stat)&((good)|(bad)))==(good)) macro
|