Searched refs:COMMAND_SIZE (Results 1 – 10 of 10) sorted by relevance
32 #define COMMAND_SIZE(opcode) scsi_command_size_tbl[((opcode) >> 5) & 7] macro38 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()
98 s = COMMAND_SIZE(command[0]); in print_commandk()
96 s = COMMAND_SIZE(command[0]); in print_commandk()
1078 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()
562 request_len = 4 + COMMAND_SIZE(opcode); in scsi_report_opcode()
543 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
315 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in scsi_execute_cmd()
647 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
734 scmd->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
4330 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()