Home
last modified time | relevance | path

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

/linux/include/scsi/
H A Dscsi_common.h32 #define COMMAND_SIZE(opcode) scsi_command_size_tbl[((opcode) >> 5) & 7] macro
38 scsi_varlen_cdb_length(cmnd) : COMMAND_SIZE(cmnd[0]); in scsi_command_size()
45 cmnd[1] : cmnd[COMMAND_SIZE(cmnd[0]) - 1]; in scsi_command_control()
/linux/drivers/scsi/pcmcia/
H A Dnsp_debug.c98 s = COMMAND_SIZE(command[0]); in print_commandk()
/linux/drivers/scsi/
H A Dnsp32_debug.c96 s = COMMAND_SIZE(command[0]); in print_commandk()
H A Dscsi_error.c1078 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()
1084 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()
2098 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_lock_door()
H A Dscsi.c562 request_len = 4 + COMMAND_SIZE(opcode); in scsi_report_opcode()
H A Dscsi_ioctl.c543 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
H A Dscsi_lib.c315 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in scsi_execute_cmd()
H A Dsg.c647 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
/linux/drivers/block/
H A Dpktcdvd.c734 scmd->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
/linux/drivers/ata/
H A Dlibata-scsi.c4330 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()