Lines Matching refs:phase

1220 		p = hostdata->connected->SCp.phase;  in NCR5380_dma_complete()
1413 unsigned char tmp[3], phase; in NCR5380_select() local
1698 phase = PHASE_MSGOUT; in NCR5380_select()
1699 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1738 unsigned char *phase, int *count, in NCR5380_transfer_pio() argument
1741 register unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1837 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1839 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1841 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1858 unsigned char tmp, *msgptr, phase; in do_abort() local
1890 phase = PHASE_MSGOUT; in do_abort()
1891 NCR5380_transfer_pio(host, &phase, &len, &msgptr); in do_abort()
1923 unsigned char *phase, int *count, in NCR5380_transfer_dma() argument
1928 register unsigned char p = *phase; in NCR5380_transfer_dma()
1934 *phase = tmp; in NCR5380_transfer_dma()
2011 unsigned char phase, tmp, extended_msg[10], old_phase = 0xff; in NCR5380_information_transfer() local
2018 phase = (tmp & PHASE_MASK); in NCR5380_information_transfer()
2019 if (phase != old_phase) { in NCR5380_information_transfer()
2020 old_phase = phase; in NCR5380_information_transfer()
2024 if (sink && (phase != PHASE_MSGOUT)) { in NCR5380_information_transfer()
2037 switch (phase) { in NCR5380_information_transfer()
2085 (transfersize = NCR5380_dma_xfer_len(instance,cmd,phase)) > 31) { in NCR5380_information_transfer()
2087 cmd->SCp.phase = phase; in NCR5380_information_transfer()
2088 if (NCR5380_transfer_dma(instance, &phase, in NCR5380_information_transfer()
2119 NCR5380_transfer_pio(instance, &phase, in NCR5380_information_transfer()
2127 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2372 phase = PHASE_MSGIN; in NCR5380_information_transfer()
2373 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2383 phase = PHASE_MSGIN; in NCR5380_information_transfer()
2385 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2438 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2465 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2470 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_information_transfer()
2497 unsigned char lun, phase; in NCR5380_reselect() local
2543 phase = PHASE_MSGIN; in NCR5380_reselect()
2544 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_reselect()
2560 if (phase == PHASE_MSGIN && setup_use_tagged_queuing) { in NCR5380_reselect()
2565 if (!NCR5380_transfer_pio(instance, &phase, &len, &data) && in NCR5380_reselect()