Home
last modified time | relevance | path

Searched refs:transfer_length (Results 1 – 19 of 19) sorted by relevance

/drivers/usb/storage/
Dtransport.c959 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_CB_transport() local
991 if (transfer_length) { in usb_stor_CB_transport()
1119 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_Bulk_transport() local
1134 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport()
1170 if (transfer_length) { in usb_stor_Bulk_transport()
1196 transfer_length - scsi_get_resid(srb) == in usb_stor_Bulk_transport()
1208 scsi_set_resid(srb, transfer_length); in usb_stor_Bulk_transport()
1292 transfer_length == 36) || in usb_stor_Bulk_transport()
1294 transfer_length == 8))) { in usb_stor_Bulk_transport()
1298 residue = min(residue, transfer_length); in usb_stor_Bulk_transport()
Dene_ub6250.c498 unsigned int transfer_length = bcb->DataTransferLength; in ene_send_scsi_cmd() local
522 transfer_length, 0, &partial); in ene_send_scsi_cmd()
558 residue = min(residue, transfer_length); in ene_send_scsi_cmd()
/drivers/usb/class/
Dusblp.c719 static struct urb *usblp_new_writeurb(struct usblp *usblp, int transfer_length) in usblp_new_writeurb() argument
724 writebuf = kmalloc(transfer_length, GFP_KERNEL); in usblp_new_writeurb()
736 writebuf, transfer_length, usblp_bulk_write, usblp); in usblp_new_writeurb()
747 int transfer_length; in usblp_write() local
761 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()
762 transfer_length = USBLP_BUF_SIZE; in usblp_write()
765 writeurb = usblp_new_writeurb(usblp, transfer_length); in usblp_write()
771 buffer + writecount, transfer_length)) { in usblp_write()
798 writecount += transfer_length; in usblp_write()
804 writecount += transfer_length; in usblp_write()
/drivers/input/rmi4/
Drmi_f34.h135 __le16 transfer_length; member
234 u8 transfer_length; member
Drmi_f34v7.c304 base + f34->v7.off.transfer_length, in rmi_f34v7_read_partition_table()
510 f34->v7.off.transfer_length = V7_TRANSFER_LENGTH_OFFSET; in rmi_f34v7_read_queries()
775 base + f34->v7.off.transfer_length, in rmi_f34v7_read_blocks()
851 base + f34->v7.off.transfer_length, in rmi_f34v7_write_f34v7_blocks()
/drivers/scsi/
Dqla1280.h819 __le32 transfer_length; member
852 __le32 transfer_length; member
882 __le32 transfer_length; member
912 __le32 transfer_length; member
Dips.c2679 scb->dcdb.transfer_length = scb->data_len; in ips_next()
2684 scb->dcdb.transfer_length = 0; in ips_next()
2697 scb->dcdb.transfer_length = 0; in ips_next()
2701 scb->dcdb.transfer_length = 0; in ips_next()
3191 scb->dcdb.transfer_length = scb->data_len; in ips_done()
3196 scb->dcdb.transfer_length = 0; in ips_done()
3200 scb->dcdb.transfer_length = 0; in ips_done()
3303 transfer_len = tapeDCDB->transfer_length; in ips_map_status()
3306 (uint32_t) scb->dcdb.transfer_length; in ips_map_status()
3767 tapeDCDB->transfer_length = scb->data_len; in ips_send_cmd()
[all …]
Dlibiscsi.c318 unsigned hdrlength, cmd_len, transfer_length; in iscsi_prep_scsi_cmd_pdu() local
364 transfer_length = scsi_transfer_length(sc); in iscsi_prep_scsi_cmd_pdu()
365 hdr->data_length = cpu_to_be32(transfer_length); in iscsi_prep_scsi_cmd_pdu()
387 if (transfer_length >= session->first_burst) in iscsi_prep_scsi_cmd_pdu()
391 task->imm_count = min(transfer_length, in iscsi_prep_scsi_cmd_pdu()
399 transfer_length) - in iscsi_prep_scsi_cmd_pdu()
438 task->itt, transfer_length, in iscsi_prep_scsi_cmd_pdu()
Dips.h617 uint16_t transfer_length; member
634 uint32_t transfer_length; member
/drivers/target/loopback/
Dtcm_loop.c116 u32 sgl_bidi_count = 0, transfer_length; in tcm_loop_target_queue_cmd() local
141 transfer_length = scsi_transfer_length(sc); in tcm_loop_target_queue_cmd()
150 transfer_length = scsi_bufflen(sc); in tcm_loop_target_queue_cmd()
155 tl_cmd->sc->device->lun, transfer_length, in tcm_loop_target_queue_cmd()
/drivers/scsi/mpi3mr/mpi/
Dmpi30_init.h13 __le32 transfer_length; member
Dmpi30_ioc.h856 __le32 transfer_length; member
/drivers/scsi/qla2xxx/
Dqla_target.h218 __le32 transfer_length; member
430 __le32 transfer_length; member
524 __le32 transfer_length; /* total fc transfer length */ member
Dqla_target.c2718 pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); in qlt_load_data_segments()
3069 uint32_t transfer_length = 0; in qlt_build_ctio_crc2_pkt() local
3108 transfer_length = data_bytes; in qlt_build_ctio_crc2_pkt()
3116 transfer_length = data_bytes + dif_bytes; in qlt_build_ctio_crc2_pkt()
3193 pkt->transfer_length = cpu_to_le32(transfer_length); in qlt_build_ctio_crc2_pkt()
/drivers/nvme/target/
Dfc.c2289 fcpreq->transfer_length = tlen; in nvmet_fc_transfer_fcp_data()
2299 ((fod->offset + fcpreq->transfer_length) == fod->req.transfer_len) && in nvmet_fc_transfer_fcp_data()
2369 fcpreq->transferred_length != fcpreq->transfer_length) { in nvmet_fc_fod_op_done()
2399 fcpreq->transferred_length != fcpreq->transfer_length) { in nvmet_fc_fod_op_done()
Dfcloop.c845 xfrlen = tgt_fcpreq->transfer_length; in fcloop_fcp_op()
856 xfrlen = tgt_fcpreq->transfer_length; in fcloop_fcp_op()
/drivers/dma/
Dpl330.c1244 const struct _xfer_spec *pxs, int transfer_length) in _dregs() argument
1249 if (transfer_length == 0) in _dregs()
1262 dregs_ccr |= (((transfer_length - 1) & 0xf) << in _dregs()
1264 dregs_ccr |= (((transfer_length - 1) & 0xf) << in _dregs()
/drivers/scsi/lpfc/
Dlpfc_nvmet.c778 rsp->transferred_length = rsp->transfer_length; in lpfc_nvmet_xmt_fcp_op_cmp()
2823 wqe->fcp_tsend.fcp_data_len = rsp->transfer_length; in lpfc_nvmet_prep_fcp_wqe()
2908 wqe->fcp_tsend.fcp_data_len = rsp->transfer_length; in lpfc_nvmet_prep_fcp_wqe()
/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c301 u32 transfer_length; member