Lines Matching refs:phase

952 #define	XE_EXTRA_DATA	(1)	/* unexpected data phase	 */
953 #define XE_BAD_PHASE (1<<1) /* illegal phase (4/5) */
955 #define XE_SODL_UNRUN (1<<3) /* ODD transfer in DATA OUT phase */
956 #define XE_SWIDE_OVRUN (1<<4) /* ODD transfer in DATA IN phase */
2773 printf("%s: handling phase mismatch from SCRIPTS.\n",
3218 * and/or hardware phase mismatch, since only such chips
3227 * If phase mismatch handled by scripts (895A/896/1010),
3757 * When a parity error is detected in input phase
3758 * and the device switches to msg-in phase inside a
3870 * A SCSI parity error (PAR) may be combined with a phase
4096 * without the device having changed phase.
4100 * - A phase mismatch occurs before the MOV finished
4101 * and phase errors are to be handled by the C code.
4105 * - A phase mismatch occurs before the MOV finished and
4106 * phase errors are to be handled by SCRIPTS.
4107 * The chip will load the DSP with the phase mismatch
4118 int phase = cmd & 7;
4143 if ((cmd & 0xc0) || !(phase & 1) || !(sbcl & 0x8))
4155 np->msgout[0] = (phase == 7) ? M_PARITY : M_ID_ERROR;
4158 * If the old phase was DATA IN phase, we have to deal with
4164 if (phase == 1 || phase == 5) {
4171 /* No phase mismatch occurred */
4186 * chip exception handler for phase errors.
4223 * INPUT phase since the chip flushes everything before
4225 * For DATA IN phase, we will check for the SWIDE later.
4315 printf ("%s: SCSI phase error fixup: CCB already dequeued.\n",
4344 * If dt data phase, the MOVE instruction hasn't bit 4 of
4345 * the phase.
4356 * if old phase not dataphase, leave here.
4360 printf ("phase change %x-%x %d@%08x resid=%d.\n",
4401 * fillin the phase mismatch context
4461 * Unexpected phase changes that occurs when the current phase
4462 * is not a DATA IN or DATA OUT phase are due to error conditions.
4474 * The code below does not care of the new phase and so
4476 * If the interrupted phase is COMMAND phase, we restart at
4492 case 2: /* COMMAND phase */
4496 case 3: /* STATUS phase */
4500 case 6: /* MSG OUT phase */
4523 case 7: /* MSG IN phase */
5145 * to BUS FREE phase as we expected.
5391 * script address we want to return for the next data phase.
5428 * ofs < 0 there, and for the next data phase, we
5579 * If the target doesn't fetch the answer (no message out phase),
6018 * The device didn't go to MSG OUT phase after having
6023 printf ("%s:%d: No MSG OUT phase after selection with ATN.\n",
6027 * The device didn't switch to MSG IN phase after
6031 printf ("%s:%d: No MSG IN phase after reselection.\n",
6143 * The device switched to an illegal phase (4/5).
7039 printf ("illegal scsi phase (4/5).\n");
7043 printf ("ODD transfer in DATA OUT phase.\n");
7047 printf ("ODD transfer in DATA IN phase.\n");