tag | line | file | source code |
CURRENT_SC | 355 | drivers/scsi/aha152x.c | #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target]) |
CURRENT_SC | 784 | drivers/scsi/aha152x.c | CURRENT_SC = (Scsi_Cmnd *) NULL; |
CURRENT_SC | 938 | drivers/scsi/aha152x.c | if(!CURRENT_SC) |
CURRENT_SC | 1005 | drivers/scsi/aha152x.c | if (TESTLO(SSTAT1, BUSFREE) || (CURRENT_SC && CURRENT_SC!=SCpnt)) |
CURRENT_SC | 1009 | drivers/scsi/aha152x.c | if(!CURRENT_SC) |
CURRENT_SC | 1018 | drivers/scsi/aha152x.c | if(CURRENT_SC) |
CURRENT_SC | 1022 | drivers/scsi/aha152x.c | CURRENT_SC->result = DID_ERROR << 16; |
CURRENT_SC | 1023 | drivers/scsi/aha152x.c | CURRENT_SC->scsi_done(CURRENT_SC); |
CURRENT_SC | 1024 | drivers/scsi/aha152x.c | CURRENT_SC = (Scsi_Cmnd *) NULL; |
CURRENT_SC | 1045 | drivers/scsi/aha152x.c | CURRENT_SC = ptr; |
CURRENT_SC | 1047 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
CURRENT_SC | 1143 | drivers/scsi/aha152x.c | ptr=CURRENT_SC; |
CURRENT_SC | 1148 | drivers/scsi/aha152x.c | ptr->scsi_done(CURRENT_SC); |
CURRENT_SC | 1149 | drivers/scsi/aha152x.c | CURRENT_SC=NULL; |
CURRENT_SC | 1249 | drivers/scsi/aha152x.c | if (CURRENT_SC) |
CURRENT_SC | 1259 | drivers/scsi/aha152x.c | done_SC = CURRENT_SC; |
CURRENT_SC | 1260 | drivers/scsi/aha152x.c | CURRENT_SC = NULL; |
CURRENT_SC | 1338 | drivers/scsi/aha152x.c | (!CURRENT_SC || (CURRENT_SC->SCp.phase & in_selection)) ) |
CURRENT_SC | 1344 | drivers/scsi/aha152x.c | if(CURRENT_SC) |
CURRENT_SC | 1352 | drivers/scsi/aha152x.c | append_SC(&ISSUE_SC, CURRENT_SC); |
CURRENT_SC | 1353 | drivers/scsi/aha152x.c | CURRENT_SC=NULL; |
CURRENT_SC | 1421 | drivers/scsi/aha152x.c | CURRENT_SC = remove_SC(&DISCONNECTED_SC, |
CURRENT_SC | 1425 | drivers/scsi/aha152x.c | if(!CURRENT_SC) |
CURRENT_SC | 1431 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~disconnected; |
CURRENT_SC | 1447 | drivers/scsi/aha152x.c | if(!CURRENT_SC) |
CURRENT_SC | 1458 | drivers/scsi/aha152x.c | CURRENT_SC = remove_first_SC(&ISSUE_SC); |
CURRENT_SC | 1465 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase = in_selection; |
CURRENT_SC | 1469 | drivers/scsi/aha152x.c | printk("selecting %d, ", CURRENT_SC->target); |
CURRENT_SC | 1471 | drivers/scsi/aha152x.c | SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target); |
CURRENT_SC | 1510 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_selection) |
CURRENT_SC | 1535 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & aborted) |
CURRENT_SC | 1553 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted)) |
CURRENT_SC | 1557 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_selection; |
CURRENT_SC | 1558 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_other; |
CURRENT_SC | 1560 | drivers/scsi/aha152x.c | ADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)); |
CURRENT_SC | 1574 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
CURRENT_SC | 1610 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & aborted) |
CURRENT_SC | 1636 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase = |
CURRENT_SC | 1637 | drivers/scsi/aha152x.c | (CURRENT_SC->SCp.phase & ~((P_MASK|1)<<16)) | (phase << 16); |
CURRENT_SC | 1698 | drivers/scsi/aha152x.c | if(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)) |
CURRENT_SC | 1709 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= sent_ident; |
CURRENT_SC | 1717 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
CURRENT_SC | 1735 | drivers/scsi/aha152x.c | if(!(CURRENT_SC->SCp.sent_command)) |
CURRENT_SC | 1748 | drivers/scsi/aha152x.c | for(i=0; i<CURRENT_SC->cmd_len && TESTLO(SSTAT1, PHASEMIS); i++) |
CURRENT_SC | 1750 | drivers/scsi/aha152x.c | SETPORT(SCSIDAT, CURRENT_SC->cmnd[i]); |
CURRENT_SC | 1756 | drivers/scsi/aha152x.c | if(i<CURRENT_SC->cmd_len && TESTHI(SSTAT1, PHASEMIS)) |
CURRENT_SC | 1759 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.sent_command++; |
CURRENT_SC | 1780 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.Message = GETPORT(SCSIDAT); |
CURRENT_SC | 1781 | drivers/scsi/aha152x.c | switch(CURRENT_SC->SCp.Message) |
CURRENT_SC | 1788 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.Message = 0; |
CURRENT_SC | 1789 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= disconnected; |
CURRENT_SC | 1803 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_sync) |
CURRENT_SC | 1805 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_sync; |
CURRENT_SC | 1865 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_sync) |
CURRENT_SC | 1894 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
CURRENT_SC | 1923 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.Message); |
CURRENT_SC | 1933 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
CURRENT_SC | 1935 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_sync; |
CURRENT_SC | 1944 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & disconnected) |
CURRENT_SC | 1952 | drivers/scsi/aha152x.c | append_SC(&DISCONNECTED_SC, CURRENT_SC); |
CURRENT_SC | 1953 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= 1<<16; |
CURRENT_SC | 1954 | drivers/scsi/aha152x.c | CURRENT_SC = NULL; |
CURRENT_SC | 1981 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.Status = GETPORT(SCSIBUS); |
CURRENT_SC | 1989 | drivers/scsi/aha152x.c | print_status(CURRENT_SC->SCp.Status); |
CURRENT_SC | 2060 | drivers/scsi/aha152x.c | while(fifodata && CURRENT_SC->SCp.this_residual) |
CURRENT_SC | 2065 | drivers/scsi/aha152x.c | if (data_count > CURRENT_SC->SCp.this_residual) |
CURRENT_SC | 2066 | drivers/scsi/aha152x.c | data_count = CURRENT_SC->SCp.this_residual; |
CURRENT_SC | 2079 | drivers/scsi/aha152x.c | *CURRENT_SC->SCp.ptr++ = GETPORT(DATAPORT); |
CURRENT_SC | 2080 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual--; |
CURRENT_SC | 2086 | drivers/scsi/aha152x.c | insw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
CURRENT_SC | 2102 | drivers/scsi/aha152x.c | data = (unsigned char *) CURRENT_SC->SCp.ptr; |
CURRENT_SC | 2109 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
CURRENT_SC | 2110 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual -= 2 * data_count; |
CURRENT_SC | 2114 | drivers/scsi/aha152x.c | if (!CURRENT_SC->SCp.this_residual && |
CURRENT_SC | 2115 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual) |
CURRENT_SC | 2118 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual--; |
CURRENT_SC | 2119 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer++; |
CURRENT_SC | 2120 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
CURRENT_SC | 2121 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->address; |
CURRENT_SC | 2122 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual = |
CURRENT_SC | 2123 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
CURRENT_SC | 2152 | drivers/scsi/aha152x.c | (CURRENT_SC->SCp.buffers_residual || |
CURRENT_SC | 2153 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual)) |
CURRENT_SC | 2155 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual, |
CURRENT_SC | 2156 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual); |
CURRENT_SC | 2169 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.have_data_in++; |
CURRENT_SC | 2184 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual, |
CURRENT_SC | 2185 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual); |
CURRENT_SC | 2207 | drivers/scsi/aha152x.c | (CURRENT_SC->SCp.this_residual || |
CURRENT_SC | 2208 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual)) |
CURRENT_SC | 2213 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual, |
CURRENT_SC | 2214 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual); |
CURRENT_SC | 2218 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual > 128 ? |
CURRENT_SC | 2219 | drivers/scsi/aha152x.c | 128 : CURRENT_SC->SCp.this_residual ; |
CURRENT_SC | 2230 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++); |
CURRENT_SC | 2231 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual--; |
CURRENT_SC | 2237 | drivers/scsi/aha152x.c | outsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
CURRENT_SC | 2238 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
CURRENT_SC | 2239 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual -= 2 * data_count; |
CURRENT_SC | 2254 | drivers/scsi/aha152x.c | !CURRENT_SC->SCp.this_residual && |
CURRENT_SC | 2255 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual) |
CURRENT_SC | 2258 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual--; |
CURRENT_SC | 2259 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer++; |
CURRENT_SC | 2260 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
CURRENT_SC | 2261 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->address; |
CURRENT_SC | 2262 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual = |
CURRENT_SC | 2263 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
CURRENT_SC | 2267 | drivers/scsi/aha152x.c | if (CURRENT_SC->SCp.this_residual || CURRENT_SC->SCp.buffers_residual) |
CURRENT_SC | 2276 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr -= data_count; |
CURRENT_SC | 2277 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual += data_count; |
CURRENT_SC | 2282 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual, |
CURRENT_SC | 2283 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual, |
CURRENT_SC | 2302 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.this_residual, |
CURRENT_SC | 2303 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffers_residual); |
CURRENT_SC | 2329 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
CURRENT_SC | 2341 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
CURRENT_SC | 2370 | drivers/scsi/aha152x.c | (CURRENT_SC->SCp.Status & 0xff) |
CURRENT_SC | 2371 | drivers/scsi/aha152x.c | | ((CURRENT_SC->SCp.Message & 0xff) << 8) |
CURRENT_SC | 2376 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.Status, CURRENT_SC->SCp.Message); |
CURRENT_SC | 2381 | drivers/scsi/aha152x.c | if(CURRENT_SC) |
CURRENT_SC | 2382 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= 1<<16 ; |
CURRENT_SC | 2421 | drivers/scsi/aha152x.c | printk("\n%s: ", CURRENT_SC ? "on bus" : "waiting"); |
CURRENT_SC | 2732 | drivers/scsi/aha152x.c | if(CURRENT_SC) |
CURRENT_SC | 2733 | drivers/scsi/aha152x.c | show_command(CURRENT_SC); |
CURRENT_SC | 2906 | drivers/scsi/aha152x.c | if(CURRENT_SC) |
CURRENT_SC | 2909 | drivers/scsi/aha152x.c | pos += get_command(pos, CURRENT_SC); |