Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/storage/
Dshuttle_usbat.c1300 usb_stor_dbg(us, "transfersize %d\n", srb->transfersize); in usbat_hp8200e_handle_read10()
1328 srb->transfersize = scsi_bufflen(srb)/len; in usbat_hp8200e_handle_read10()
1331 if (!srb->transfersize) { in usbat_hp8200e_handle_read10()
1332 srb->transfersize = 2048; /* A guess */ in usbat_hp8200e_handle_read10()
1334 srb->transfersize); in usbat_hp8200e_handle_read10()
1343 len = (65535/srb->transfersize) * srb->transfersize; in usbat_hp8200e_handle_read10()
1370 data[7+7] = MSB_of(len / srb->transfersize); /* SCSI command */ in usbat_hp8200e_handle_read10()
1371 data[7+8] = LSB_of(len / srb->transfersize); /* num sectors */ in usbat_hp8200e_handle_read10()
1391 sector += len / srb->transfersize; in usbat_hp8200e_handle_read10()
/linux-6.1.9/drivers/usb/class/
Dusbtmc.c1519 u32 transfersize, aligned, buflen; in usbtmc_write() local
1558 transfersize = INT_MAX; in usbtmc_write()
1561 transfersize = count; in usbtmc_write()
1570 buffer[4] = transfersize >> 0; in usbtmc_write()
1571 buffer[5] = transfersize >> 8; in usbtmc_write()
1572 buffer[6] = transfersize >> 16; in usbtmc_write()
1573 buffer[7] = transfersize >> 24; in usbtmc_write()
1579 remaining = transfersize; in usbtmc_write()
1581 if (transfersize + USBTMC_HEADER_SIZE > buflen) { in usbtmc_write()
1582 transfersize = buflen - USBTMC_HEADER_SIZE; in usbtmc_write()
[all …]
/linux-6.1.9/drivers/scsi/
Dg_NCR5380.c666 int transfersize = NCR5380_to_ncmd(cmd)->this_residual; in generic_NCR5380_dma_xfer_len() local
672 if (transfersize % 128) in generic_NCR5380_dma_xfer_len()
678 transfersize = min(transfersize, 512); in generic_NCR5380_dma_xfer_len()
680 return min(transfersize, DMA_MAX_SIZE); in generic_NCR5380_dma_xfer_len()
DNCR5380.c1681 int transfersize; in NCR5380_information_transfer() local
1772 transfersize = 0; in NCR5380_information_transfer()
1774 transfersize = NCR5380_dma_xfer_len(hostdata, cmd); in NCR5380_information_transfer()
1776 if (transfersize > 0) { in NCR5380_information_transfer()
1777 len = transfersize; in NCR5380_information_transfer()
1795 transfersize = min(ncmd->this_residual, in NCR5380_information_transfer()
1797 len = transfersize; in NCR5380_information_transfer()
1801 ncmd->this_residual -= transfersize - len; in NCR5380_information_transfer()
Dsd.c863 cmd->transfersize = data_len; in sd_setup_unmap_cmnd()
895 cmd->transfersize = data_len; in sd_setup_write_same16_cmnd()
927 cmd->transfersize = data_len; in sd_setup_write_same10_cmnd()
1031 cmd->transfersize = 0; in sd_setup_flush_cmnd()
1202 cmd->transfersize = sdp->sector_size; in sd_setup_read_write_cmnd()
Dsd_zbc.c495 cmd->transfersize = 0; in sd_zbc_setup_zone_mgmt_cmnd()
Dsr.c459 SCpnt->transfersize = cd->device->sector_size; in sr_init_command()
Dscsi_lib.c1195 cmd->transfersize = blk_rq_bytes(req); in scsi_setup_scsi_cmnd()
1564 cmd->transfersize = 0; in scsi_prepare_cmd()
Dqla1280.c3974 scsi_cmd_to_rq(cmd)->tag, cmd->transfersize); in __qla1280_print_scsi_cmd()
/linux-6.1.9/include/scsi/
Dscsi_cmnd.h106 unsigned transfersize; /* How much we are guaranteed to member
/linux-6.1.9/drivers/scsi/arm/
Dcumana_1.c180 return cmd->transfersize; in cumanascsi_dma_xfer_len()
Dfas216.c806 direction, info->SCpnt->transfersize); in fas216_transfer()