Lines Matching refs:phase

878 		CURRENT_SC->SCp.phase |= 1 << 16;  in setup_expected_interrupts()
880 if(CURRENT_SC->SCp.phase & selecting) { in setup_expected_interrupts()
885 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
908 int phase, void (*done)(struct scsi_cmnd *)) in aha152x_internal_queue() argument
914 SCpnt->SCp.phase = not_issued | phase; in aha152x_internal_queue()
920 if(SCpnt->SCp.phase & (resetting|check_condition)) { in aha152x_internal_queue()
942 if ((phase & resetting) || !scsi_sglist(SCpnt)) { in aha152x_internal_queue()
1080 if(SCpnt->SCp.phase & resetted) { in aha152x_device_reset()
1375 CURRENT_SC->SCp.phase &= ~syncneg; in busfree_run()
1377 if(CURRENT_SC->SCp.phase & completed) { in busfree_run()
1381 } else if(CURRENT_SC->SCp.phase & aborted) { in busfree_run()
1384 } else if(CURRENT_SC->SCp.phase & resetted) { in busfree_run()
1387 } else if(CURRENT_SC->SCp.phase & disconnected) { in busfree_run()
1393 CURRENT_SC->SCp.phase |= 1 << 16; in busfree_run()
1412 if(DONE_SC->SCp.phase & check_condition) { in busfree_run()
1428 if(!(DONE_SC->SCp.phase & not_issued)) { in busfree_run()
1479 CURRENT_SC->SCp.phase |= selecting; in busfree_run()
1511 CURRENT_SC->SCp.phase &= ~(selecting|not_issued); in seldo_run()
1526 if (CURRENT_SC->SCp.phase & aborting) { in seldo_run()
1528 } else if (CURRENT_SC->SCp.phase & resetting) { in seldo_run()
1531 CURRENT_SC->SCp.phase |= syncneg; in seldo_run()
1552 CURRENT_SC->SCp.phase &= ~selecting; in selto_run()
1554 if (CURRENT_SC->SCp.phase & aborted) in selto_run()
1582 if(!(CURRENT_SC->SCp.phase & not_issued)) in seldi_run()
1677 CURRENT_SC->SCp.phase &= ~disconnected; in msgi_run()
1693 CURRENT_SC->SCp.phase |= disconnected; in msgi_run()
1697 CURRENT_SC->SCp.phase |= completed; in msgi_run()
1828 if((CURRENT_SC->SCp.phase & syncneg) && SYNCNEG==2 && SYNCRATE==0) { in msgo_init()
1856 CURRENT_SC->SCp.phase |= identified; in msgo_run()
1859 CURRENT_SC->SCp.phase |= aborted; in msgo_run()
1862 CURRENT_SC->SCp.phase |= resetted; in msgo_run()
2193 } else if(stat0 & SELDO && CURRENT_SC && (CURRENT_SC->SCp.phase & selecting)) { in update_state()
2325 CURRENT_SC->SCp.phase &= ~spiordy; in is_complete()
2347 CURRENT_SC->SCp.phase |= spiordy; in is_complete()
2442 (ptr->SCp.phase & not_issued) ? "not issued|" : "", in show_command()
2443 (ptr->SCp.phase & selecting) ? "selecting|" : "", in show_command()
2444 (ptr->SCp.phase & identified) ? "identified|" : "", in show_command()
2445 (ptr->SCp.phase & disconnected) ? "disconnected|" : "", in show_command()
2446 (ptr->SCp.phase & completed) ? "completed|" : "", in show_command()
2447 (ptr->SCp.phase & spiordy) ? "spiordy|" : "", in show_command()
2448 (ptr->SCp.phase & syncneg) ? "syncneg|" : "", in show_command()
2449 (ptr->SCp.phase & aborted) ? "aborted|" : "", in show_command()
2450 (ptr->SCp.phase & resetted) ? "resetted|" : "", in show_command()
2495 if (ptr->SCp.phase & not_issued) in get_command()
2497 if (ptr->SCp.phase & selecting) in get_command()
2499 if (ptr->SCp.phase & disconnected) in get_command()
2501 if (ptr->SCp.phase & aborted) in get_command()
2503 if (ptr->SCp.phase & identified) in get_command()
2505 if (ptr->SCp.phase & completed) in get_command()
2507 if (ptr->SCp.phase & spiordy) in get_command()
2509 if (ptr->SCp.phase & syncneg) in get_command()