Lines Matching refs:phase
96 u8 phase; member
153 enum mesh_phase phase; /* what we're currently trying to do */ member
222 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog()
253 t, lp->bs1, lp->bs0, lp->phase); in dumplog()
278 lp->bs1, lp->bs0, lp->phase, lp->tgt); in dumpslog()
323 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
400 ms->phase = idle; in mesh_init()
428 ms->phase = arbitrating; in mesh_start_cmd()
468 if (ms->phase != arbitrating) in mesh_start_cmd()
476 ms->phase = idle; in mesh_start_cmd()
506 if (ms->phase != arbitrating) in mesh_start_cmd()
562 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
564 ms->phase, ms); in mesh_start()
568 while (ms->phase == idle) { in mesh_start()
622 ms->phase = idle; in mesh_done()
764 switch (ms->phase) { in start_phase()
819 ms->phase); in start_phase()
864 switch (ms->phase) { in reselected()
879 ms->phase = reselecting; in reselected()
886 ms->msgphase, ms->phase, ms->conn_tgt); in reselected()
896 ms->phase = dataing; in reselected()
1010 ms->phase = idle; in handle_reset()
1118 if (ms->phase > selecting && (in_8(&mr->bus_status1) & BS1_BSY)) { in handle_error()
1220 ms->phase = disconnecting; in handle_msgin()
1371 int phase; in phase_mismatch() local
1375 phase = in_8(&mr->bus_status0) & BS0_PHASE; in phase_mismatch()
1376 if (ms->msgphase == msg_out_xxx && phase == BP_MSGOUT) { in phase_mismatch()
1402 switch (phase) { in phase_mismatch()
1405 ms->phase = dataing; in phase_mismatch()
1409 ms->phase = dataing; in phase_mismatch()
1412 ms->phase = commanding; in phase_mismatch()
1415 ms->phase = statusing; in phase_mismatch()
1438 printk(KERN_DEBUG "mesh: unknown scsi phase %x\n", phase); in phase_mismatch()
1544 switch (ms->phase) { in cmd_complete()
1616 ms->phase = idle; in cmd_complete()
1622 ++ms->phase; in cmd_complete()
1648 if (ms->phase == idle) in mesh_queue_lck()
1671 ms->phase, ms->msgphase); in DEF_SCSI_QCMD()
1775 if (ms->phase == sleeping) in mesh_suspend()
1780 while(ms->phase != idle) { in mesh_suspend()
1785 ms->phase = sleeping; in mesh_suspend()
1798 if (ms->phase != sleeping) in mesh_resume()