Lines Matching refs:phase

1459 	unsigned char tmp[3], phase;  in NCR5380_select()  local
1716 phase = PHASE_MSGOUT; in NCR5380_select()
1717 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1754 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument
1756 unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1871 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1873 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1875 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1914 unsigned char tmp, *msgptr, phase; in do_abort() local
1944 phase = PHASE_MSGOUT; in do_abort()
1945 NCR5380_transfer_pio(host, &phase, &len, &msgptr); in do_abort()
1977 static int NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_dma() argument
1980 register unsigned char p = *phase; in NCR5380_transfer_dma()
1994 *phase = tmp; in NCR5380_transfer_dma()
2116 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
2119 if (*phase == p && (p & SR_IO) && residue == 0) { in NCR5380_transfer_dma()
2131 NCR5380_transfer_pio(instance, phase, &cnt, data); in NCR5380_transfer_dma()
2228 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
2266 unsigned char phase, tmp, extended_msg[10], old_phase = 0xff; local
2277 phase = (tmp & PHASE_MASK);
2278 if (phase != old_phase) {
2279 old_phase = phase;
2282 if (sink && (phase != PHASE_MSGOUT)) {
2291 switch (phase) {
2349 if (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {
2366 NCR5380_transfer_pio(instance, &phase, (int *) &cmd->SCp.this_residual, (unsigned char **)
2372 NCR5380_transfer_pio(instance, &phase, &len, &data);
2551 phase = PHASE_MSGIN;
2552 NCR5380_transfer_pio(instance, &phase, &len, &data);
2561 phase = PHASE_MSGIN;
2563 NCR5380_transfer_pio(instance, &phase, &len, &data);
2605 NCR5380_transfer_pio(instance, &phase, &len, &data);
2625 NCR5380_transfer_pio(instance, &phase, &len, &data);
2636 NCR5380_transfer_pio(instance, &phase, &len, &data);
2674 unsigned char lun, phase; local
2715 phase = PHASE_MSGIN;
2716 NCR5380_transfer_pio(instance, &phase, &len, &data);
2809 if (!(hostdata->connected->SCp.phase & SR_CD)) {