Lines Matching refs:DONE_SC
561 #define DONE_SC (HOSTDATA(shpnt)->done_SC) macro
1267 DONE_SC = 0;
1474 SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0));
1897 if(DONE_SC)
1898 …_LEAD "there's already a completed command %p - will cause abort\n", CMDINFO(CURRENT_SC), DONE_SC);
1900 DONE_SC = CURRENT_SC;
1902 DONE_SC->result = error;
2036 if(DONE_SC) {
2040 if(SCDONE(DONE_SC)) {
2041 Scsi_Cmnd *ptr=DONE_SC;
2042 DONE_SC=SCDONE(DONE_SC);
2047 print_sense("bh", DONE_SC);
2057 } else if(DONE_SC->SCp.Status==0x02) {
2062 DPRINTK(debug_eh, ERR_LEAD "CHECK CONDITION found\n", CMDINFO(DONE_SC));
2065 if(!(DONE_SC->SCp.Status & not_issued)) {
2069 Scsi_Cmnd *ptr=DONE_SC;
2070 DONE_SC=0;
2100 DPRINTK(debug_eh, ERR_LEAD "command not issued - CHECK CONDITION ignored\n", CMDINFO(DONE_SC));
2105 if(DONE_SC && DONE_SC->scsi_done) {
2112 DPRINTK(debug_done, DEBUG_LEAD "calling scsi_done(%p)\n", CMDINFO(DONE_SC), DONE_SC);
2113 DONE_SC->scsi_done(DONE_SC);
2114 DPRINTK(debug_done, DEBUG_LEAD "scsi_done(%p) returned\n", CMDINFO(DONE_SC), DONE_SC);
2117 kfree(DONE_SC->host_scribble);
2118 DONE_SC->host_scribble=0;
2121 DONE_SC=0;