Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/storage/
Dtransport.c954 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_CB_transport() local
986 if (transfer_length) { in usb_stor_CB_transport()
1114 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_Bulk_transport() local
1129 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport()
1165 if (transfer_length) { in usb_stor_Bulk_transport()
1191 transfer_length - scsi_get_resid(srb) == in usb_stor_Bulk_transport()
1203 scsi_set_resid(srb, transfer_length); in usb_stor_Bulk_transport()
1287 transfer_length == 36) || in usb_stor_Bulk_transport()
1289 transfer_length == 8))) { in usb_stor_Bulk_transport()
1293 residue = min(residue, transfer_length); in usb_stor_Bulk_transport()
Dene_ub6250.c501 unsigned int transfer_length = bcb->DataTransferLength; in ene_send_scsi_cmd() local
525 transfer_length, 0, &partial); in ene_send_scsi_cmd()
561 residue = min(residue, transfer_length); in ene_send_scsi_cmd()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dqla1280.h819 __le32 transfer_length; member
852 __le32 transfer_length; member
882 __le32 transfer_length; member
912 __le32 transfer_length; member
Dips.c2674 scb->dcdb.transfer_length = scb->data_len; in ips_next()
2679 scb->dcdb.transfer_length = 0; in ips_next()
2692 scb->dcdb.transfer_length = 0; in ips_next()
2696 scb->dcdb.transfer_length = 0; in ips_next()
3186 scb->dcdb.transfer_length = scb->data_len; in ips_done()
3191 scb->dcdb.transfer_length = 0; in ips_done()
3195 scb->dcdb.transfer_length = 0; in ips_done()
3298 transfer_len = tapeDCDB->transfer_length; in ips_map_status()
3301 (uint32_t) scb->dcdb.transfer_length; in ips_map_status()
3760 tapeDCDB->transfer_length = scb->data_len; in ips_send_cmd()
[all …]
Dips.h617 uint16_t transfer_length; member
634 uint32_t transfer_length; member
Dlibiscsi.c308 unsigned hdrlength, cmd_len, transfer_length; in iscsi_prep_scsi_cmd_pdu() local
354 transfer_length = scsi_transfer_length(sc); in iscsi_prep_scsi_cmd_pdu()
355 hdr->data_length = cpu_to_be32(transfer_length); in iscsi_prep_scsi_cmd_pdu()
377 if (transfer_length >= session->first_burst) in iscsi_prep_scsi_cmd_pdu()
381 task->imm_count = min(transfer_length, in iscsi_prep_scsi_cmd_pdu()
389 transfer_length) - in iscsi_prep_scsi_cmd_pdu()
428 task->itt, transfer_length, in iscsi_prep_scsi_cmd_pdu()
/kernel/linux/linux-5.10/drivers/target/loopback/
Dtcm_loop.c106 u32 sgl_bidi_count = 0, transfer_length; in tcm_loop_submission_work() local
132 transfer_length = scsi_transfer_length(sc); in tcm_loop_submission_work()
141 transfer_length = scsi_bufflen(sc); in tcm_loop_submission_work()
147 transfer_length, TCM_SIMPLE_TAG, in tcm_loop_submission_work()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_target.h217 __le32 transfer_length; member
416 __le32 transfer_length; member
510 __le32 transfer_length; /* total fc transfer length */ member
Dqla_target.c2654 pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); in qlt_load_data_segments()
3005 uint32_t transfer_length = 0; in qlt_build_ctio_crc2_pkt() local
3044 transfer_length = data_bytes; in qlt_build_ctio_crc2_pkt()
3052 transfer_length = data_bytes + dif_bytes; in qlt_build_ctio_crc2_pkt()
3129 pkt->transfer_length = cpu_to_le32(transfer_length); in qlt_build_ctio_crc2_pkt()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusb_stream.c53 int transfer_length = maxpacket * sk->n_o_ps; in init_pipe_urbs() local
56 ++u, transfer += transfer_length) { in init_pipe_urbs()
70 urb->transfer_buffer_length = transfer_length; in init_pipe_urbs()
/kernel/linux/linux-5.10/include/linux/
Dnvme-fc-driver.h685 u32 transfer_length; member
/kernel/linux/linux-5.10/drivers/nvme/target/
Dfc.c2264 fcpreq->transfer_length = tlen; in nvmet_fc_transfer_fcp_data()
2274 ((fod->offset + fcpreq->transfer_length) == fod->req.transfer_len) && in nvmet_fc_transfer_fcp_data()
2344 fcpreq->transferred_length != fcpreq->transfer_length) { in nvmet_fc_fod_op_done()
2374 fcpreq->transferred_length != fcpreq->transfer_length) { in nvmet_fc_fod_op_done()
Dfcloop.c793 xfrlen = tgt_fcpreq->transfer_length; in fcloop_fcp_op()
804 xfrlen = tgt_fcpreq->transfer_length; in fcloop_fcp_op()
/kernel/linux/linux-5.10/drivers/dma/
Dpl330.c1238 const struct _xfer_spec *pxs, int transfer_length) in _dregs() argument
1243 if (transfer_length == 0) in _dregs()
1256 dregs_ccr |= (((transfer_length - 1) & 0xf) << in _dregs()
1258 dregs_ccr |= (((transfer_length - 1) & 0xf) << in _dregs()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_nvmet.c779 rsp->transferred_length = rsp->transfer_length; in lpfc_nvmet_xmt_fcp_op_cmp()
2820 wqe->fcp_tsend.fcp_data_len = rsp->transfer_length; in lpfc_nvmet_prep_fcp_wqe()
2905 wqe->fcp_tsend.fcp_data_len = rsp->transfer_length; in lpfc_nvmet_prep_fcp_wqe()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c285 u32 transfer_length; member