Lines Matching refs:phase

82  * - fixed lockup in MESSAGE IN phase after reconnection
125 * - accept unexpected BUSFREE phase as error condition
145 * - fixed STATUS phase (non-GOOD stati were dropped sometimes;
197 * - improved phase detection
326 int phase;
899 acp->phase |= 1 << 16;
901 if (acp->phase & selecting) {
906 SETPORT(SIMODE0, (acp->phase & spiordy) ? ENSPIORDY : 0);
928 struct completion *complete, int phase)
934 acp->phase = not_issued | phase;
939 if (acp->phase & (resetting | check_condition)) {
959 SCp.phase : current state of the command */
961 if ((phase & resetting) || !scsi_sglist(SCpnt)) {
1020 if (aha152x_priv(SCpnt)->phase & resetting)
1106 if (aha152x_priv(SCpnt)->phase & resetted) {
1383 * busfree phase
1405 acp->phase &= ~syncneg;
1407 if (acp->phase & completed) {
1411 } else if (acp->phase & aborted) {
1414 } else if (acp->phase & resetted) {
1417 } else if (acp->phase & disconnected) {
1423 acp->phase |= 1 << 16;
1442 if (aha152x_priv(DONE_SC)->phase & check_condition) {
1458 if (!(aha152x_priv(DONE_SC)->phase & not_issued)) {
1483 if (!(aha152x_priv(ptr)->phase & resetting)) {
1511 acp->phase |= selecting;
1545 acp->phase &= ~(selecting | not_issued);
1560 if (acp->phase & aborting) {
1562 } else if (acp->phase & resetting) {
1565 acp->phase |= syncneg;
1589 acp->phase &= ~selecting;
1591 if (acp->phase & aborted)
1621 if (!(acp->phase & not_issued))
1663 * message in phase
1718 acp->phase &= ~disconnected;
1735 acp->phase |= disconnected;
1739 acp->phase |= completed;
1864 * message out phase
1870 if ((aha152x_priv(CURRENT_SC)->phase & syncneg) &&
1875 "unexpected MESSAGE OUT phase; rejecting\n");
1883 * message out phase
1901 acp->phase |= identified;
1904 acp->phase |= aborted;
1907 acp->phase |= resetted;
1931 * command phase
1947 * command phase
1971 * status phase
1984 * data in phase
2008 * loop while the phase persists or the fifos are not empty
2093 * or the phase didn't change
2096 "fifos should be empty and phase should have changed\n");
2118 * data out phase
2141 /* until phase changes or all data sent */
2240 (aha152x_priv(CURRENT_SC)->phase & selecting)) {
2276 * FIXME: in which phase?
2364 * disable SPIO mode if previous phase used it
2372 aha152x_priv(CURRENT_SC)->phase &= ~spiordy;
2376 * accept current dataphase phase
2394 aha152x_priv(CURRENT_SC)->phase |= spiordy;
2484 const int phase = aha152x_priv(ptr)->phase;
2489 "phase |%s%s%s%s%s%s%s%s%s; next=0x%p",
2491 phase & not_issued ? "not issued|" : "",
2492 phase & selecting ? "selecting|" : "",
2493 phase & identified ? "identified|" : "",
2494 phase & disconnected ? "disconnected|" : "",
2495 phase & completed ? "completed|" : "",
2496 phase & spiordy ? "spiordy|" : "",
2497 phase & syncneg ? "syncneg|" : "",
2498 phase & aborted ? "aborted|" : "",
2499 phase & resetted ? "resetted|" : "",
2533 const int phase = acp->phase;
2542 seq_printf(m, "); resid=%d; residual=%d; buffers=%d; phase |",
2546 if (phase & not_issued)
2548 if (phase & selecting)
2550 if (phase & disconnected)
2552 if (phase & aborted)
2554 if (phase & identified)
2556 if (phase & completed)
2558 if (phase & spiordy)
2560 if (phase & syncneg)