Searched refs:COMMAND_SIZE (Results 1 – 13 of 13) sorted by relevance
19 #define COMMAND_SIZE(opcode) scsi_command_size_tbl[((opcode) >> 5) & 7] macro25 scsi_varlen_cdb_length(cmnd) : COMMAND_SIZE(cmnd[0]); in scsi_command_size()32 cmnd[1] : cmnd[COMMAND_SIZE(cmnd[0]) - 1]; in scsi_command_control()
104 #define COMMAND_SIZE (1<<COMMAND_BITS) macro105 #define COMMAND_MASK (COMMAND_SIZE-1)149 struct u132_command command[COMMAND_SIZE];370 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()392 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()428 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()1193 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_reg()1225 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_config()1257 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_pcimem()1298 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_reg()[all …]
98 s = COMMAND_SIZE(command[0]); in print_commandk()
96 s = COMMAND_SIZE(command[0]); in print_commandk()
1040 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()1046 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_prep_cmnd()2047 scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); in scsi_eh_lock_door()
518 request_len = 4 + COMMAND_SIZE(opcode); in scsi_report_opcode()
540 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
231 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in __scsi_execute()
2539 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
651 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
580 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in st_scsi_execute()
704 scmd->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
3990 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()