Lines Matching defs:phase
513 #define __data_mapped SCp.phase
1080 #define XE_EXTRA_DATA (1) /* unexpected data phase */
1081 #define XE_BAD_PHASE (2) /* illegal phase (4/5) */
1527 ** If a data transfer phase is terminated too early
2068 ** the next instruction that checks SCSI phase.
2118 ** Wait for the next phase or the selection
2168 ** Anticipate the COMMAND phase.
2192 ** MSG_IN is the only phase that shall be
2205 ** start of the first MOVE of a DATA IN phase.
2222 ** Discard one illegal phase byte, if required.
2242 ** Terminate possible pending message phase.
2533 ** ... wait for the next phase
2548 ** ... and process the next phase
2649 ** Wait for a msg_in phase.
2654 ** message phase.
2889 ** Ignore all data in byte, until next phase
3216 ** The target stays in MSG OUT phase after having acked
3257 ** Warning: we jump here, even when phase is DATA OUT.
3284 ** If message phase but not an IDENTIFY,
4883 PRINT_ADDR(cmd, "invalid scsi phase (4/5).\n");
6072 ** for a valid phase.
6159 int phase = -1;
6182 * If the SCSI parity error occurs in MSG IN phase, prepare a
6186 * phase waiting for the response of a negotiation, we will
6190 phase = (dbc >> 24) & 7;
6191 if (phase == 7)
6199 * script that will ignore all data in bytes until phase
6200 * change, since we are not sure the chip will wait the phase
6203 if (phase == 1)
6223 ** ncr chip exception handler for phase errors.
6258 ** only if the interrupted phase is an OUTPUT phase.
6305 ** if the interrupted phase is DATA IN or DATA OUT,
6361 ** We are not able to recover from such a phase error.
6364 printk ("%s: SCSI phase error fixup: "
6411 printk ("%s: SCSI phase error fixup: "
6417 ** if old phase not dataphase, leave here.
6421 PRINT_ADDR(cp->cmd, "phase change %x-%x %d@%08x resid=%d.\n",
6465 ** Unexpected phase changes that occurs when the current phase
6466 ** is not a DATA IN or DATA OUT phase are due to error conditions.
6478 ** The code below does not care of the new phase and so
6480 ** If the interrupted phase is COMMAND phase, we restart at
6496 case 2: /* COMMAND phase */
6500 case 3: /* STATUS phase */
6504 case 6: /* MSG OUT phase */
6516 case 7: /* MSG IN phase */
6788 ** If the target doesn't fetch the answer (no message out phase),
7628 ** by unexpected phase changes due to disconnects.
7630 ** If we wanted to avoid unexpected phase changes at all