Lines Matching refs:this_residual
1030 SCpnt->SCp.this_residual = 0; in aha152x_internal_queue()
1038 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; in aha152x_internal_queue()
2210 if(CURRENT_SC->SCp.this_residual>0) { in datai_run()
2211 while(fifodata>0 && CURRENT_SC->SCp.this_residual>0) { in datai_run()
2212 data_count = fifodata>CURRENT_SC->SCp.this_residual ? in datai_run()
2213 CURRENT_SC->SCp.this_residual : in datai_run()
2221 CURRENT_SC->SCp.this_residual--; in datai_run()
2231 CURRENT_SC->SCp.this_residual -= 2 * data_count; in datai_run()
2235 … if(CURRENT_SC->SCp.this_residual==0 && CURRENT_SC->SCp.buffers_residual>0) { in datai_run()
2240 CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length; in datai_run()
2320 while(TESTLO(DMASTAT, INTSTAT) && CURRENT_SC->SCp.this_residual>0) { in datao_run()
2322 if(data_count > CURRENT_SC->SCp.this_residual) in datao_run()
2323 data_count=CURRENT_SC->SCp.this_residual; in datao_run()
2334 CURRENT_SC->SCp.this_residual--; in datao_run()
2343 CURRENT_SC->SCp.this_residual -= 2 * data_count; in datao_run()
2347 if(CURRENT_SC->SCp.this_residual==0 && CURRENT_SC->SCp.buffers_residual>0) { in datao_run()
2352 CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length; in datao_run()
2390 CURRENT_SC->SCp.this_residual = CURRENT_SC->SCp.buffer->length + in datao_end()
2994 scsi_get_resid(ptr), ptr->SCp.this_residual, in get_command()