Home
last modified time | relevance | path

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

/drivers/usb/storage/
Dtransport.c963 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_CB_transport() local
995 if (transfer_length) { in usb_stor_CB_transport()
1123 unsigned int transfer_length = scsi_bufflen(srb); in usb_stor_Bulk_transport() local
1138 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport()
1174 if (transfer_length) { in usb_stor_Bulk_transport()
1200 transfer_length - scsi_get_resid(srb) == in usb_stor_Bulk_transport()
1212 scsi_set_resid(srb, transfer_length); in usb_stor_Bulk_transport()
1296 transfer_length == 36) || in usb_stor_Bulk_transport()
1298 transfer_length == 8))) { in usb_stor_Bulk_transport()
1302 residue = min(residue, transfer_length); in usb_stor_Bulk_transport()
Dene_ub6250.c515 unsigned int transfer_length = bcb->DataTransferLength; in ene_send_scsi_cmd() local
539 transfer_length, 0, &partial); in ene_send_scsi_cmd()
575 residue = min(residue, transfer_length); in ene_send_scsi_cmd()
/drivers/usb/class/
Dusblp.c703 static struct urb *usblp_new_writeurb(struct usblp *usblp, int transfer_length) in usblp_new_writeurb() argument
708 writebuf = kmalloc(transfer_length, GFP_KERNEL); in usblp_new_writeurb()
720 writebuf, transfer_length, usblp_bulk_write, usblp); in usblp_new_writeurb()
731 int transfer_length; in usblp_write() local
745 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()
746 transfer_length = USBLP_BUF_SIZE; in usblp_write()
749 writeurb = usblp_new_writeurb(usblp, transfer_length); in usblp_write()
755 buffer + writecount, transfer_length)) { in usblp_write()
782 writecount += transfer_length; in usblp_write()
788 writecount += transfer_length; in usblp_write()
/drivers/fpga/
Dzynq-fpga.c292 u32 transfer_length; in zynq_fpga_ops_write() local
323 transfer_length = (count + 3) / 4; in zynq_fpga_ops_write()
325 zynq_fpga_write(priv, DMA_SRC_LEN_OFFSET, transfer_length); in zynq_fpga_ops_write()
/drivers/scsi/
Dqla1280.h826 __le32 transfer_length; member
859 __le32 transfer_length; member
889 __le32 transfer_length; member
919 __le32 transfer_length; member
Dips.c2690 scb->dcdb.transfer_length = scb->data_len; in ips_next()
2695 scb->dcdb.transfer_length = 0; in ips_next()
2708 scb->dcdb.transfer_length = 0; in ips_next()
2712 scb->dcdb.transfer_length = 0; in ips_next()
3202 scb->dcdb.transfer_length = scb->data_len; in ips_done()
3207 scb->dcdb.transfer_length = 0; in ips_done()
3211 scb->dcdb.transfer_length = 0; in ips_done()
3314 transfer_len = tapeDCDB->transfer_length; in ips_map_status()
3317 (uint32_t) scb->dcdb.transfer_length; in ips_map_status()
3775 tapeDCDB->transfer_length = scb->data_len; in ips_send_cmd()
[all …]
Dlibiscsi.c341 unsigned hdrlength, cmd_len, transfer_length; in iscsi_prep_scsi_cmd_pdu() local
394 transfer_length = scsi_transfer_length(sc); in iscsi_prep_scsi_cmd_pdu()
395 hdr->data_length = cpu_to_be32(transfer_length); in iscsi_prep_scsi_cmd_pdu()
417 if (transfer_length >= session->first_burst) in iscsi_prep_scsi_cmd_pdu()
421 task->imm_count = min(transfer_length, in iscsi_prep_scsi_cmd_pdu()
429 transfer_length) - in iscsi_prep_scsi_cmd_pdu()
469 task->itt, transfer_length, in iscsi_prep_scsi_cmd_pdu()
Dips.h635 uint16_t transfer_length; member
652 uint32_t transfer_length; member
/drivers/target/loopback/
Dtcm_loop.c118 u32 sgl_bidi_count = 0, transfer_length; in tcm_loop_submission_work() local
152 transfer_length = scsi_transfer_length(sc); in tcm_loop_submission_work()
161 transfer_length = scsi_bufflen(sc); in tcm_loop_submission_work()
167 transfer_length, TCM_SIMPLE_TAG, in tcm_loop_submission_work()
/drivers/scsi/qla2xxx/
Dqla_target.h292 uint32_t transfer_length; member
488 uint32_t transfer_length; member
585 __le32 transfer_length; /* total fc transfer length */ member
Dqla_target.c2062 pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); in qlt_load_data_segments()
2452 uint32_t transfer_length = 0; in qlt_build_ctio_crc2_pkt() local
2490 transfer_length = data_bytes; in qlt_build_ctio_crc2_pkt()
2498 transfer_length = data_bytes + dif_bytes; in qlt_build_ctio_crc2_pkt()
2580 pkt->transfer_length = cpu_to_le32(transfer_length); in qlt_build_ctio_crc2_pkt()
/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c275 u32 transfer_length; member