/drivers/staging/keucr/ |
H A D | transport.h | 42 void *buf, unsigned int length, int use_sg, int *residual);
|
H A D | transport.c | 268 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 D | transport.h | 98 void *buf, unsigned int length, int use_sg, int *residual);
|
H A D | transport.c | 490 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/s390/block/ |
H A D | dasd_eer.c | 73 * 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 D | hvc_iucv.c | 1047 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/scsi/ |
H A D | st.h | 15 int residual; member in struct:st_cmdstatus
|
H A D | qla1280.h | 827 __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 D | qlogicpti.h | 183 u32 residual; member in struct:Status_Entry
|
H A D | 53c700.c | 431 * Purpose : return residual data count of what's in the chip. If you 1603 int residual = NCR_700_data_residual(host); local 1612 if(residual) { 1613 printk("scsi%d: (%d:%d) Expected phase mismatch in slot->SG[%d], transferred 0x%x, residual %d\n", 1615 SGcount, data_transfer, residual); 1618 data_transfer += residual; 1634 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 D | tmscsim.c | 156 * 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 D | ql4_isr.c | 122 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 D | aic94xx_task.c | 194 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 D | fcpio.h | 355 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 D | fnic_scsi.c | 697 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 D | rt2x00queue.c | 249 unsigned int residual; local 279 residual = GET_DURATION_RES(data_length, hwrate->bitrate); 282 if (residual != 0) { 288 if (hwrate->bitrate == 110 && residual <= 30)
|
/drivers/scsi/osd/ |
H A D | osd_initiator.c | 481 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 D | ida_cmd.h | 336 __u32 residual; member in struct:__anon317
|
H A D | virtio_blk.c | 90 vbr->req->resid_len = vbr->in_hdr.residual;
|
/drivers/s390/char/ |
H A D | con3215.c | 72 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 D | acornscsi.c | 1781 int residual; local 1789 residual = scsi_bufflen(host->SCpnt) - host->scsi.SCp.scsi_xferred; 1792 sbic_arm_writenext(host, residual >> 16); 1793 sbic_arm_writenext(host, residual >> 8); 1794 sbic_arm_writenext(host, residual);
|
H A D | fas216.c | 706 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 D | bmac.c | 687 unsigned int residual; local 703 residual = ld_le16(&cp->res_count); 706 nb = RX_BUFLEN - residual - 2;
|
/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 1693 ts->residual = param; 1712 ts->residual = param; 1926 ts->residual = 0; 2123 ts->residual = param; 2169 ts->residual = param; 2446 ts->residual = 0; 2675 ts->residual = 0;
|
/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 72 scsi_set_resid(sc, ts->residual);
|