Lines Matching refs:phase
1222 p = hostdata->connected->SCp.phase; in NCR5380_dma_complete()
1418 unsigned char tmp[3], phase; in NCR5380_select() local
1703 phase = PHASE_MSGOUT; in NCR5380_select()
1704 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1744 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1747 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1841 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1843 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1845 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1862 unsigned char tmp, *msgptr, phase; in do_abort() local
1892 phase = PHASE_MSGOUT; in do_abort()
1893 NCR5380_transfer_pio (host, &phase, &len, &msgptr); in do_abort()
1925 unsigned char *phase, int *count, in NCR5380_transfer_dma() argument
1930 register unsigned char p = *phase; in NCR5380_transfer_dma()
1938 *phase = tmp; in NCR5380_transfer_dma()
2121 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
2162 unsigned char phase, tmp, extended_msg[10], old_phase=0xff; in NCR5380_information_transfer() local
2169 phase = (tmp & PHASE_MASK); in NCR5380_information_transfer()
2170 if (phase != old_phase) { in NCR5380_information_transfer()
2171 old_phase = phase; in NCR5380_information_transfer()
2175 if (sink && (phase != PHASE_MSGOUT)) { in NCR5380_information_transfer()
2187 switch (phase) { in NCR5380_information_transfer()
2236 (transfersize = NCR5380_dma_xfer_len(instance,cmd,phase)) > 31) { in NCR5380_information_transfer()
2239 cmd->SCp.phase = phase; in NCR5380_information_transfer()
2240 if (NCR5380_transfer_dma(instance, &phase, in NCR5380_information_transfer()
2279 NCR5380_transfer_pio(instance, &phase, in NCR5380_information_transfer()
2287 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2534 phase = PHASE_MSGIN; in NCR5380_information_transfer()
2535 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2545 phase = PHASE_MSGIN; in NCR5380_information_transfer()
2547 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2601 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2627 NCR5380_transfer_pio(instance, &phase, &len, in NCR5380_information_transfer()
2633 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2660 unsigned char lun, phase; in NCR5380_reselect() local
2704 phase = PHASE_MSGIN; in NCR5380_reselect()
2705 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_reselect()
2721 if (phase == PHASE_MSGIN && setup_use_tagged_queuing) { in NCR5380_reselect()
2726 if (!NCR5380_transfer_pio(instance, &phase, &len, &data) && in NCR5380_reselect()