Lines Matching refs:STATUS_REG
286 status = NCR5380_read(STATUS_REG); in NCR5380_print()
336 status = NCR5380_read(STATUS_REG); in NCR5380_print_phase()
433 NCR5380_read(STATUS_REG); in NCR5380_init()
462 for (pass = 1; (NCR5380_read(STATUS_REG) & SR_BSY) && pass <= 6; ++pass) { in NCR5380_maybe_reset_bus()
469 STATUS_REG, SR_BSY, 0, 5 * HZ); in NCR5380_maybe_reset_bus()
792 if ((NCR5380_read(STATUS_REG) & PHASE_MASK) == p && (p & SR_IO)) { in NCR5380_dma_complete()
859 unsigned char sr = NCR5380_read(STATUS_REG); in NCR5380_intr()
1117 err = NCR5380_poll_politely(hostdata, STATUS_REG, SR_BSY, SR_BSY, in NCR5380_select()
1120 if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == (SR_SEL | SR_IO)) { in NCR5380_select()
1163 err = NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, SR_REQ, HZ); in NCR5380_select()
1260 if (NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, SR_REQ, HZ) < 0) in NCR5380_transfer_pio()
1266 if ((NCR5380_read(STATUS_REG) & PHASE_MASK) != p) { in NCR5380_transfer_pio()
1306 STATUS_REG, SR_REQ, 0, 5 * HZ) < 0) in NCR5380_transfer_pio()
1334 tmp = NCR5380_read(STATUS_REG); in NCR5380_transfer_pio()
1369 PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); in do_reset()
1405 rc = NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, SR_REQ, 10 * HZ); in do_abort()
1409 tmp = NCR5380_read(STATUS_REG) & PHASE_MASK; in do_abort()
1416 rc = NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, 0, 3 * HZ); in do_abort()
1470 if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { in NCR5380_transfer_dma()
1609 if (NCR5380_poll_politely(hostdata, STATUS_REG, in NCR5380_transfer_dma()
1669 tmp = NCR5380_read(STATUS_REG); in NCR5380_information_transfer()
1706 while (NCR5380_read(STATUS_REG) & SR_REQ) in NCR5380_information_transfer()
1984 NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, SR_REQ, HZ); in NCR5380_information_transfer()
2034 STATUS_REG, SR_SEL, 0, 2 * HZ) < 0) { in NCR5380_reselect()
2046 STATUS_REG, SR_REQ, SR_REQ, 2 * HZ) < 0) { in NCR5380_reselect()
2047 if ((NCR5380_read(STATUS_REG) & (SR_BSY | SR_SEL)) == 0) in NCR5380_reselect()