/drivers/usb/storage/ |
H A D | transport.h | 98 void *buf, unsigned int length, int use_sg, int *residual);
|
H A D | transport.c | 488 void *buf, unsigned int length_left, int use_sg, int *residual) 507 /* store the residual and return the error code */ 508 if (residual) 509 *residual = length_left; 487 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 | 1172 const char *nextdelim, *residual; local 1178 residual = nextdelim + 1; 1181 residual = filter + len; 1198 return residual; 1213 const char *residual; local 1227 residual = val; 1228 while ((residual = strchr(residual, ',')) != NULL) { 1229 residual++; 1242 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 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 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); 259 if (!scsi_status && (scsi_bufflen(cmd) - residual) < 262 "scsi%ld:%d:%d:%llu: %s: Mid-layer Data underrun, xferlen = 0x%x,residual = 0x%x\n", 268 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 | 807 (u64)icmnd_cmpl->residual, 0); 842 "sc 0x%p scsi_status %x residual %d\n", 845 icmnd_cmpl->residual); 870 scsi_set_resid(sc, icmnd_cmpl->residual); 873 xfer_len -= icmnd_cmpl->residual; 891 scsi_set_resid(sc, icmnd_cmpl->residual);
|
/drivers/scsi/qla2xxx/ |
H A D | qla_target.h | 271 uint32_t residual; member in struct:ctio_to_2xxx 445 uint32_t residual; member in struct:ctio7_to_24xx::__anon6110::__anon6111 460 uint32_t residual; member in struct:ctio7_to_24xx::__anon6110::__anon6112 488 uint32_t residual; member in struct:ctio7_from_24xx 542 uint32_t residual; member in struct:ctio_crc2_to_fw 1010 int residual; member in struct:qla_tgt_prm
|
H A D | qla_target.c | 1766 prm->residual = se_cmd->residual_count; 1769 "op %x, bufflen %d, rq_result %x)\n", prm->residual, 1774 prm->residual = se_cmd->residual_count; 1777 "op %x, bufflen %d, rq_result %x)\n", prm->residual, 1915 ctio->u.status0.residual = cpu_to_le32(prm->residual); 2368 pkt->u.status0.residual = 2369 cpu_to_le32(prm.residual); 2412 * There should be no residual of CTIO-CRC2 data. 2705 ctio24->u.status1.residual [all...] |
/drivers/hv/ |
H A D | hv_balloon.c | 664 unsigned long residual, new_inc; local 683 residual = (start_pfn + pfn_cnt - has->end_pfn); 687 new_inc = (residual / HA_CHUNK) * HA_CHUNK; 688 if (residual % HA_CHUNK) 753 * We have some residual hot add range
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00queue.c | 244 unsigned int residual; local 274 residual = GET_DURATION_RES(data_length, hwrate->bitrate); 277 if (residual != 0) { 283 if (hwrate->bitrate == 110 && residual <= 30)
|
/drivers/scsi/osd/ |
H A D | osd_initiator.c | 485 or->out.residual = or->out.req->resid_len; 487 or->in.residual = or->in.req->resid_len; 1941 if (!or->out.residual) 1942 or->out.residual = or->out.total_bytes; 1943 if (!or->in.residual) 1944 or->in.residual = or->in.total_bytes;
|
/drivers/block/ |
H A D | ida_cmd.h | 336 __u32 residual; member in struct:__anon331
|
/drivers/s390/char/ |
H A D | con3215.c | 70 int residual; /* residual count for read request */ member in struct:raw3215_req 397 /* store residual count, then wait for device end */ 398 req->residual = irb->scsw.cmd.count; 409 count = 160 - req->residual;
|
/drivers/dma/ |
H A D | tegra20-apb-dma.c | 790 unsigned int residual; local 801 residual = dma_desc->bytes_requested - 804 dma_set_residue(txstate, residual); 815 residual = dma_desc->bytes_requested - 818 dma_set_residue(txstate, residual);
|
/drivers/scsi/arm/ |
H A D | acornscsi.c | 1737 int residual; local 1745 residual = scsi_bufflen(host->SCpnt) - host->scsi.SCp.scsi_xferred; 1748 sbic_arm_writenext(host, residual >> 16); 1749 sbic_arm_writenext(host, residual >> 8); 1750 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 | 1895 ts->residual = param; 1914 ts->residual = param; 2128 ts->residual = 0; 2410 ts->residual = param; 2456 ts->residual = param; 2725 ts->residual = 0; 2939 ts->residual = 0;
|