Searched refs:COMMAND_SIZE (Results 1 – 14 of 14) 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()
104 #define COMMAND_SIZE (1<<COMMAND_BITS) macro105 #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 …]
98 s = COMMAND_SIZE(command[0]); in print_commandk()
96 s = COMMAND_SIZE(command[0]); in print_commandk()
993 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()
269 rq->cmd_len = COMMAND_SIZE(cmd[0]); in __scsi_execute()
2488 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
655 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write()
579 rq->cmd_len = COMMAND_SIZE(cmd[0]); in st_scsi_execute()
255 req->cmd_len = COMMAND_SIZE(INQUIRY); in nfsd4_scsi_identify_device()
634 cmd_len = COMMAND_SIZE(scsi_req(rq)->cmd[0]); in ide_transfer_pc()
444 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
718 scsi_req(rq)->cmd_len = COMMAND_SIZE(cgc->cmd[0]); in pkt_generic_packet()
4325 int len = COMMAND_SIZE(scsi_op); in __ata_scsi_queuecmd()