Home
last modified time | relevance | path

Searched refs:transfersize (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/usb/storage/
Dshuttle_usbat.c1299 usb_stor_dbg(us, "transfersize %d\n", srb->transfersize); in usbat_hp8200e_handle_read10()
1327 srb->transfersize = scsi_bufflen(srb)/len; in usbat_hp8200e_handle_read10()
1330 if (!srb->transfersize) { in usbat_hp8200e_handle_read10()
1331 srb->transfersize = 2048; /* A guess */ in usbat_hp8200e_handle_read10()
1333 srb->transfersize); in usbat_hp8200e_handle_read10()
1342 len = (65535/srb->transfersize) * srb->transfersize; in usbat_hp8200e_handle_read10()
1369 data[7+7] = MSB_of(len / srb->transfersize); /* SCSI command */ in usbat_hp8200e_handle_read10()
1370 data[7+8] = LSB_of(len / srb->transfersize); /* num sectors */ in usbat_hp8200e_handle_read10()
1390 sector += len / srb->transfersize; in usbat_hp8200e_handle_read10()
/Linux-v4.19/drivers/scsi/
Dg_NCR5380.c665 int transfersize = cmd->SCp.this_residual; in generic_NCR5380_dma_xfer_len() local
671 if (transfersize % 128) in generic_NCR5380_dma_xfer_len()
677 transfersize = min(cmd->SCp.this_residual, 512); in generic_NCR5380_dma_xfer_len()
679 return min(transfersize, DMA_MAX_SIZE); in generic_NCR5380_dma_xfer_len()
DNCR5380.c1643 int transfersize; in NCR5380_information_transfer() local
1742 transfersize = 0; in NCR5380_information_transfer()
1744 transfersize = NCR5380_dma_xfer_len(hostdata, cmd); in NCR5380_information_transfer()
1746 if (transfersize > 0) { in NCR5380_information_transfer()
1747 len = transfersize; in NCR5380_information_transfer()
1767 transfersize = min(cmd->SCp.this_residual, in NCR5380_information_transfer()
1769 len = transfersize; in NCR5380_information_transfer()
1772 cmd->SCp.this_residual -= transfersize - len; in NCR5380_information_transfer()
Dsd_zbc.c148 cmd->transfersize = sdkp->device->sector_size; in sd_zbc_setup_report_cmnd()
258 cmd->transfersize = 0; in sd_zbc_setup_reset_cmnd()
Dsd.c779 cmd->transfersize = data_len; in sd_setup_unmap_cmnd()
809 cmd->transfersize = data_len; in sd_setup_write_same16_cmnd()
839 cmd->transfersize = data_len; in sd_setup_write_same10_cmnd()
974 cmd->transfersize = sdp->sector_size; in sd_setup_write_same_cmnd()
1003 cmd->transfersize = 0; in sd_setup_flush_cmnd()
1234 SCpnt->transfersize = sdp->sector_size; in sd_setup_read_write_cmnd()
Dsr.c510 SCpnt->transfersize = cd->device->sector_size; in sr_init_command()
Dscsi_lib.c1329 cmd->transfersize = blk_rq_bytes(req); in scsi_setup_scsi_cmnd()
Dqla1280.c4055 cmd->tag, cmd->transfersize); in __qla1280_print_scsi_cmd()
/Linux-v4.19/include/scsi/
Dscsi_cmnd.h113 unsigned transfersize; /* How much we are guaranteed to member
/Linux-v4.19/drivers/scsi/arm/
Dcumana_1.c179 return cmd->transfersize; in cumanascsi_dma_xfer_len()
Dfas216.c805 direction, info->SCpnt->transfersize); in fas216_transfer()