Lines Matching refs:phase
95 u8 phase; member
152 enum mesh_phase phase; /* what we're currently trying to do */ member
221 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog()
252 t, lp->bs1, lp->bs0, lp->phase); in dumplog()
277 lp->bs1, lp->bs0, lp->phase, lp->tgt); in dumpslog()
322 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
399 ms->phase = idle; in mesh_init()
427 ms->phase = arbitrating; in mesh_start_cmd()
467 if (ms->phase != arbitrating) in mesh_start_cmd()
475 ms->phase = idle; in mesh_start_cmd()
505 if (ms->phase != arbitrating) in mesh_start_cmd()
561 if (ms->phase != idle || ms->current_req != NULL) { in mesh_start()
563 ms->phase, ms); in mesh_start()
567 while (ms->phase == idle) { in mesh_start()
620 ms->phase = idle; in mesh_done()
762 switch (ms->phase) { in start_phase()
817 ms->phase); in start_phase()
862 switch (ms->phase) { in reselected()
877 ms->phase = reselecting; in reselected()
884 ms->msgphase, ms->phase, ms->conn_tgt); in reselected()
894 ms->phase = dataing; in reselected()
1008 ms->phase = idle; in handle_reset()
1114 if (ms->phase > selecting && (in_8(&mr->bus_status1) & BS1_BSY)) { in handle_error()
1216 ms->phase = disconnecting; in handle_msgin()
1366 int phase; in phase_mismatch() local
1370 phase = in_8(&mr->bus_status0) & BS0_PHASE; in phase_mismatch()
1371 if (ms->msgphase == msg_out_xxx && phase == BP_MSGOUT) { in phase_mismatch()
1397 switch (phase) { in phase_mismatch()
1400 ms->phase = dataing; in phase_mismatch()
1404 ms->phase = dataing; in phase_mismatch()
1407 ms->phase = commanding; in phase_mismatch()
1410 ms->phase = statusing; in phase_mismatch()
1433 printk(KERN_DEBUG "mesh: unknown scsi phase %x\n", phase); in phase_mismatch()
1539 switch (ms->phase) { in cmd_complete()
1611 ms->phase = idle; in cmd_complete()
1617 ++ms->phase; in cmd_complete()
1643 if (ms->phase == idle) in mesh_queue_lck()
1666 ms->phase, ms->msgphase); in DEF_SCSI_QCMD()
1767 if (ms->phase == sleeping) in mesh_suspend()
1772 while(ms->phase != idle) { in mesh_suspend()
1777 ms->phase = sleeping; in mesh_suspend()
1790 if (ms->phase != sleeping) in mesh_resume()