Lines Matching refs:phase

199 		info->scsi.type, info->scsi.phase);  in fas216_dumpinfo()
276 if (info->scsi.phase < ARRAY_SIZE(phases) && in fas216_drv_phase()
277 phases[info->scsi.phase]) in fas216_drv_phase()
278 return phases[info->scsi.phase]; in fas216_drv_phase()
566 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
607 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_handlesync()
636 SCp->phase -= bytes_transferred; in fas216_updateptrs()
718 total = info->scsi.SCp.phase; in fas216_cleanuptransfer()
736 if (info->scsi.phase == PHASE_DATAOUT) in fas216_cleanuptransfer()
756 info->scsi.SCp.phase); in fas216_transfer()
776 if (info->scsi.phase == PHASE_DATAOUT) in fas216_transfer()
787 fas216_set_stc(info, info->scsi.SCp.phase); in fas216_transfer()
840 if (info->scsi.phase == PHASE_DATAIN) { in fas216_stoptransfer()
890 info->scsi.phase); in fas216_disconnect_intr()
894 switch (info->scsi.phase) { in fas216_disconnect_intr()
902 info->scsi.phase = PHASE_IDLE; in fas216_disconnect_intr()
905 if (info->scsi.phase == PHASE_IDLE) in fas216_disconnect_intr()
946 WARN_ON(info->scsi.phase == PHASE_SELECTION || in fas216_reselected_intr()
947 info->scsi.phase == PHASE_SELSTEPS); in fas216_reselected_intr()
952 info->scsi.phase, cfis); in fas216_reselected_intr()
1015 info->scsi.phase = PHASE_MSGIN; in fas216_reselected_intr()
1031 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_reselected_intr()
1048 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_reselected_intr()
1102 info->scsi.phase = PHASE_MSGIN_DISCONNECT; in fas216_parse_message()
1159 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_parse_message()
1276 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_message()
1302 info->scsi.phase = PHASE_COMMAND; in fas216_send_command()
1338 info->scsi.phase = PHASE_MSGOUT; in fas216_send_messageout()
1355 stat, is, info->scsi.phase); in fas216_busservice_intr()
1357 switch (info->scsi.phase) { in fas216_busservice_intr()
1389 switch (STATE(stat & STAT_BUSMASK, info->scsi.phase)) { in fas216_busservice_intr()
1394 info->scsi.phase = PHASE_DATAIN; in fas216_busservice_intr()
1409 info->scsi.phase = PHASE_DATAOUT; in fas216_busservice_intr()
1421 info->scsi.phase = PHASE_STATUS; in fas216_busservice_intr()
1433 info->scsi.phase = PHASE_MSGIN; in fas216_busservice_intr()
1444 info->scsi.phase = PHASE_COMMAND; in fas216_busservice_intr()
1506 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_busservice_intr()
1510 if (info->scsi.phase == PHASE_MSGIN_DISCONNECT) { in fas216_busservice_intr()
1517 info->scsi.phase = PHASE_MSGOUT_EXPECT; in fas216_busservice_intr()
1553 stat, is, info->scsi.phase); in fas216_funcdone_intr()
1555 switch (info->scsi.phase) { in fas216_funcdone_intr()
1565 info->scsi.phase = PHASE_DONE; in fas216_funcdone_intr()
1602 info->scsi.phase = PHASE_IDLE; in fas216_bus_reset()
1636 add_debug_list(stat, is, inst, info->scsi.phase); in fas216_intr()
1708 info->scsi.phase = PHASE_SELSTEPS; in __fas216_start_command()
1763 info->scsi.phase = PHASE_SELECTION; in fas216_start_command()
1852 info->scsi.phase = PHASE_SELECTION; in fas216_do_bus_device_reset()
2147 info->scsi.phase = PHASE_IDLE; in fas216_done()
2181 if (info->scsi.phase == PHASE_IDLE) in fas216_done()
2233 if (result == 0 && info->scsi.phase == PHASE_IDLE) in fas216_queue_command_lck()
2377 switch (info->scsi.phase) { in fas216_find_command()
2520 if (info->scsi.phase == PHASE_IDLE) in fas216_eh_device_reset()
2606 info->scsi.phase = PHASE_IDLE; in fas216_eh_bus_reset()