Home
last modified time | relevance | path

Searched refs:COMMAND_SIZE (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/include/scsi/
Dscsi_common.h19 #define COMMAND_SIZE(opcode) scsi_command_size_tbl[((opcode) >> 5) & 7] macro
25 scsi_varlen_cdb_length(cmnd) : COMMAND_SIZE(cmnd[0]); in scsi_command_size()
/Linux-v5.4/drivers/usb/misc/
Dftdi-elan.c104 #define COMMAND_SIZE (1<<COMMAND_BITS) macro
105 #define COMMAND_MASK (COMMAND_SIZE-1)
149 struct u132_command command[COMMAND_SIZE];
368 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
390 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
426 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()
1190 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_reg()
1222 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_config()
1254 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_pcimem()
1295 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_reg()
[all …]
/Linux-v5.4/drivers/scsi/pcmcia/
Dnsp_debug.c98 s = COMMAND_SIZE(command[0]); in print_commandk()
/Linux-v5.4/drivers/scsi/
Dnsp32_debug.c96 s = COMMAND_SIZE(command[0]); in print_commandk()
Dscsi_error.c993 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()
999 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()
1988 rq->cmd_len = COMMAND_SIZE(rq->cmd[0]); in scsi_eh_lock_door()
Dscsi_lib.c269 rq->cmd_len = COMMAND_SIZE(cmd[0]); in __scsi_execute()
Daha152x.c2488 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
Dsg.c655 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
Dst.c579 rq->cmd_len = COMMAND_SIZE(cmd[0]); in st_scsi_execute()
/Linux-v5.4/fs/nfsd/
Dblocklayout.c255 req->cmd_len = COMMAND_SIZE(INQUIRY); in nfsd4_scsi_identify_device()
/Linux-v5.4/drivers/ide/
Dide-atapi.c634 cmd_len = COMMAND_SIZE(scsi_req(rq)->cmd[0]); in ide_transfer_pc()
/Linux-v5.4/block/
Dscsi_ioctl.c444 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
/Linux-v5.4/drivers/block/
Dpktcdvd.c718 scsi_req(rq)->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
/Linux-v5.4/drivers/ata/
Dlibata-scsi.c4325 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()