taglinefilesource code
SCp3854drivers/scsi/53c7,8xx.ccmd->SCp.ptr = NULL;
SCp3855drivers/scsi/53c7,8xx.ccmd->SCp.buffer = NULL;
SCp3902drivers/scsi/53c7,8xx.ccmd->SCp.ptr = (unsigned char *) hostdata->issue_queue;
SCp3905drivers/scsi/53c7,8xx.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->SCp.ptr; 
SCp3906drivers/scsi/53c7,8xx.ctmp = (Scsi_Cmnd *) tmp->SCp.ptr);
SCp3907drivers/scsi/53c7,8xx.ctmp->SCp.ptr = (unsigned char *) cmd;
SCp4077drivers/scsi/53c7,8xx.chostdata->issue_queue = (Scsi_Cmnd *) tmp->SCp.ptr;
SCp4091drivers/scsi/53c7,8xx.ctmp->SCp.ptr) 
SCp4095drivers/scsi/53c7,8xx.cprev->SCp.ptr = tmp->SCp.ptr;
SCp4098drivers/scsi/53c7,8xx.ctmp->SCp.ptr;
SCp4099drivers/scsi/53c7,8xx.ctmp->SCp.ptr = NULL;
SCp5498drivers/scsi/53c7,8xx.cme && me != cmd;  last = (Scsi_Cmnd **)&(me->SCp.ptr), 
SCp5499drivers/scsi/53c7,8xx.cme = (Scsi_Cmnd *)me->SCp.ptr);
SCp5502drivers/scsi/53c7,8xx.c*last = (Scsi_Cmnd *) me->SCp.ptr;
SCp5628drivers/scsi/53c7,8xx.c0 /* issue */ ); tmp; tmp = (Scsi_Cmnd *) tmp->SCp.buffer)
SCp5646drivers/scsi/53c7,8xx.ccmd->SCp.buffer = (struct scatterlist *) nuke_list;
SCp5658drivers/scsi/53c7,8xx.ctmp = (Scsi_Cmnd *) nuke_list->SCp.buffer;
SCp5871drivers/scsi/53c7,8xx.cnext_cmd = (Scsi_Cmnd *) cmd->SCp.ptr;
SCp6098drivers/scsi/53c7,8xx.cif (c->cmd->SCp.buffer) {
SCp6106drivers/scsi/53c7,8xx.cc->cmd->SCp.buffer = (struct scatterlist *) list;
SCp6125drivers/scsi/53c7,8xx.cif (tmp->SCp.buffer) {
SCp6130drivers/scsi/53c7,8xx.ctmp->SCp.buffer = (struct scatterlist *) list;
SCp6170drivers/scsi/53c7,8xx.ctmp = (Scsi_Cmnd *) nuke_list->SCp.buffer;
SCp306drivers/scsi/NCR5380.ccmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
SCp307drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
SCp308drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->SCp.buffer->address;
SCp309drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
SCp311drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
SCp312drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
SCp313drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->request_buffer;
SCp314drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->request_bufflen;
SCp1098drivers/scsi/NCR5380.chostdata->connected->SCp.this_residual -= transferred;
SCp1099drivers/scsi/NCR5380.chostdata->connected->SCp.ptr += transferred;
SCp1965drivers/scsi/NCR5380.cif (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
SCp1966drivers/scsi/NCR5380.c++cmd->SCp.buffer;
SCp1967drivers/scsi/NCR5380.c--cmd->SCp.buffers_residual;
SCp1968drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
SCp1969drivers/scsi/NCR5380.ccmd->SCp.ptr = cmd->SCp.buffer->address;
SCp1972drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
SCp1973drivers/scsi/NCR5380.ccmd->SCp.buffers_residual);
SCp2000drivers/scsi/NCR5380.ccmd->SCp.this_residual && !(cmd->SCp.this_residual % 
SCp2005drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
SCp2019drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
SCp2023drivers/scsi/NCR5380.c(int *) &cmd->SCp.this_residual, (unsigned char **)
SCp2024drivers/scsi/NCR5380.c&cmd->SCp.ptr);
SCp2030drivers/scsi/NCR5380.ccmd->SCp.Message = tmp;
SCp2072drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
SCp2109drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
SCp2110drivers/scsi/NCR5380.celse if (cmd->SCp.Status != GOOD)
SCp2115drivers/scsi/NCR5380.c(cmd->SCp.Status == CHECK_CONDITION)) {
SCp2127drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
SCp2128drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
SCp2129drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->sense_buffer;
SCp2130drivers/scsi/NCR5380.ccmd->SCp.this_residual = sizeof(cmd->sense_buffer);
SCp2338drivers/scsi/NCR5380.ccmd->SCp.Status = tmp;
SCp2545drivers/scsi/NCR5380.cif (!(hostdata->connected->SCp.phase & SR_CD)) {
SCp2547drivers/scsi/NCR5380.chostdata->connected->SCp.this_residual -= transferred;
SCp2548drivers/scsi/NCR5380.chostdata->connected->SCp.ptr += transferred;
SCp652drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp695drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = command_ph;
SCp696drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Status = 0;
SCp697drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Message = 0;
SCp795drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp804drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp813drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp821drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp829drivers/scsi/NCR53c406a.cif(current_SC->SCp.phase != message_in){ /* Unexpected disconnect */
SCp833drivers/scsi/NCR53c406a.ccurrent_SC->result = (current_SC->SCp.Status & 0xff) 
SCp834drivers/scsi/NCR53c406a.c| ((current_SC->SCp.Message & 0xff) << 8) | (DID_OK << 16);
SCp838drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
SCp847drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = data_out;
SCp876drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = data_in;
SCp903drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = command_ph;
SCp909drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = status_ph;
SCp934drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = message_out;
SCp942drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = message_in;
SCp944drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Status = inb(SCSI_FIFO);    
SCp945drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Message = inb(SCSI_FIFO);
SCp949drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Status, current_SC->SCp.Message));
SCp951drivers/scsi/NCR53c406a.cif(current_SC->SCp.Message == SAVE_POINTERS || 
SCp952drivers/scsi/NCR53c406a.ccurrent_SC->SCp.Message == DISCONNECT) {
SCp887drivers/scsi/aha152x.cSCpnt->SCp.phase = not_issued;
SCp890drivers/scsi/aha152x.cSCpnt->SCp.buffer =
SCp892drivers/scsi/aha152x.cSCpnt->SCp.ptr              = SCpnt->SCp.buffer->address;
SCp893drivers/scsi/aha152x.cSCpnt->SCp.this_residual    = SCpnt->SCp.buffer->length;
SCp894drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
SCp898drivers/scsi/aha152x.cSCpnt->SCp.ptr              = (char *)SCpnt->request_buffer;
SCp899drivers/scsi/aha152x.cSCpnt->SCp.this_residual    = SCpnt->request_bufflen;
SCp900drivers/scsi/aha152x.cSCpnt->SCp.buffer           = NULL;
SCp901drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = 0;
SCp904drivers/scsi/aha152x.cSCpnt->SCp.Status              = CHECK_CONDITION;
SCp905drivers/scsi/aha152x.cSCpnt->SCp.Message             = 0;
SCp906drivers/scsi/aha152x.cSCpnt->SCp.have_data_in        = 0;
SCp907drivers/scsi/aha152x.cSCpnt->SCp.sent_command        = 0;
SCp1031drivers/scsi/aha152x.cptr->SCp.phase = in_selection|aborted;
SCp1323drivers/scsi/aha152x.c(!CURRENT_SC || (CURRENT_SC->SCp.phase & in_selection)) )
SCp1418drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~disconnected;
SCp1449drivers/scsi/aha152x.cCURRENT_SC->SCp.phase = in_selection;
SCp1494drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_selection)
SCp1519drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & aborted)
SCp1537drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
SCp1541drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_selection;
SCp1542drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_other;
SCp1558drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
SCp1594drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & aborted)
SCp1620drivers/scsi/aha152x.cCURRENT_SC->SCp.phase =
SCp1621drivers/scsi/aha152x.c(CURRENT_SC->SCp.phase & ~((P_MASK|1)<<16)) | (phase << 16);
SCp1693drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= sent_ident;
SCp1701drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
SCp1719drivers/scsi/aha152x.cif(!(CURRENT_SC->SCp.sent_command))
SCp1743drivers/scsi/aha152x.cCURRENT_SC->SCp.sent_command++;
SCp1764drivers/scsi/aha152x.cCURRENT_SC->SCp.Message = GETPORT(SCSIDAT);
SCp1765drivers/scsi/aha152x.cswitch(CURRENT_SC->SCp.Message)
SCp1772drivers/scsi/aha152x.cCURRENT_SC->SCp.Message = 0;
SCp1773drivers/scsi/aha152x.cCURRENT_SC->SCp.phase   |= disconnected;
SCp1787drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_sync)
SCp1789drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_sync;
SCp1849drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_sync)
SCp1878drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
SCp1907drivers/scsi/aha152x.cCURRENT_SC->SCp.Message);
SCp1917drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
SCp1919drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_sync;
SCp1928drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & disconnected)
SCp1964drivers/scsi/aha152x.cCURRENT_SC->SCp.Status = GETPORT(SCSIBUS);
SCp1972drivers/scsi/aha152x.cprint_status(CURRENT_SC->SCp.Status);
SCp2043drivers/scsi/aha152x.cwhile(fifodata && CURRENT_SC->SCp.this_residual)
SCp2048drivers/scsi/aha152x.cif (data_count > CURRENT_SC->SCp.this_residual)
SCp2049drivers/scsi/aha152x.cdata_count = CURRENT_SC->SCp.this_residual;
SCp2062drivers/scsi/aha152x.c*CURRENT_SC->SCp.ptr++ = GETPORT(DATAPORT);
SCp2063drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual--;
SCp2069drivers/scsi/aha152x.cinsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count);
SCp2085drivers/scsi/aha152x.cdata = (unsigned char *) CURRENT_SC->SCp.ptr;
SCp2092drivers/scsi/aha152x.cCURRENT_SC->SCp.ptr           += 2 * data_count;
SCp2093drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual -= 2 * data_count;
SCp2097drivers/scsi/aha152x.cif (!CURRENT_SC->SCp.this_residual &&
SCp2098drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual)
SCp2101drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual--;
SCp2102drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer++;
SCp2103drivers/scsi/aha152x.cCURRENT_SC->SCp.ptr =
SCp2104drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer->address;
SCp2105drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual =
SCp2106drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer->length;
SCp2135drivers/scsi/aha152x.c(CURRENT_SC->SCp.buffers_residual ||
SCp2136drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual))
SCp2138drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual, 
SCp2139drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual);
SCp2152drivers/scsi/aha152x.cCURRENT_SC->SCp.have_data_in++;
SCp2167drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual,
SCp2168drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual);
SCp2190drivers/scsi/aha152x.c(CURRENT_SC->SCp.this_residual ||
SCp2191drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual))
SCp2196drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual,
SCp2197drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual);
SCp2201drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual > 128 ?
SCp2202drivers/scsi/aha152x.c128 : CURRENT_SC->SCp.this_residual ;
SCp2213drivers/scsi/aha152x.cSETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++);
SCp2214drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual--;
SCp2220drivers/scsi/aha152x.coutsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count);
SCp2221drivers/scsi/aha152x.cCURRENT_SC->SCp.ptr           += 2 * data_count;
SCp2222drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual -= 2 * data_count;
SCp2237drivers/scsi/aha152x.c!CURRENT_SC->SCp.this_residual &&
SCp2238drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual)
SCp2241drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual--;
SCp2242drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer++;
SCp2243drivers/scsi/aha152x.cCURRENT_SC->SCp.ptr =
SCp2244drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer->address;
SCp2245drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual =
SCp2246drivers/scsi/aha152x.cCURRENT_SC->SCp.buffer->length;
SCp2250drivers/scsi/aha152x.cif (CURRENT_SC->SCp.this_residual || CURRENT_SC->SCp.buffers_residual)
SCp2259drivers/scsi/aha152x.cCURRENT_SC->SCp.ptr           -= data_count;
SCp2260drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual += data_count;
SCp2265drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual,
SCp2266drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual,
SCp2285drivers/scsi/aha152x.cCURRENT_SC->SCp.this_residual,
SCp2286drivers/scsi/aha152x.cCURRENT_SC->SCp.buffers_residual);
SCp2312drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
SCp2324drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
SCp2353drivers/scsi/aha152x.c(CURRENT_SC->SCp.Status  & 0xff)
SCp2354drivers/scsi/aha152x.c| ((CURRENT_SC->SCp.Message & 0xff) << 8)
SCp2359drivers/scsi/aha152x.cCURRENT_SC->SCp.Status, CURRENT_SC->SCp.Message);
SCp2365drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= 1<<16 ;
SCp2659drivers/scsi/aha152x.cptr->SCp.this_residual, ptr->SCp.buffers_residual);
SCp2661drivers/scsi/aha152x.cif(ptr->SCp.phase & not_issued  )  printk("not issued|");
SCp2662drivers/scsi/aha152x.cif(ptr->SCp.phase & in_selection)  printk("in selection|");
SCp2663drivers/scsi/aha152x.cif(ptr->SCp.phase & disconnected)  printk("disconnected|");
SCp2664drivers/scsi/aha152x.cif(ptr->SCp.phase & aborted     )  printk("aborted|");
SCp2665drivers/scsi/aha152x.cif(ptr->SCp.phase & sent_ident  )  printk("send_ident|");
SCp2666drivers/scsi/aha152x.cif(ptr->SCp.phase & in_other)
SCp2669drivers/scsi/aha152x.cswitch((ptr->SCp.phase >> 16) & P_MASK)
SCp2694drivers/scsi/aha152x.cif(ptr->SCp.phase & (1<<16))
SCp2749drivers/scsi/aha152x.cptr->SCp.this_residual, ptr->SCp.buffers_residual);
SCp2751drivers/scsi/aha152x.cif(ptr->SCp.phase & not_issued  )  SPRINTF("not issued|");
SCp2752drivers/scsi/aha152x.cif(ptr->SCp.phase & in_selection)  SPRINTF("in selection|");
SCp2753drivers/scsi/aha152x.cif(ptr->SCp.phase & disconnected)  SPRINTF("disconnected|");
SCp2754drivers/scsi/aha152x.cif(ptr->SCp.phase & aborted     )  SPRINTF("aborted|");
SCp2755drivers/scsi/aha152x.cif(ptr->SCp.phase & sent_ident  )  SPRINTF("send_ident|");
SCp2756drivers/scsi/aha152x.cif(ptr->SCp.phase & in_other)
SCp2759drivers/scsi/aha152x.cswitch((ptr->SCp.phase >> 16) & P_MASK)
SCp2784drivers/scsi/aha152x.cif(ptr->SCp.phase & (1<<16))
SCp681drivers/scsi/aha1542.cSCpnt->SCp.Status++;
SCp690drivers/scsi/aha1542.cSCpnt->SCp.Status = 0;
SCp691drivers/scsi/aha1542.cwhile (!SCpnt->SCp.Status)
SCp892drivers/scsi/aic7xxx.c#define aic7xxx_error(cmd)  ((cmd)->SCp.Status)
SCp897drivers/scsi/aic7xxx.c#define aic7xxx_status(cmd)  ((cmd)->SCp.sent_command)
SCp902drivers/scsi/aic7xxx.c#define aic7xxx_position(cmd)  ((cmd)->SCp.have_data_in)
SCp112drivers/scsi/eata_pio.cvoid IncStat(Scsi_Pointer *SCp, uint Increment)
SCp114drivers/scsi/eata_pio.cSCp->ptr+=Increment; 
SCp115drivers/scsi/eata_pio.cif ((SCp->this_residual-=Increment)==0)
SCp117drivers/scsi/eata_pio.cif ((--SCp->buffers_residual)==0) SCp->Status=FALSE;
SCp120drivers/scsi/eata_pio.cSCp->buffer++;
SCp121drivers/scsi/eata_pio.cSCp->ptr=SCp->buffer->address;
SCp122drivers/scsi/eata_pio.cSCp->this_residual=SCp->buffer->length;
SCp164drivers/scsi/eata_pio.cwhile ((cmd->SCp.Status)&&((z>0)||(odd)))
SCp168drivers/scsi/eata_pio.c*(cmd->SCp.ptr)=zwickel>>8; 
SCp169drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1);
SCp172drivers/scsi/eata_pio.cx=min(z,cmd->SCp.this_residual/2);
SCp173drivers/scsi/eata_pio.cinsw(base+HA_RDATA,cmd->SCp.ptr,x);
SCp175drivers/scsi/eata_pio.cIncStat(&cmd->SCp,2*x);
SCp176drivers/scsi/eata_pio.cif ((z>0)&&(cmd->SCp.this_residual==1))
SCp179drivers/scsi/eata_pio.c*(cmd->SCp.ptr)=zwickel&0xff;
SCp180drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1); z--; 
SCp192drivers/scsi/eata_pio.cwhile ((cmd->SCp.Status)&&((z>0)||(odd)))
SCp196drivers/scsi/eata_pio.czwickel+=*(cmd->SCp.ptr)<<8; 
SCp197drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1);
SCp202drivers/scsi/eata_pio.cx=min(z,cmd->SCp.this_residual/2);
SCp203drivers/scsi/eata_pio.coutsw(base+HA_RDATA,cmd->SCp.ptr,x);
SCp205drivers/scsi/eata_pio.cIncStat(&cmd->SCp,2*x);
SCp206drivers/scsi/eata_pio.cif ((z>0)&&(cmd->SCp.this_residual==1))
SCp208drivers/scsi/eata_pio.czwickel=*(cmd->SCp.ptr); 
SCp210drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1); 
SCp365drivers/scsi/eata_pio.ccmd->SCp.buffers_residual=1;
SCp366drivers/scsi/eata_pio.ccmd->SCp.ptr = cmd->request_buffer;
SCp367drivers/scsi/eata_pio.ccmd->SCp.this_residual = cmd->request_bufflen;
SCp368drivers/scsi/eata_pio.ccmd->SCp.buffer = NULL;
SCp370drivers/scsi/eata_pio.ccmd->SCp.buffer = cmd->request_buffer;
SCp371drivers/scsi/eata_pio.ccmd->SCp.buffers_residual = cmd->use_sg;
SCp372drivers/scsi/eata_pio.ccmd->SCp.ptr = cmd->SCp.buffer->address;
SCp373drivers/scsi/eata_pio.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
SCp375drivers/scsi/eata_pio.ccmd->SCp.Status = (cmd->SCp.this_residual != 0);  /* TRUE as long as bytes 
SCp1240drivers/scsi/fdomain.cif (current_SC->SCp.phase & aborted) {
SCp1252drivers/scsi/fdomain.cif (current_SC->SCp.phase & in_arbitration) {
SCp1261drivers/scsi/fdomain.ccurrent_SC->SCp.phase = in_selection;
SCp1274drivers/scsi/fdomain.c} else if (current_SC->SCp.phase & in_selection) {
SCp1292drivers/scsi/fdomain.ccurrent_SC->SCp.phase = in_other;
SCp1310drivers/scsi/fdomain.coutb( current_SC->cmnd[current_SC->SCp.sent_command++],
SCp1314drivers/scsi/fdomain.ccurrent_SC->cmnd[ current_SC->SCp.sent_command - 1] );
SCp1318drivers/scsi/fdomain.cif (chip != tmc1800 && !current_SC->SCp.have_data_in) {
SCp1319drivers/scsi/fdomain.ccurrent_SC->SCp.have_data_in = -1;
SCp1324drivers/scsi/fdomain.cif (chip != tmc1800 && !current_SC->SCp.have_data_in) {
SCp1325drivers/scsi/fdomain.ccurrent_SC->SCp.have_data_in = 1;
SCp1330drivers/scsi/fdomain.ccurrent_SC->SCp.Status = inb( Read_SCSI_Data_port );
SCp1332drivers/scsi/fdomain.cprintk( "Status = %x, ", current_SC->SCp.Status );
SCp1335drivers/scsi/fdomain.cif (current_SC->SCp.Status && current_SC->SCp.Status != 2) {
SCp1339drivers/scsi/fdomain.ccurrent_SC->SCp.Status );
SCp1347drivers/scsi/fdomain.ccurrent_SC->SCp.Message = inb( Read_SCSI_Data_port );
SCp1349drivers/scsi/fdomain.cprintk( "Message = %x, ", current_SC->SCp.Message );
SCp1351drivers/scsi/fdomain.cif (!current_SC->SCp.Message) ++done;
SCp1353drivers/scsi/fdomain.cif (current_SC->SCp.Message) {
SCp1354drivers/scsi/fdomain.cprintk( "fdomain: message = %x\n", current_SC->SCp.Message );
SCp1362drivers/scsi/fdomain.c&& !current_SC->SCp.have_data_in
SCp1363drivers/scsi/fdomain.c&& (current_SC->SCp.sent_command
SCp1512drivers/scsi/fdomain.ccurrent_SC->SCp.have_data_in = -1;
SCp1519drivers/scsi/fdomain.ccurrent_SC->SCp.have_data_in = 1;
SCp1525drivers/scsi/fdomain.cif (current_SC->SCp.have_data_in == -1) { /* DATA OUT */
SCp1530drivers/scsi/fdomain.cif (data_count > current_SC->SCp.this_residual)
SCp1531drivers/scsi/fdomain.cdata_count = current_SC->SCp.this_residual;
SCp1537drivers/scsi/fdomain.coutb( *current_SC->SCp.ptr++, Write_FIFO_port );
SCp1538drivers/scsi/fdomain.c--current_SC->SCp.this_residual;
SCp1541drivers/scsi/fdomain.coutsw( Write_FIFO_port, current_SC->SCp.ptr, data_count );
SCp1542drivers/scsi/fdomain.ccurrent_SC->SCp.ptr += 2 * data_count;
SCp1543drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual -= 2 * data_count;
SCp1546drivers/scsi/fdomain.cif (!current_SC->SCp.this_residual) {
SCp1547drivers/scsi/fdomain.cif (current_SC->SCp.buffers_residual) {
SCp1548drivers/scsi/fdomain.c--current_SC->SCp.buffers_residual;
SCp1549drivers/scsi/fdomain.c++current_SC->SCp.buffer;
SCp1550drivers/scsi/fdomain.ccurrent_SC->SCp.ptr = current_SC->SCp.buffer->address;
SCp1551drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual = current_SC->SCp.buffer->length;
SCp1558drivers/scsi/fdomain.cif (current_SC->SCp.have_data_in == 1) { /* DATA IN */
SCp1563drivers/scsi/fdomain.cif (data_count > current_SC->SCp.this_residual)
SCp1564drivers/scsi/fdomain.cdata_count = current_SC->SCp.this_residual;
SCp1570drivers/scsi/fdomain.c*current_SC->SCp.ptr++ = inb( Read_FIFO_port );
SCp1571drivers/scsi/fdomain.c--current_SC->SCp.this_residual;
SCp1574drivers/scsi/fdomain.cinsw( Read_FIFO_port, current_SC->SCp.ptr, data_count );
SCp1575drivers/scsi/fdomain.ccurrent_SC->SCp.ptr += 2 * data_count;
SCp1576drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual -= 2 * data_count;
SCp1579drivers/scsi/fdomain.cif (!current_SC->SCp.this_residual
SCp1580drivers/scsi/fdomain.c&& current_SC->SCp.buffers_residual) {
SCp1581drivers/scsi/fdomain.c--current_SC->SCp.buffers_residual;
SCp1582drivers/scsi/fdomain.c++current_SC->SCp.buffer;
SCp1583drivers/scsi/fdomain.ccurrent_SC->SCp.ptr = current_SC->SCp.buffer->address;
SCp1584drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual = current_SC->SCp.buffer->length;
SCp1591drivers/scsi/fdomain.cprintk( " ** IN DONE %d ** ", current_SC->SCp.have_data_in );
SCp1595drivers/scsi/fdomain.cif (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) {
SCp1624drivers/scsi/fdomain.cmy_done( (current_SC->SCp.Status & 0xff)
SCp1625drivers/scsi/fdomain.c| ((current_SC->SCp.Message & 0xff) << 8) | (DID_OK << 16) );
SCp1631drivers/scsi/fdomain.cif (current_SC->SCp.phase & disconnect) {
SCp1665drivers/scsi/fdomain.ccurrent_SC->SCp.buffer =
SCp1667drivers/scsi/fdomain.ccurrent_SC->SCp.ptr              = current_SC->SCp.buffer->address;
SCp1668drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual    = current_SC->SCp.buffer->length;
SCp1669drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
SCp1671drivers/scsi/fdomain.ccurrent_SC->SCp.ptr              = (char *)current_SC->request_buffer;
SCp1672drivers/scsi/fdomain.ccurrent_SC->SCp.this_residual    = current_SC->request_bufflen;
SCp1673drivers/scsi/fdomain.ccurrent_SC->SCp.buffer           = NULL;
SCp1674drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = 0;
SCp1678drivers/scsi/fdomain.ccurrent_SC->SCp.Status              = 0;
SCp1679drivers/scsi/fdomain.ccurrent_SC->SCp.Message             = 0;
SCp1680drivers/scsi/fdomain.ccurrent_SC->SCp.have_data_in        = 0;
SCp1681drivers/scsi/fdomain.ccurrent_SC->SCp.sent_command        = 0;
SCp1682drivers/scsi/fdomain.ccurrent_SC->SCp.phase               = in_arbitration;
SCp1732drivers/scsi/fdomain.cswitch (SCpnt->SCp.phase) {
SCp1740drivers/scsi/fdomain.cSCpnt->SCp.phase,
SCp1746drivers/scsi/fdomain.cSCpnt->SCp.sent_command,
SCp1747drivers/scsi/fdomain.cSCpnt->SCp.have_data_in,
SCp1812drivers/scsi/fdomain.ccurrent_SC->SCp.phase |= aborted;
SCp409drivers/scsi/scsi.hScsi_Pointer SCp;  /* Scratchpad used by some host adapters */
SCp805drivers/scsi/wd7000.cSCpnt->SCp.phase = 0;
SCp875drivers/scsi/wd7000.cif (--(SCpnt->SCp.phase) <= 0)  {  /* all scbs are done */
SCp910drivers/scsi/wd7000.cSCpnt->SCp.phase = 1;
SCp955drivers/scsi/wd7000.cwhile (SCpnt->SCp.phase > 0) barrier();  /* phase counts scbs down to 0 */