Lines Matching refs:phase

326 	int phase;  member
899 acp->phase |= 1 << 16; in setup_expected_interrupts()
901 if (acp->phase & selecting) { in setup_expected_interrupts()
906 SETPORT(SIMODE0, (acp->phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
928 struct completion *complete, int phase) in aha152x_internal_queue() argument
934 acp->phase = not_issued | phase; in aha152x_internal_queue()
939 if (acp->phase & (resetting | check_condition)) { in aha152x_internal_queue()
961 if ((phase & resetting) || !scsi_sglist(SCpnt)) { in aha152x_internal_queue()
1020 if (aha152x_priv(SCpnt)->phase & resetting) in aha152x_scsi_done()
1106 if (aha152x_priv(SCpnt)->phase & resetted) { in aha152x_device_reset()
1405 acp->phase &= ~syncneg; in busfree_run()
1407 if (acp->phase & completed) { in busfree_run()
1411 } else if (acp->phase & aborted) { in busfree_run()
1414 } else if (acp->phase & resetted) { in busfree_run()
1417 } else if (acp->phase & disconnected) { in busfree_run()
1423 acp->phase |= 1 << 16; in busfree_run()
1442 if (aha152x_priv(DONE_SC)->phase & check_condition) { in busfree_run()
1458 if (!(aha152x_priv(DONE_SC)->phase & not_issued)) { in busfree_run()
1483 if (!(aha152x_priv(ptr)->phase & resetting)) { in busfree_run()
1511 acp->phase |= selecting; in busfree_run()
1545 acp->phase &= ~(selecting | not_issued); in seldo_run()
1560 if (acp->phase & aborting) { in seldo_run()
1562 } else if (acp->phase & resetting) { in seldo_run()
1565 acp->phase |= syncneg; in seldo_run()
1589 acp->phase &= ~selecting; in selto_run()
1591 if (acp->phase & aborted) in selto_run()
1621 if (!(acp->phase & not_issued)) in seldi_run()
1718 acp->phase &= ~disconnected; in msgi_run()
1735 acp->phase |= disconnected; in msgi_run()
1739 acp->phase |= completed; in msgi_run()
1870 if ((aha152x_priv(CURRENT_SC)->phase & syncneg) && in msgo_init()
1901 acp->phase |= identified; in msgo_run()
1904 acp->phase |= aborted; in msgo_run()
1907 acp->phase |= resetted; in msgo_run()
2240 (aha152x_priv(CURRENT_SC)->phase & selecting)) { in update_state()
2372 aha152x_priv(CURRENT_SC)->phase &= ~spiordy; in is_complete()
2394 aha152x_priv(CURRENT_SC)->phase |= spiordy; in is_complete()
2484 const int phase = aha152x_priv(ptr)->phase; in show_command() local
2491 phase & not_issued ? "not issued|" : "", in show_command()
2492 phase & selecting ? "selecting|" : "", in show_command()
2493 phase & identified ? "identified|" : "", in show_command()
2494 phase & disconnected ? "disconnected|" : "", in show_command()
2495 phase & completed ? "completed|" : "", in show_command()
2496 phase & spiordy ? "spiordy|" : "", in show_command()
2497 phase & syncneg ? "syncneg|" : "", in show_command()
2498 phase & aborted ? "aborted|" : "", in show_command()
2499 phase & resetted ? "resetted|" : "", in show_command()
2533 const int phase = acp->phase; in get_command() local
2546 if (phase & not_issued) in get_command()
2548 if (phase & selecting) in get_command()
2550 if (phase & disconnected) in get_command()
2552 if (phase & aborted) in get_command()
2554 if (phase & identified) in get_command()
2556 if (phase & completed) in get_command()
2558 if (phase & spiordy) in get_command()
2560 if (phase & syncneg) in get_command()