Searched refs:residual (Results 1 - 25 of 32) sorted by relevance

12

/drivers/s390/block/
H A Ddasd_eer.c73 * keep track of the rest of the record. residual stores the number of bytes
75 * two reads then residual will be set to -1 so that the next read will fail.
92 int residual; member in struct:eerbuffer
194 if (eerb->residual > 0) {
195 eerb->tail += eerb->residual;
198 eerb->residual = -1;
600 if (eerb->residual < 0) { /* the remainder of this record */
602 eerb->residual = 0;
606 } else if (eerb->residual > 0) {
608 effective_count = min(eerb->residual, (in
[all...]
/drivers/tty/hvc/
H A Dhvc_iucv.c1047 const char *nextdelim, *residual; local
1053 residual = nextdelim + 1;
1056 residual = filter + len;
1073 return residual;
1088 const char *residual; local
1102 residual = val;
1103 while ((residual = strchr(residual, ',')) != NULL) {
1104 residual++;
1117 residual
[all...]
/drivers/staging/keucr/
H A Dtransport.h79 void *buf, unsigned int length, int use_sg, int *residual);
H A Dtransport.c268 void *buf, unsigned int length_left, int use_sg, int *residual)
288 /* store the residual and return the error code */
289 if (residual)
290 *residual = length_left;
267 usb_stor_bulk_transfer_sg(struct us_data *us, unsigned int pipe, void *buf, unsigned int length_left, int use_sg, int *residual) argument
/drivers/usb/storage/
H A Dtransport.h137 void *buf, unsigned int length, int use_sg, int *residual);
H A Dtransport.c490 void *buf, unsigned int length_left, int use_sg, int *residual)
509 /* store the residual and return the error code */
510 if (residual)
511 *residual = length_left;
489 usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, void *buf, unsigned int length_left, int use_sg, int *residual) argument
/drivers/scsi/
H A Dst.h15 int residual; member in struct:st_cmdstatus
H A Dqla1280.h827 __le32 residual; member in struct:ctio_entry
860 __le32 residual; member in struct:ctio_ret_entry
890 __le32 residual; member in struct:ctio_a64_entry
920 __le32 residual; member in struct:ctio_a64_ret_entry
H A Dqlogicpti.h183 u32 residual; member in struct:Status_Entry
H A D53c700.c432 * Purpose : return residual data count of what's in the chip. If you
1604 int residual = NCR_700_data_residual(host); local
1613 if(residual) {
1614 printk("scsi%d: (%d:%d) Expected phase mismatch in slot->SG[%d], transferred 0x%x, residual %d\n",
1616 SGcount, data_transfer, residual);
1619 data_transfer += residual;
1635 printk("scsi%d (%d:%d) transfer mismatch pAddr=%lx, naddr=%lx, data_transfer=%d, residual=%d\n", host->host_no, pun, lun, (unsigned long)pAddr, (unsigned long)naddr, data_transfer, residual);
H A Dtmscsim.c156 * 2.0e 00/05/22 KG Return residual for 2.3 *
814 u8 sstatus, residual, bval; local
864 residual = 0;
878 residual = 1; /* ;1 residual byte */
907 if (residual) {
913 bval = DC390_read8 (ScsiFifo); /* get one residual byte */
/drivers/scsi/qla4xxx/
H A Dql4_isr.c122 uint32_t residual; local
153 residual = le32_to_cpu(sts_entry->residualByteCnt);
166 scsi_set_resid(cmd, residual);
167 if (!scsi_status && ((scsi_bufflen(cmd) - residual) <
175 "residual = 0x%x\n", ha->host_no,
179 scsi_bufflen(cmd), residual));
244 scsi_set_resid(cmd, residual);
268 } else if ((scsi_bufflen(cmd) - residual) <
277 * underflow by detecting the residual count --
285 "residual
[all...]
/drivers/scsi/aic94xx/
H A Daic94xx_task.c194 ts->residual = le32_to_cpu(*(__le32 *)r);
200 ts->residual = le32_to_cpu(*(__le32 *)r);
231 ts->residual = le32_to_cpu(*(__le32 *)dl->status_block);
236 ts->residual = 0;
/drivers/scsi/fnic/
H A Dfcpio.h355 u32 residual; /* SCSI data residual value of I/O */ member in struct:fcpio_trsp
361 #define FCPIO_TRSP_RESID_UNDER 0x08 /* residual is valid and is underflow */
362 #define FCPIO_TRSP_RESID_OVER 0x04 /* residual is valid and is overflow */
506 u32 residual; /* SCSI data residual length */ member in struct:fcpio_icmnd_cmpl
H A Dfnic_scsi.c697 scsi_set_resid(sc, icmnd_cmpl->residual);
700 xfer_len -= icmnd_cmpl->residual;
745 scsi_set_resid(sc, icmnd_cmpl->residual);
/drivers/net/wireless/rt2x00/
H A Drt2x00queue.c250 unsigned int residual; local
280 residual = GET_DURATION_RES(data_length, hwrate->bitrate);
283 if (residual != 0) {
289 if (hwrate->bitrate == 110 && residual <= 30)
/drivers/scsi/osd/
H A Dosd_initiator.c481 or->out.residual = or->out.req->resid_len;
483 or->in.residual = or->in.req->resid_len;
1937 if (!or->out.residual)
1938 or->out.residual = or->out.total_bytes;
1939 if (!or->in.residual)
1940 or->in.residual = or->in.total_bytes;
/drivers/block/
H A Dida_cmd.h336 __u32 residual; member in struct:__anon316
H A Dvirtio_blk.c90 vbr->req->resid_len = vbr->in_hdr.residual;
/drivers/s390/char/
H A Dcon3215.c72 int residual; /* residual count for read request */ member in struct:raw3215_req
392 /* store residual count, then wait for device end */
393 req->residual = irb->scsw.cmd.count;
405 count = 160 - req->residual;
/drivers/scsi/arm/
H A Dacornscsi.c1782 int residual; local
1790 residual = scsi_bufflen(host->SCpnt) - host->scsi.SCp.scsi_xferred;
1793 sbic_arm_writenext(host, residual >> 16);
1794 sbic_arm_writenext(host, residual >> 8);
1795 sbic_arm_writenext(host, residual);
H A Dfas216.c706 unsigned long total, residual, fifo; local
722 residual = fas216_get_ctc(info);
727 "transfer: length 0x%06x, residual 0x%x, fifo %d",
728 total, residual, fifo);
737 residual += fifo;
739 fas216_updateptrs(info, total - residual);
/drivers/net/ethernet/apple/
H A Dbmac.c686 unsigned int residual; local
702 residual = ld_le16(&cp->res_count);
705 nb = RX_BUFLEN - residual - 2;
/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1484 ts->residual = param;
1503 ts->residual = param;
1715 ts->residual = 0;
1915 ts->residual = param;
1961 ts->residual = param;
2238 ts->residual = 0;
2467 ts->residual = 0;
/drivers/scsi/libsas/
H A Dsas_scsi_host.c87 scsi_set_resid(sc, ts->residual);

Completed in 879 milliseconds

12