Searched refs:COMMAND_SIZE (Results 1 – 12 of 12) 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()
1077 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()1083 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()2097 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_lock_door()
560 request_len = 4 + COMMAND_SIZE(opcode); in scsi_report_opcode()
543 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
228 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in scsi_execute_cmd()
2539 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
654 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
582 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in st_scsi_execute()
735 scmd->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
4194 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()