/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.h | 256 static inline void sym_set_cam_result_ok(struct sym_ccb *cp, struct scsi_cmnd *cmd, int resid) argument 258 scsi_set_resid(cmd, resid); 261 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid);
|
H A D | sym_glue.c | 187 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) argument 198 resid = cp->sv_resid; 254 scsi_set_resid(cmd, resid);
|
H A D | sym_hipd.c | 2568 "phase change %x-%x %d@%08x resid=%d.\n", 3854 int dp_sg, dp_sgmin, resid = 0; local 3866 resid -= cp->extra_bytes; 3868 ++resid; 3870 --resid; 3878 return resid; 3902 resid = -cp->ext_ofs; 3905 resid += (tmp & 0xffffff); 3908 resid -= cp->odd_byte_adjustment; 3913 return resid; 5362 int resid; local 5492 int resid; local [all...] |
/drivers/staging/rts_pstor/ |
H A D | rtsx_transport.c | 335 int sg_cnt, i, resid; local 374 resid = size; 398 if ((len - *offset) > resid) { 399 *offset += resid; 400 len = resid; 401 resid = 0; 403 resid -= (len - *offset); 408 if ((i == (sg_cnt - 1)) || !resid) { 416 if (!resid)
|
/drivers/s390/scsi/ |
H A D | zfcp_fc.h | 260 u32 sense_len, resid; local 288 resid = fcp_rsp->ext.fr_resid; 289 scsi_set_resid(scsi, resid); 290 if (scsi_bufflen(scsi) - resid < scsi->underflow &&
|
/drivers/scsi/ |
H A D | sun3_scsi.c | 511 unsigned short resid; local 515 resid = dregs->udc_data; 517 resid *= 2; 519 return (unsigned long) resid;
|
H A D | virtio_scsi.c | 68 static void virtscsi_compute_resid(struct scsi_cmnd *sc, u32 resid) argument 70 if (!resid) 74 scsi_set_resid(sc, resid); 78 scsi_in(sc)->resid = min(resid, scsi_in(sc)->length); 79 scsi_out(sc)->resid = resid - scsi_in(sc)->resid; 98 virtscsi_compute_resid(sc, resp->resid);
|
H A D | scsi_scan.c | 578 int resid; local 589 &resid); 616 if (resid == try_inquiry_len)
|
H A D | scsi_lib.c | 203 * @resid: optional residual length 211 int *resid) 248 if (resid) 249 *resid = req->resid_len; 262 int *resid) 273 sense, timeout, retries, 0, resid); 780 req->next_rq->resid_len = scsi_in(cmd)->resid; 208 scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, unsigned char *sense, int timeout, int retries, int flags, int *resid) argument 259 scsi_execute_req(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, int retries, int *resid) argument
|
H A D | sg.c | 733 hp->resid = 0; 1272 int result, resid, done = 1; local 1287 resid = rq->resid_len; 1291 srp->header.resid = resid;
|
H A D | scsi_debug.c | 427 /* Returns 0 if ok else (DID_ERROR << 16). Sets scp->resid . */ 441 if (sdb->resid) 442 sdb->resid -= act_len; 444 sdb->resid = scsi_bufflen(scp) - act_len; 1720 unsigned int i, resid; local 1784 resid = sectors * 8; /* Bytes of protection data to copy into sgl */ 1788 int len = min(psgl->length, resid); 1799 resid -= len;
|
/drivers/nubus/ |
H A D | nubus.c | 259 u32 resid; local 267 resid = nubus_get_rom(&nd->ptr, 4, nd->mask); 270 if((resid&0xff000000) == 0xff000000) 278 ent->type = resid >> 24; 280 ent->data = resid & 0xffffff; 484 dev->resid = parent->type;
|
/drivers/block/aoe/ |
H A D | aoe.h | 106 ulong resid; member in struct:buf
|
/drivers/scsi/qla2xxx/ |
H A D | qla_isr.c | 1436 uint32_t blocks_done, resid; local 1442 resid = scsi_bufflen(cmd) - (blocks_done * 1445 scsi_set_resid(cmd, resid); 1535 int32_t resid; local 1658 resid = resid_len; 1659 scsi_set_resid(cp, resid); 1662 ((unsigned)(scsi_bufflen(cp) - resid) < 1667 resid, scsi_bufflen(cp)); 1694 resid = IS_FWI2_CAPABLE(ha) ? fw_resid_len : resid_len; 1695 scsi_set_resid(cp, resid); [all...] |
/drivers/block/ |
H A D | swim3.c | 679 int stat, resid; local 774 resid = ld_le16(&cp->res_count); 776 n = fs->scount - 1 - resid / 512; 792 if ((stat & ACTIVE) == 0 || resid != 0) { 794 swim3_err("fd dma error: stat=%x resid=%d\n", stat, resid);
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | dma.c | 942 int resid = 0; local 959 resid = len - (di->rxbufsize - di->rxoffset); 962 if (resid > 0) { 963 while ((resid > 0) && (p = _dma_getnextrxp(di, false))) { 964 pkt_len = min_t(uint, resid, di->rxbufsize); 967 resid -= di->rxbufsize; 972 if (resid > 0) {
|
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.h | 532 static inline void ahd_set_sense_residual(struct scb *scb, u_long resid); 616 void ahd_set_residual(struct scb *scb, u_long resid) argument 618 scsi_set_resid(scb->io_ctx, resid); 622 void ahd_set_sense_residual(struct scb *scb, u_long resid) argument 624 scb->platform_data->sense_resid = resid;
|
H A D | aic7xxx_osm.h | 543 static inline void ahc_set_sense_residual(struct scb *scb, u_long resid); 627 void ahc_set_residual(struct scb *scb, u_long resid) argument 629 scsi_set_resid(scb->io_ctx, resid); 633 void ahc_set_sense_residual(struct scb *scb, u_long resid) argument 635 scb->platform_data->sense_resid = resid;
|
H A D | aic7xxx_core.c | 4272 uint32_t resid; local 4288 resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16) 4294 - resid; 4308 ahc_outb(ahc, HCNT + 2, resid >> 16); 4309 ahc_outb(ahc, HCNT + 1, resid >> 8); 4310 ahc_outb(ahc, HCNT, resid); 4312 ahc_outb(ahc, STCNT + 2, resid >> 16); 4313 ahc_outb(ahc, STCNT + 1, resid >> 8); 4314 ahc_outb(ahc, STCNT, resid); 6661 uint32_t resid; local [all...] |
H A D | aic79xx_core.c | 1485 uint32_t resid; local 1514 resid = ahd_inl(ahd, SHCNT); 1515 resid |= ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT+3) << 24; 1516 ahd_outl(ahd, SCB_RESIDUAL_DATACNT, resid); 1533 } else if ((resid & AHD_SG_LEN_MASK) == 0) { 1541 ahd_outl(ahd, SCB_DATACNT, resid); 5848 uint32_t resid; local 5883 resid = (ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT + 2) << 16) 5897 - resid; 5909 - resid; 9146 uint32_t resid; local [all...] |
/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 1109 u32 resid = 0, exp_cmdsn, max_cmdsn; local 1140 resid = (psol->dw[offsetof(struct amap_sol_cqe, i_res_cnt) / 1147 scsi_set_resid(task->sc, resid); 1148 if (!status && (scsi_bufflen(task->sc) - resid <
|