Lines Matching refs:phase

1210 	unsigned char tmp[3], phase;  in NCR5380_select()  local
1447 phase = PHASE_MSGOUT; in NCR5380_select()
1448 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1489 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument
1491 unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1606 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1608 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1610 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1650 unsigned char *msgptr, phase, tmp; in do_abort() local
1688 phase = PHASE_MSGOUT; in do_abort()
1689 NCR5380_transfer_pio(host, &phase, &len, &msgptr); in do_abort()
1721 static int NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_dma() argument
1724 register unsigned char p = *phase; in NCR5380_transfer_dma()
1738 *phase = tmp; in NCR5380_transfer_dma()
1862 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
1865 if (*phase == p && (p & SR_IO) && residue == 0) { in NCR5380_transfer_dma()
1877 NCR5380_transfer_pio(instance, phase, &cnt, data); in NCR5380_transfer_dma()
1974 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
2012 unsigned char phase, tmp, extended_msg[10], old_phase = 0xff; local
2023 phase = (tmp & PHASE_MASK);
2024 if (phase != old_phase) {
2025 old_phase = phase;
2028 if (sink && (phase != PHASE_MSGOUT)) {
2037 switch (phase) {
2095 if (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {
2113 NCR5380_transfer_pio(instance, &phase, (int *) &cmd->SCp.this_residual, (unsigned char **)
2119 NCR5380_transfer_pio(instance, &phase, &len, &data);
2291 phase = PHASE_MSGIN;
2292 NCR5380_transfer_pio(instance, &phase, &len, &data);
2301 phase = PHASE_MSGIN;
2303 NCR5380_transfer_pio(instance, &phase, &len, &data);
2347 NCR5380_transfer_pio(instance, &phase, &len, &data);
2366 NCR5380_transfer_pio(instance, &phase, &len, &data);
2376 NCR5380_transfer_pio(instance, &phase, &len, &data);
2413 unsigned char lun, phase; local
2459 phase = PHASE_MSGIN;
2460 NCR5380_transfer_pio(instance, &phase, &len, &data);
2555 if (!(hostdata->connected->SCp.phase & SR_CD)) {