• Home
  • Raw
  • Download

Lines Matching refs:phase

1293 	unsigned char tmp[3], phase;  in NCR5380_select()  local
1531 phase = PHASE_MSGOUT; in NCR5380_select()
1532 NCR5380_transfer_pio(instance, &phase, &len, &data); in NCR5380_select()
1573 static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_pio() argument
1575 unsigned char p = *phase, tmp; in NCR5380_transfer_pio()
1690 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio()
1692 *phase = PHASE_UNKNOWN; in NCR5380_transfer_pio()
1694 if (!c || (*phase == p)) in NCR5380_transfer_pio()
1734 unsigned char *msgptr, phase, tmp; in do_abort() local
1772 phase = PHASE_MSGOUT; in do_abort()
1773 NCR5380_transfer_pio(host, &phase, &len, &msgptr); in do_abort()
1805 static int NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsig… in NCR5380_transfer_dma() argument
1808 register unsigned char p = *phase; in NCR5380_transfer_dma()
1822 *phase = tmp; in NCR5380_transfer_dma()
1946 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
1949 if (*phase == p && (p & SR_IO) && residue == 0) { in NCR5380_transfer_dma()
1961 NCR5380_transfer_pio(instance, phase, &cnt, data); in NCR5380_transfer_dma()
2058 *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; in NCR5380_transfer_dma()
2096 unsigned char phase, tmp, extended_msg[10], old_phase = 0xff; local
2107 phase = (tmp & PHASE_MASK);
2108 if (phase != old_phase) {
2109 old_phase = phase;
2112 if (sink && (phase != PHASE_MSGOUT)) {
2121 switch (phase) {
2179 if (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {
2197 NCR5380_transfer_pio(instance, &phase, (int *) &cmd->SCp.this_residual, (unsigned char **)
2203 NCR5380_transfer_pio(instance, &phase, &len, &data);
2380 phase = PHASE_MSGIN;
2381 NCR5380_transfer_pio(instance, &phase, &len, &data);
2390 phase = PHASE_MSGIN;
2392 NCR5380_transfer_pio(instance, &phase, &len, &data);
2436 NCR5380_transfer_pio(instance, &phase, &len, &data);
2456 NCR5380_transfer_pio(instance, &phase, &len, &data);
2466 NCR5380_transfer_pio(instance, &phase, &len, &data);
2503 unsigned char lun, phase; local
2549 phase = PHASE_MSGIN;
2550 NCR5380_transfer_pio(instance, &phase, &len, &data);
2645 if (!(hostdata->connected->SCp.phase & SR_CD)) {