• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/pcmcia/

Lines Matching refs:this_residual

227 	   SCp.this_residual	: buffer length
234 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length;
238 SCpnt->SCp.this_residual = 0;
713 nsp_dbg(NSP_DEBUG_DATA_IO, "in SCpnt=0x%p resid=%d ocount=%d ptr=0x%p this_residual=%d buffers=0x%p nbuf=%d",
715 SCpnt->SCp.this_residual, SCpnt->SCp.buffer,
721 (SCpnt->SCp.this_residual > 0 || SCpnt->SCp.buffers_residual > 0 ) ) {
728 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x ocount=0x%x res=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, ocount, res);
731 //nsp_dbg(NSP_DEBUG_DATA_IO, " wait for data this=%d", SCpnt->SCp.this_residual);
745 res = min(res, SCpnt->SCp.this_residual);
768 SCpnt->SCp.this_residual -= res;
770 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this_residual=0x%x ocount=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, ocount);
773 if (SCpnt->SCp.this_residual == 0 &&
779 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length;
789 nsp_msg(KERN_DEBUG, "pio read timeout resid=%d this_residual=%d buffers_residual=%d",
790 scsi_get_resid(SCpnt), SCpnt->SCp.this_residual,
812 nsp_dbg(NSP_DEBUG_DATA_IO, "in fifocount=%d ptr=0x%p this_residual=%d buffers=0x%p nbuf=%d resid=0x%x",
813 data->FifoCount, SCpnt->SCp.ptr, SCpnt->SCp.this_residual,
820 (SCpnt->SCp.this_residual > 0 || SCpnt->SCp.buffers_residual > 0)) {
831 SCpnt->SCp.this_residual += res;
843 res = min(SCpnt->SCp.this_residual, WFIFO_CRIT);
845 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x res=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, res);
867 SCpnt->SCp.this_residual -= res;
871 if (SCpnt->SCp.this_residual == 0 &&
877 SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length;