Home
last modified time | relevance | path

Searched refs:xferlen (Results 1 – 13 of 13) sorted by relevance

/drivers/scsi/megaraid/
Dmegaraid_mm.c393 kioc->xferlen = sizeof(mraid_hba_info_t); in mimd_to_kioc()
395 if (mraid_mm_attach_buf(adp, kioc, kioc->xferlen)) in mimd_to_kioc()
409 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc()
410 kioc->user_data_len = kioc->xferlen; in mimd_to_kioc()
413 if (mraid_mm_attach_buf(adp, kioc, kioc->xferlen)) in mimd_to_kioc()
424 kioc->xferlen = (mimd.outlen > mimd.inlen) ? in mimd_to_kioc()
426 kioc->user_data_len = kioc->xferlen; in mimd_to_kioc()
429 if (mraid_mm_attach_buf(adp, kioc, kioc->xferlen)) in mimd_to_kioc()
460 kioc->xferlen)) { in mimd_to_kioc()
485 if (pthru32->dataxferlen > kioc->xferlen) in mimd_to_kioc()
[all …]
Dmegaraid_ioctl.h124 uint32_t xferlen; member
/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c172 unsigned int xferlen) in cxgbit_ddp_reserve() argument
181 if ((xferlen < DDP_THRESHOLD) || (!sgcnt)) { in cxgbit_ddp_reserve()
184 xferlen, ttinfo->nents); in cxgbit_ddp_reserve()
191 ttinfo->nr_pages = (xferlen + sgl->offset + in cxgbit_ddp_reserve()
208 __func__, 0, xferlen, sgcnt); in cxgbit_ddp_reserve()
213 xferlen, &ttinfo->hdr); in cxgbit_ddp_reserve()
/drivers/memory/
Drenesas-rpc-if.c365 rpc->xferlen = 0; in rpcif_prepare()
434 rpc->xferlen = nbytes; in rpcif_prepare()
461 while (pos < rpc->xferlen) { in rpcif_manual_xfer()
462 u32 bytes_left = rpc->xferlen - pos; in rpcif_manual_xfer()
519 memcpy_fromio(rpc->buffer, rpc->dirmap, rpc->xferlen); in rpcif_manual_xfer()
525 while (pos < rpc->xferlen) { in rpcif_manual_xfer()
526 u32 bytes_left = rpc->xferlen - pos; in rpcif_manual_xfer()
/drivers/scsi/
Dmegaraid.c3276 if( uioc.xferlen ) { in megadev_ioctl()
3278 uioc.xferlen, in megadev_ioctl()
3293 if( uioc.xferlen && (uioc.flags & UIOC_WR) ) { in megadev_ioctl()
3298 uioc.xferlen) ) { in megadev_ioctl()
3301 uioc.xferlen, data, in megadev_ioctl()
3322 if( uioc.xferlen ) { in megadev_ioctl()
3324 uioc.xferlen, data, in megadev_ioctl()
3336 if( uioc.xferlen && (uioc.flags & UIOC_RD) ) { in megadev_ioctl()
3338 uioc.xferlen) ) { in megadev_ioctl()
3344 if( uioc.xferlen ) { in megadev_ioctl()
[all …]
Da100u2w.h152 u32 xferlen; /*08 Data Transfer Length */ member
Dinitio.h363 u32 xferlen; /*18 Current xfer len */ member
Da100u2w.c645 scb->xferlen = cpu_to_le32(0); in orc_device_reset()
863 scb->xferlen = cpu_to_le32((u32) scsi_bufflen(cmd)); in inia100_build_scb()
Dmegaraid.h599 u32 xferlen; /* xferlen for DCMD and non-mbox member
/drivers/net/wireless/ath/ar5523/
Dar5523.c254 int xferlen, error; in ar5523_cmd() local
257 xferlen = (sizeof(struct ar5523_cmd_hdr) + ilen + 3) & ~3; in ar5523_cmd()
261 hdr->len = cpu_to_be32(xferlen); in ar5523_cmd()
277 cmd->buf_tx, xferlen, ar5523_cmd_tx_cb, cmd); in ar5523_cmd()
/drivers/scsi/cxgbi/
Dlibcxgbi.c1262 unsigned int xferlen) in cxgbi_ddp_reserve() argument
1279 if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || in cxgbi_ddp_reserve()
1284 xferlen, ttinfo->nents); in cxgbi_ddp_reserve()
1292 ttinfo->nr_pages = (xferlen + sgl->offset + (1 << PAGE_SHIFT) - 1) >> in cxgbi_ddp_reserve()
1314 __func__, sw_tag, xferlen, sgcnt); in cxgbi_ddp_reserve()
1320 __func__, sw_tag, xferlen, sgcnt, err); in cxgbi_ddp_reserve()
1327 xferlen, &ttinfo->hdr); in cxgbi_ddp_reserve()
/drivers/scsi/be2iscsi/
Dbe_main.h375 uint32_t num_sg, uint32_t xferlen,
Dbe_main.c4492 unsigned int num_sg, unsigned int xferlen, in beiscsi_iotask_v2() argument
4523 AMAP_SET_BITS(struct amap_iscsi_wrb_v2, r2t_exp_dtl, pwrb, xferlen); in beiscsi_iotask_v2()
4553 unsigned int num_sg, unsigned int xferlen, in beiscsi_iotask() argument
4583 AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb, xferlen); in beiscsi_iotask()
4738 unsigned int writedir = 0, xferlen = 0; in beiscsi_task_xmit() local
4773 xferlen = scsi_bufflen(sc); in beiscsi_task_xmit()
4780 return phba->iotask_fn(task, sg, num_sg, xferlen, writedir); in beiscsi_task_xmit()