• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/arm/

Lines Matching refs:phase

198 	printk("           type=%p phase=%X\n",
199 info->scsi.type, info->scsi.phase);
276 if (info->scsi.phase < ARRAY_SIZE(phases) &&
277 phases[info->scsi.phase])
278 return phases[info->scsi.phase];
566 info->scsi.phase = PHASE_MSGOUT_EXPECT;
607 info->scsi.phase = PHASE_MSGOUT_EXPECT;
636 SCp->phase -= bytes_transferred;
718 total = info->scsi.SCp.phase;
736 if (info->scsi.phase == PHASE_DATAOUT)
756 info->scsi.SCp.phase);
776 if (info->scsi.phase == PHASE_DATAOUT)
787 fas216_set_stc(info, info->scsi.SCp.phase);
840 if (info->scsi.phase == PHASE_DATAIN) {
856 * After a Data-Out phase, there may be unsent
889 fas216_log(info, LOG_CONNECT, "disconnect phase=%02x",
890 info->scsi.phase);
894 switch (info->scsi.phase) {
902 info->scsi.phase = PHASE_IDLE;
905 if (info->scsi.phase == PHASE_IDLE)
922 printk(KERN_ERR "scsi%d.%c: unexpected disconnect in phase %s\n",
946 WARN_ON(info->scsi.phase == PHASE_SELECTION ||
947 info->scsi.phase == PHASE_SELSTEPS);
951 fas216_log(info, LOG_CONNECT, "reconnect phase=%02x cfis=%02x",
952 info->scsi.phase, cfis);
1015 info->scsi.phase = PHASE_MSGIN;
1026 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1043 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1097 info->scsi.phase = PHASE_MSGIN_DISCONNECT;
1154 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1207 fas216_log(info, LOG_ERROR, "unexpected phase change: status = %02x", stat);
1211 fas216_log(info, LOG_ERROR, "parity error during message in phase");
1271 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1297 info->scsi.phase = PHASE_COMMAND;
1333 info->scsi.phase = PHASE_MSGOUT;
1349 "bus service: stat=%02x is=%02x phase=%02x",
1350 stat, is, info->scsi.phase);
1352 switch (info->scsi.phase) {
1384 switch (STATE(stat & STAT_BUSMASK, info->scsi.phase)) {
1389 info->scsi.phase = PHASE_DATAIN;
1404 info->scsi.phase = PHASE_DATAOUT;
1416 info->scsi.phase = PHASE_STATUS;
1428 info->scsi.phase = PHASE_MSGIN;
1439 info->scsi.phase = PHASE_COMMAND;
1456 * If we get another message out phase, this usually
1501 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1505 if (info->scsi.phase == PHASE_MSGIN_DISCONNECT) {
1512 info->scsi.phase = PHASE_MSGOUT_EXPECT;
1517 printk(KERN_ERR "scsi%d.%c: bus phase %s after %s?\n",
1547 "function done: stat=%02x is=%02x phase=%02x",
1548 stat, is, info->scsi.phase);
1550 switch (info->scsi.phase) {
1551 case PHASE_STATUS: /* status phase - read status and msg */
1560 info->scsi.phase = PHASE_DONE;
1569 case PHASE_MSGIN: /* message in phase */
1577 fas216_log(info, 0, "internal phase %s for function done?"
1597 info->scsi.phase = PHASE_IDLE;
1631 add_debug_list(stat, is, inst, info->scsi.phase);
1652 " phase %s inst %02X is %02X stat %02X",
1703 info->scsi.phase = PHASE_SELSTEPS;
1738 * information transfer phase (message out) for test purposes.
1752 info->scsi.phase = PHASE_SELECTION;
1841 info->scsi.phase = PHASE_SELECTION;
2106 SCpnt->SCp.phase = sizeof(SCpnt->sense_buffer);
2146 info->scsi.phase = PHASE_IDLE;
2180 if (info->scsi.phase == PHASE_IDLE)
2232 if (result == 0 && info->scsi.phase == PHASE_IDLE)
2372 switch (info->scsi.phase) {
2515 if (info->scsi.phase == PHASE_IDLE)
2601 info->scsi.phase = PHASE_IDLE;