scsi_cmd          586 drivers/ata/libata-scsi.c 	u8 scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          600 drivers/ata/libata-scsi.c 	memset(scsi_cmd, 0, sizeof(scsi_cmd));
scsi_cmd          610 drivers/ata/libata-scsi.c 		scsi_cmd[1]  = (4 << 1); /* PIO Data-in */
scsi_cmd          611 drivers/ata/libata-scsi.c 		scsi_cmd[2]  = 0x0e;     /* no off.line or cc, read from dev,
scsi_cmd          615 drivers/ata/libata-scsi.c 		scsi_cmd[1]  = (3 << 1); /* Non-data */
scsi_cmd          616 drivers/ata/libata-scsi.c 		scsi_cmd[2]  = 0x20;     /* cc but no off.line or data xfer */
scsi_cmd          620 drivers/ata/libata-scsi.c 	scsi_cmd[0] = ATA_16;
scsi_cmd          622 drivers/ata/libata-scsi.c 	scsi_cmd[4] = args[2];
scsi_cmd          624 drivers/ata/libata-scsi.c 		scsi_cmd[6]  = args[3];
scsi_cmd          625 drivers/ata/libata-scsi.c 		scsi_cmd[8]  = args[1];
scsi_cmd          626 drivers/ata/libata-scsi.c 		scsi_cmd[10] = ATA_SMART_LBAM_PASS;
scsi_cmd          627 drivers/ata/libata-scsi.c 		scsi_cmd[12] = ATA_SMART_LBAH_PASS;
scsi_cmd          629 drivers/ata/libata-scsi.c 		scsi_cmd[6]  = args[1];
scsi_cmd          631 drivers/ata/libata-scsi.c 	scsi_cmd[14] = args[0];
scsi_cmd          635 drivers/ata/libata-scsi.c 	cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize,
scsi_cmd          690 drivers/ata/libata-scsi.c 	u8 scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          702 drivers/ata/libata-scsi.c 	memset(scsi_cmd, 0, sizeof(scsi_cmd));
scsi_cmd          703 drivers/ata/libata-scsi.c 	scsi_cmd[0]  = ATA_16;
scsi_cmd          704 drivers/ata/libata-scsi.c 	scsi_cmd[1]  = (3 << 1); /* Non-data */
scsi_cmd          705 drivers/ata/libata-scsi.c 	scsi_cmd[2]  = 0x20;     /* cc but no off.line or data xfer */
scsi_cmd          706 drivers/ata/libata-scsi.c 	scsi_cmd[4]  = args[1];
scsi_cmd          707 drivers/ata/libata-scsi.c 	scsi_cmd[6]  = args[2];
scsi_cmd          708 drivers/ata/libata-scsi.c 	scsi_cmd[8]  = args[3];
scsi_cmd          709 drivers/ata/libata-scsi.c 	scsi_cmd[10] = args[4];
scsi_cmd          710 drivers/ata/libata-scsi.c 	scsi_cmd[12] = args[5];
scsi_cmd          711 drivers/ata/libata-scsi.c 	scsi_cmd[13] = args[6] & 0x4f;
scsi_cmd          712 drivers/ata/libata-scsi.c 	scsi_cmd[14] = args[0];
scsi_cmd          716 drivers/ata/libata-scsi.c 	cmd_result = scsi_execute(scsidev, scsi_cmd, DMA_NONE, NULL, 0,
scsi_cmd         8166 drivers/scsi/advansys.c 	uchar scsi_cmd;
scsi_cmd         8219 drivers/scsi/advansys.c 	scsi_cmd = scsiq->cdbptr[0];
scsi_cmd         8243 drivers/scsi/advansys.c 					if (scsi_cmd == disable_cmd) {
scsi_cmd         8262 drivers/scsi/advansys.c 				if ((scsi_cmd == READ_6) ||
scsi_cmd         8263 drivers/scsi/advansys.c 				    (scsi_cmd == READ_10)) {
scsi_cmd         8314 drivers/scsi/advansys.c 				if ((scsi_cmd == READ_6) ||
scsi_cmd         8315 drivers/scsi/advansys.c 				    (scsi_cmd == READ_10)) {
scsi_cmd          260 drivers/scsi/bnx2i/bnx2i.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd          115 drivers/scsi/bnx2i/bnx2i_iscsi.c 		    (start_bd_idx > scsi_sg_count(cmd->scsi_cmd))) {
scsi_cmd          122 drivers/scsi/bnx2i/bnx2i_iscsi.c 					  scsi_sg_count(cmd->scsi_cmd));
scsi_cmd          145 drivers/scsi/bnx2i/bnx2i_iscsi.c 	struct scsi_cmnd *sc = cmd->scsi_cmd;
scsi_cmd          209 drivers/scsi/bnx2i/bnx2i_iscsi.c 	struct scsi_cmnd *sc = cmd->scsi_cmd;
scsi_cmd         1143 drivers/scsi/bnx2i/bnx2i_iscsi.c 	lpcnt = cmd->scsi_cmd->cmd_len / sizeof(dword);
scsi_cmd         1213 drivers/scsi/bnx2i/bnx2i_iscsi.c 	cmd->scsi_cmd = NULL;
scsi_cmd         1247 drivers/scsi/bnx2i/bnx2i_iscsi.c 	cmd->scsi_cmd = sc;
scsi_cmd          337 drivers/scsi/cxlflash/superpipe.c 	u8 *scsi_cmd = NULL;
scsi_cmd          345 drivers/scsi/cxlflash/superpipe.c 	scsi_cmd = kzalloc(MAX_COMMAND_SIZE, GFP_KERNEL);
scsi_cmd          346 drivers/scsi/cxlflash/superpipe.c 	if (unlikely(!cmd_buf || !scsi_cmd)) {
scsi_cmd          351 drivers/scsi/cxlflash/superpipe.c 	scsi_cmd[0] = SERVICE_ACTION_IN_16;	/* read cap(16) */
scsi_cmd          352 drivers/scsi/cxlflash/superpipe.c 	scsi_cmd[1] = SAI_READ_CAPACITY_16;	/* service action */
scsi_cmd          353 drivers/scsi/cxlflash/superpipe.c 	put_unaligned_be32(CMD_BUFSIZE, &scsi_cmd[10]);
scsi_cmd          356 drivers/scsi/cxlflash/superpipe.c 		retry_cnt ? "re" : "", scsi_cmd[0]);
scsi_cmd          360 drivers/scsi/cxlflash/superpipe.c 	result = scsi_execute(sdev, scsi_cmd, DMA_FROM_DEVICE, cmd_buf,
scsi_cmd          391 drivers/scsi/cxlflash/superpipe.c 						kfree(scsi_cmd);
scsi_cmd          421 drivers/scsi/cxlflash/superpipe.c 	kfree(scsi_cmd);
scsi_cmd          424 drivers/scsi/cxlflash/vlun.c 	u8 *scsi_cmd = NULL;
scsi_cmd          437 drivers/scsi/cxlflash/vlun.c 	scsi_cmd = kzalloc(MAX_COMMAND_SIZE, GFP_KERNEL);
scsi_cmd          438 drivers/scsi/cxlflash/vlun.c 	if (unlikely(!cmd_buf || !scsi_cmd)) {
scsi_cmd          445 drivers/scsi/cxlflash/vlun.c 		scsi_cmd[0] = WRITE_SAME_16;
scsi_cmd          446 drivers/scsi/cxlflash/vlun.c 		scsi_cmd[1] = cfg->ws_unmap ? 0x8 : 0;
scsi_cmd          447 drivers/scsi/cxlflash/vlun.c 		put_unaligned_be64(offset, &scsi_cmd[2]);
scsi_cmd          449 drivers/scsi/cxlflash/vlun.c 				   &scsi_cmd[10]);
scsi_cmd          453 drivers/scsi/cxlflash/vlun.c 		result = scsi_execute(sdev, scsi_cmd, DMA_TO_DEVICE, cmd_buf,
scsi_cmd          478 drivers/scsi/cxlflash/vlun.c 	kfree(scsi_cmd);
scsi_cmd          345 drivers/scsi/hpsa.c 	return c->scsi_cmd == SCSI_CMD_IDLE;
scsi_cmd         2448 drivers/scsi/hpsa.c 	c->scsi_cmd = SCSI_CMD_IDLE;
scsi_cmd         2562 drivers/scsi/hpsa.c 	cmd = cp->scsi_cmd;
scsi_cmd         4705 drivers/scsi/hpsa.c 	struct scsi_cmnd *cmd = c->scsi_cmd;
scsi_cmd         4801 drivers/scsi/hpsa.c 	struct scsi_cmnd *cmd = c->scsi_cmd;
scsi_cmd         4822 drivers/scsi/hpsa.c 	struct scsi_cmnd *cmd = c->scsi_cmd;
scsi_cmd         4879 drivers/scsi/hpsa.c 	struct scsi_cmnd *cmd = c->scsi_cmd;
scsi_cmd         5018 drivers/scsi/hpsa.c 	if (!c->scsi_cmd->device)
scsi_cmd         5021 drivers/scsi/hpsa.c 	if (!c->scsi_cmd->device->hostdata)
scsi_cmd         5075 drivers/scsi/hpsa.c 	struct scsi_cmnd *cmd = c->scsi_cmd;
scsi_cmd         5421 drivers/scsi/hpsa.c 	c->scsi_cmd = cmd;
scsi_cmd         5505 drivers/scsi/hpsa.c 	c->scsi_cmd = SCSI_CMD_IDLE;
scsi_cmd         5552 drivers/scsi/hpsa.c 		c->scsi_cmd = cmd;
scsi_cmd         5560 drivers/scsi/hpsa.c 		c->scsi_cmd = cmd;
scsi_cmd         5575 drivers/scsi/hpsa.c 	cmd = c->scsi_cmd;
scsi_cmd         6377 drivers/scsi/hpsa.c 	c->scsi_cmd = SCSI_CMD_BUSY;
scsi_cmd         6509 drivers/scsi/hpsa.c 	c->scsi_cmd = SCSI_CMD_BUSY;
scsi_cmd         6653 drivers/scsi/hpsa.c 	c->scsi_cmd = SCSI_CMD_BUSY;
scsi_cmd          436 drivers/scsi/hpsa_cmd.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd          664 drivers/scsi/ipr.c 	ipr_cmd->scsi_cmd = NULL;
scsi_cmd          864 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd          866 drivers/scsi/ipr.c 	scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd          868 drivers/scsi/ipr.c 	scsi_dma_unmap(ipr_cmd->scsi_cmd);
scsi_cmd          869 drivers/scsi/ipr.c 	scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd          921 drivers/scsi/ipr.c 			if (ipr_cmd->scsi_cmd)
scsi_cmd         5056 drivers/scsi/ipr.c 	if (ipr_cmd->scsi_cmd && ipr_cmd->scsi_cmd->device == device)
scsi_cmd         5319 drivers/scsi/ipr.c static int __ipr_eh_dev_reset(struct scsi_cmnd *scsi_cmd)
scsi_cmd         5329 drivers/scsi/ipr.c 	ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
scsi_cmd         5330 drivers/scsi/ipr.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         5363 drivers/scsi/ipr.c 	scmd_printk(KERN_ERR, scsi_cmd, "Resetting device\n");
scsi_cmd         5367 drivers/scsi/ipr.c 		spin_unlock_irq(scsi_cmd->device->host->host_lock);
scsi_cmd         5369 drivers/scsi/ipr.c 		spin_lock_irq(scsi_cmd->device->host->host_lock);
scsi_cmd         5491 drivers/scsi/ipr.c static int ipr_cancel_op(struct scsi_cmnd *scsi_cmd)
scsi_cmd         5502 drivers/scsi/ipr.c 	ioa_cfg = (struct ipr_ioa_cfg *)scsi_cmd->device->host->hostdata;
scsi_cmd         5503 drivers/scsi/ipr.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         5528 drivers/scsi/ipr.c 			if (ioa_cfg->ipr_cmnd_list[i]->scsi_cmd == scsi_cmd) {
scsi_cmd         5546 drivers/scsi/ipr.c 	ipr_cmd->u.sdev = scsi_cmd->device;
scsi_cmd         5548 drivers/scsi/ipr.c 	scmd_printk(KERN_ERR, scsi_cmd, "Aborting command: %02X\n",
scsi_cmd         5549 drivers/scsi/ipr.c 		    scsi_cmd->cmnd[0]);
scsi_cmd         5599 drivers/scsi/ipr.c static int ipr_eh_abort(struct scsi_cmnd *scsi_cmd)
scsi_cmd         5607 drivers/scsi/ipr.c 	ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
scsi_cmd         5609 drivers/scsi/ipr.c 	spin_lock_irqsave(scsi_cmd->device->host->host_lock, flags);
scsi_cmd         5610 drivers/scsi/ipr.c 	rc = ipr_cancel_op(scsi_cmd);
scsi_cmd         5611 drivers/scsi/ipr.c 	spin_unlock_irqrestore(scsi_cmd->device->host->host_lock, flags);
scsi_cmd         5614 drivers/scsi/ipr.c 		rc = ipr_wait_for_ops(ioa_cfg, scsi_cmd->device, ipr_match_lun);
scsi_cmd         5924 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         5928 drivers/scsi/ipr.c 	length = scsi_bufflen(scsi_cmd);
scsi_cmd         5932 drivers/scsi/ipr.c 	nseg = scsi_dma_map(scsi_cmd);
scsi_cmd         5945 drivers/scsi/ipr.c 	if (scsi_cmd->sc_data_direction == DMA_TO_DEVICE) {
scsi_cmd         5948 drivers/scsi/ipr.c 	} else if (scsi_cmd->sc_data_direction == DMA_FROM_DEVICE)
scsi_cmd         5951 drivers/scsi/ipr.c 	scsi_for_each_sg(scsi_cmd, sg, ipr_cmd->dma_use_sg, i) {
scsi_cmd         5976 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         5980 drivers/scsi/ipr.c 	length = scsi_bufflen(scsi_cmd);
scsi_cmd         5984 drivers/scsi/ipr.c 	nseg = scsi_dma_map(scsi_cmd);
scsi_cmd         5992 drivers/scsi/ipr.c 	if (scsi_cmd->sc_data_direction == DMA_TO_DEVICE) {
scsi_cmd         5998 drivers/scsi/ipr.c 	} else if (scsi_cmd->sc_data_direction == DMA_FROM_DEVICE) {
scsi_cmd         6012 drivers/scsi/ipr.c 	scsi_for_each_sg(scsi_cmd, sg, ipr_cmd->dma_use_sg, i) {
scsi_cmd         6034 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         6035 drivers/scsi/ipr.c 	struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
scsi_cmd         6039 drivers/scsi/ipr.c 		scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         6040 drivers/scsi/ipr.c 		scmd_printk(KERN_ERR, scsi_cmd,
scsi_cmd         6043 drivers/scsi/ipr.c 		memcpy(scsi_cmd->sense_buffer, ipr_cmd->sense_buffer,
scsi_cmd         6052 drivers/scsi/ipr.c 	scsi_dma_unmap(ipr_cmd->scsi_cmd);
scsi_cmd         6053 drivers/scsi/ipr.c 	scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         6180 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         6181 drivers/scsi/ipr.c 	struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
scsi_cmd         6188 drivers/scsi/ipr.c 	if (!scsi_cmd->device->simple_tags) {
scsi_cmd         6280 drivers/scsi/ipr.c 	u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer;
scsi_cmd         6281 drivers/scsi/ipr.c 	struct ipr_resource_entry *res = ipr_cmd->scsi_cmd->device->hostdata;
scsi_cmd         6290 drivers/scsi/ipr.c 	ipr_cmd->scsi_cmd->result = SAM_STAT_CHECK_CONDITION;
scsi_cmd         6379 drivers/scsi/ipr.c 		memcpy(ipr_cmd->scsi_cmd->sense_buffer, ioasa64->auto_sense.data,
scsi_cmd         6383 drivers/scsi/ipr.c 		memcpy(ipr_cmd->scsi_cmd->sense_buffer, ioasa->auto_sense.data,
scsi_cmd         6403 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         6404 drivers/scsi/ipr.c 	struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
scsi_cmd         6421 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_ABORT << 16);
scsi_cmd         6423 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_IMM_RETRY << 16);
scsi_cmd         6427 drivers/scsi/ipr.c 		scsi_cmd->result |= (DID_NO_CONNECT << 16);
scsi_cmd         6430 drivers/scsi/ipr.c 		scsi_cmd->result |= (DID_NO_CONNECT << 16);
scsi_cmd         6437 drivers/scsi/ipr.c 		scsi_cmd->result |= (DID_IMM_RETRY << 16);
scsi_cmd         6445 drivers/scsi/ipr.c 		if (scsi_cmd->result != SAM_STAT_CHECK_CONDITION)
scsi_cmd         6446 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_PASSTHROUGH << 16);
scsi_cmd         6455 drivers/scsi/ipr.c 			scsi_report_bus_reset(ioa_cfg->host, scsi_cmd->device->channel);
scsi_cmd         6456 drivers/scsi/ipr.c 		scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         6461 drivers/scsi/ipr.c 		scsi_cmd->result |= IPR_IOASC_SENSE_STATUS(ioasc);
scsi_cmd         6478 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_IMM_RETRY << 16);
scsi_cmd         6480 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         6484 drivers/scsi/ipr.c 			scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         6490 drivers/scsi/ipr.c 	scsi_dma_unmap(ipr_cmd->scsi_cmd);
scsi_cmd         6491 drivers/scsi/ipr.c 	scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         6510 drivers/scsi/ipr.c 	struct scsi_cmnd *scsi_cmd = ipr_cmd->scsi_cmd;
scsi_cmd         6514 drivers/scsi/ipr.c 	scsi_set_resid(scsi_cmd, be32_to_cpu(ipr_cmd->s.ioasa.hdr.residual_data_len));
scsi_cmd         6517 drivers/scsi/ipr.c 		scsi_dma_unmap(scsi_cmd);
scsi_cmd         6520 drivers/scsi/ipr.c 		scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         6547 drivers/scsi/ipr.c 			    struct scsi_cmnd *scsi_cmd)
scsi_cmd         6560 drivers/scsi/ipr.c 	scsi_cmd->result = (DID_OK << 16);
scsi_cmd         6561 drivers/scsi/ipr.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         6565 drivers/scsi/ipr.c 		rc = ata_sas_queuecmd(scsi_cmd, res->sata_port->ap);
scsi_cmd         6603 drivers/scsi/ipr.c 	memcpy(ioarcb->cmd_pkt.cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len);
scsi_cmd         6604 drivers/scsi/ipr.c 	ipr_cmd->scsi_cmd = scsi_cmd;
scsi_cmd         6608 drivers/scsi/ipr.c 		if (scsi_cmd->underflow == 0)
scsi_cmd         6621 drivers/scsi/ipr.c 		if (scsi_cmd->flags & SCMD_TAGGED)
scsi_cmd         6627 drivers/scsi/ipr.c 	if (scsi_cmd->cmnd[0] >= 0xC0 &&
scsi_cmd         6628 drivers/scsi/ipr.c 	    (!ipr_is_gscsi(res) || scsi_cmd->cmnd[0] == IPR_QUERY_RSRC_STATE)) {
scsi_cmd         6634 drivers/scsi/ipr.c 		if (scsi_cmd->underflow == 0)
scsi_cmd         6648 drivers/scsi/ipr.c 			scsi_dma_unmap(scsi_cmd);
scsi_cmd         6655 drivers/scsi/ipr.c 		scsi_dma_unmap(scsi_cmd);
scsi_cmd         6672 drivers/scsi/ipr.c 	memset(scsi_cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE);
scsi_cmd         6673 drivers/scsi/ipr.c 	scsi_cmd->result = (DID_NO_CONNECT << 16);
scsi_cmd         6674 drivers/scsi/ipr.c 	scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         1613 drivers/scsi/ipr.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd          209 drivers/scsi/ips.c #define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \
scsi_cmd          210 drivers/scsi/ips.c                          DMA_NONE == scb->scsi_cmd->sc_data_direction) ? \
scsi_cmd          212 drivers/scsi/ips.c                          scb->scsi_cmd->sc_data_direction)
scsi_cmd          800 drivers/scsi/ips.c 	while ((item) && (item->scsi_cmd != SC))
scsi_cmd          865 drivers/scsi/ips.c 	while ((item) && (item->scsi_cmd != SC))
scsi_cmd          928 drivers/scsi/ips.c 		struct scsi_cmnd *scsi_cmd;
scsi_cmd          938 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd          939 drivers/scsi/ips.c 			scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd          947 drivers/scsi/ips.c 		while ((scsi_cmd = ips_removeq_wait_head(&ha->scb_waitlist))) {
scsi_cmd          948 drivers/scsi/ips.c 			scsi_cmd->result = DID_ERROR;
scsi_cmd          949 drivers/scsi/ips.c 			scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd          957 drivers/scsi/ips.c 		struct scsi_cmnd *scsi_cmd;
scsi_cmd          967 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd          968 drivers/scsi/ips.c 			scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd          976 drivers/scsi/ips.c 		while ((scsi_cmd = ips_removeq_wait_head(&ha->scb_waitlist))) {
scsi_cmd          977 drivers/scsi/ips.c 			scsi_cmd->result = DID_ERROR << 16;
scsi_cmd          978 drivers/scsi/ips.c 			scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd          996 drivers/scsi/ips.c 		scb->scsi_cmd->result = DID_RESET << 16;
scsi_cmd          997 drivers/scsi/ips.c 		scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         1116 drivers/scsi/ips.c 		scratch->scsi_cmd = SC;
scsi_cmd         1665 drivers/scsi/ips.c 	scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         1848 drivers/scsi/ips.c 	scb->bus = scb->scsi_cmd->device->channel;
scsi_cmd         1849 drivers/scsi/ips.c 	scb->target_id = scb->scsi_cmd->device->id;
scsi_cmd         1850 drivers/scsi/ips.c 	scb->lun = scb->scsi_cmd->device->lun;
scsi_cmd         1867 drivers/scsi/ips.c 	scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         1917 drivers/scsi/ips.c 	scb->bus = scb->scsi_cmd->device->channel;
scsi_cmd         1918 drivers/scsi/ips.c 	scb->target_id = scb->scsi_cmd->device->id;
scsi_cmd         1919 drivers/scsi/ips.c 	scb->lun = scb->scsi_cmd->device->lun;
scsi_cmd         1969 drivers/scsi/ips.c 	scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         1991 drivers/scsi/ips.c 	if ((!scb) || (!scb->scsi_cmd) || (!scsi_sglist(scb->scsi_cmd))) {
scsi_cmd         2012 drivers/scsi/ips.c 	ips_scmd_buf_write(scb->scsi_cmd, ha->ioctl_data, ha->ioctl_datasize);
scsi_cmd         2566 drivers/scsi/ips.c 		scb->scsi_cmd = item->scsi_cmd;
scsi_cmd         2569 drivers/scsi/ips.c 		ret = ips_make_passthru(ha, scb->scsi_cmd, scb, intr);
scsi_cmd         2575 drivers/scsi/ips.c 			if (scb->scsi_cmd) {
scsi_cmd         2576 drivers/scsi/ips.c 				scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         2577 drivers/scsi/ips.c 				scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         2583 drivers/scsi/ips.c 			if (scb->scsi_cmd) {
scsi_cmd         2584 drivers/scsi/ips.c 				scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         2585 drivers/scsi/ips.c 				scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         2608 drivers/scsi/ips.c 			if (scb->scsi_cmd) {
scsi_cmd         2609 drivers/scsi/ips.c 				scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         2650 drivers/scsi/ips.c 		scb->scsi_cmd = SC;
scsi_cmd         2683 drivers/scsi/ips.c 		    ips_command_direction[scb->scsi_cmd->cmnd[0]];
scsi_cmd         2687 drivers/scsi/ips.c 		if ((scb->scsi_cmd->cmnd[0] == WRITE_BUFFER) &&
scsi_cmd         2708 drivers/scsi/ips.c 			if (scb->scsi_cmd) {
scsi_cmd         2709 drivers/scsi/ips.c 				scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         2710 drivers/scsi/ips.c 				scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         2720 drivers/scsi/ips.c 			if (scb->scsi_cmd)
scsi_cmd         2721 drivers/scsi/ips.c 				scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         3117 drivers/scsi/ips.c 	if (scb->scsi_cmd == NULL) {
scsi_cmd         3147 drivers/scsi/ips.c 	if ((scb->scsi_cmd) && (ips_is_passthru(scb->scsi_cmd))) {
scsi_cmd         3163 drivers/scsi/ips.c                         sg = scsi_sglist(scb->scsi_cmd);
scsi_cmd         3176 drivers/scsi/ips.c                         for (; sg_dma_index < scsi_sg_count(scb->scsi_cmd);
scsi_cmd         3188 drivers/scsi/ips.c 			    ips_command_direction[scb->scsi_cmd->cmnd[0]];
scsi_cmd         3202 drivers/scsi/ips.c 				if (scb->scsi_cmd) {
scsi_cmd         3203 drivers/scsi/ips.c 					scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         3204 drivers/scsi/ips.c 					scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         3210 drivers/scsi/ips.c 				if (scb->scsi_cmd) {
scsi_cmd         3211 drivers/scsi/ips.c 					scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         3212 drivers/scsi/ips.c 					scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         3229 drivers/scsi/ips.c 	scb->scsi_cmd->scsi_done(scb->scsi_cmd);
scsi_cmd         3258 drivers/scsi/ips.c 			  scb->scsi_cmd->device->channel,
scsi_cmd         3259 drivers/scsi/ips.c 			  scb->scsi_cmd->device->id, scb->scsi_cmd->device->lun,
scsi_cmd         3309 drivers/scsi/ips.c 				if (scb->scsi_cmd->cmnd[0] == INQUIRY) {
scsi_cmd         3310 drivers/scsi/ips.c 				    ips_scmd_buf_read(scb->scsi_cmd,
scsi_cmd         3342 drivers/scsi/ips.c 					memcpy(scb->scsi_cmd->sense_buffer,
scsi_cmd         3346 drivers/scsi/ips.c 					memcpy(scb->scsi_cmd->sense_buffer,
scsi_cmd         3364 drivers/scsi/ips.c 	scb->scsi_cmd->result = device_error | (errcode << 16);
scsi_cmd         3459 drivers/scsi/ips.c 	if (!scb->scsi_cmd) {
scsi_cmd         3472 drivers/scsi/ips.c 	} else if ((scb->bus == 0) && (!ips_is_passthru(scb->scsi_cmd))) {
scsi_cmd         3476 drivers/scsi/ips.c 		switch (scb->scsi_cmd->cmnd[0]) {
scsi_cmd         3482 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_ERROR << 16;
scsi_cmd         3486 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3496 drivers/scsi/ips.c 				if (scb->scsi_cmd->cmnd[0] == TEST_UNIT_READY)
scsi_cmd         3497 drivers/scsi/ips.c 					scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3499 drivers/scsi/ips.c 				if (scb->scsi_cmd->cmnd[0] == INQUIRY) {
scsi_cmd         3525 drivers/scsi/ips.c 					ips_scmd_buf_write(scb->scsi_cmd,
scsi_cmd         3529 drivers/scsi/ips.c 					scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3547 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3554 drivers/scsi/ips.c 				    (scb->scsi_cmd->cmnd[0] ==
scsi_cmd         3561 drivers/scsi/ips.c 				    (scb->scsi_cmd->cmnd[0] ==
scsi_cmd         3581 drivers/scsi/ips.c 				    (((scb->scsi_cmd->
scsi_cmd         3582 drivers/scsi/ips.c 				       cmnd[1] & 0x1f) << 16) | (scb->scsi_cmd->
scsi_cmd         3584 drivers/scsi/ips.c 				     (scb->scsi_cmd->cmnd[3]));
scsi_cmd         3600 drivers/scsi/ips.c 				    (scb->scsi_cmd->cmnd[0] ==
scsi_cmd         3607 drivers/scsi/ips.c 				    (scb->scsi_cmd->cmnd[0] ==
scsi_cmd         3627 drivers/scsi/ips.c 				    ((scb->scsi_cmd->cmnd[2] << 24) | (scb->
scsi_cmd         3628 drivers/scsi/ips.c 								       scsi_cmd->
scsi_cmd         3631 drivers/scsi/ips.c 				     (scb->scsi_cmd->cmnd[4] << 8) | scb->
scsi_cmd         3632 drivers/scsi/ips.c 				     scsi_cmd->cmnd[5]);
scsi_cmd         3643 drivers/scsi/ips.c 				scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3651 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3685 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_OK << 16;
scsi_cmd         3692 drivers/scsi/ips.c 			sp = (char *) scb->scsi_cmd->sense_buffer;
scsi_cmd         3701 drivers/scsi/ips.c 			scb->scsi_cmd->result = device_error | (DID_OK << 16);
scsi_cmd         3715 drivers/scsi/ips.c 			scb->scsi_cmd->result = DID_NO_CONNECT << 16;
scsi_cmd         3731 drivers/scsi/ips.c 		TimeOut = scb->scsi_cmd->request->timeout;
scsi_cmd         3758 drivers/scsi/ips.c 			tapeDCDB->cdb_length = scb->scsi_cmd->cmd_len;
scsi_cmd         3771 drivers/scsi/ips.c 			memcpy(tapeDCDB->scsi_cdb, scb->scsi_cmd->cmnd,
scsi_cmd         3772 drivers/scsi/ips.c 			       scb->scsi_cmd->cmd_len);
scsi_cmd         3804 drivers/scsi/ips.c 			scb->dcdb.cdb_length = scb->scsi_cmd->cmd_len;
scsi_cmd         3808 drivers/scsi/ips.c 			memcpy(scb->dcdb.scsi_cdb, scb->scsi_cmd->cmnd,
scsi_cmd         3809 drivers/scsi/ips.c 			       scb->scsi_cmd->cmd_len);
scsi_cmd         3853 drivers/scsi/ips.c 	if (!scb->scsi_cmd)
scsi_cmd         3864 drivers/scsi/ips.c 	if ((scb->scsi_cmd) && (ips_is_passthru(scb->scsi_cmd)))
scsi_cmd         3883 drivers/scsi/ips.c 			switch (scb->scsi_cmd->cmnd[0]) {
scsi_cmd         3955 drivers/scsi/ips.c 			scb->scsi_cmd->result = errcode << 16;
scsi_cmd         3958 drivers/scsi/ips.c 			if (scb->scsi_cmd->cmnd[0] == INQUIRY) {
scsi_cmd         3959 drivers/scsi/ips.c 			    ips_scmd_buf_read(scb->scsi_cmd,
scsi_cmd         3962 drivers/scsi/ips.c 			        scb->scsi_cmd->result = DID_TIME_OUT << 16;
scsi_cmd         4043 drivers/scsi/ips.c 	ips_scmd_buf_write(scb->scsi_cmd, &inquiry, sizeof (inquiry));
scsi_cmd         4064 drivers/scsi/ips.c 	if (scsi_bufflen(scb->scsi_cmd) < 8)
scsi_cmd         4073 drivers/scsi/ips.c 	ips_scmd_buf_write(scb->scsi_cmd, &cap, sizeof (cap));
scsi_cmd         4114 drivers/scsi/ips.c 	switch (scb->scsi_cmd->cmnd[2] & 0x3f) {
scsi_cmd         4164 drivers/scsi/ips.c 	ips_scmd_buf_write(scb->scsi_cmd, &mdata, sizeof (mdata));
scsi_cmd         4193 drivers/scsi/ips.c 	ips_scmd_buf_write(scb->scsi_cmd, &reqsen, sizeof (reqsen));
scsi_cmd         4446 drivers/scsi/ips.c                 scsi_dma_unmap(scb->scsi_cmd);
scsi_cmd         5279 drivers/scsi/ips.c 	if (scb->scsi_cmd) {
scsi_cmd         5333 drivers/scsi/ips.c 	if (scb->scsi_cmd) {
scsi_cmd         5384 drivers/scsi/ips.c 	if (scb->scsi_cmd) {
scsi_cmd         5416 drivers/scsi/ips.c 	if (scb->scsi_cmd) {
scsi_cmd          977 drivers/scsi/ips.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd         1083 drivers/scsi/ips.h    struct scsi_cmnd *scsi_cmd;
scsi_cmd         1109 drivers/scsi/ips.h    struct scsi_cmnd *scsi_cmd;
scsi_cmd          186 drivers/scsi/isci/task.h 	struct scsi_cmnd *scsi_cmd,
scsi_cmd          330 drivers/scsi/pmcraid.c 	cmd->scsi_cmd = NULL;
scsi_cmd          823 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd          828 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd          829 drivers/scsi/pmcraid.c 		scmd_printk(KERN_INFO, scsi_cmd,
scsi_cmd          841 drivers/scsi/pmcraid.c 	scsi_dma_unmap(scsi_cmd);
scsi_cmd          843 drivers/scsi/pmcraid.c 	scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         2013 drivers/scsi/pmcraid.c 		if (cmd->scsi_cmd) {
scsi_cmd         2015 drivers/scsi/pmcraid.c 			struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd         2018 drivers/scsi/pmcraid.c 			scsi_cmd->result |= DID_ERROR << 16;
scsi_cmd         2020 drivers/scsi/pmcraid.c 			scsi_dma_unmap(scsi_cmd);
scsi_cmd         2026 drivers/scsi/pmcraid.c 				     scsi_cmd->result);
scsi_cmd         2027 drivers/scsi/pmcraid.c 			scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         2427 drivers/scsi/pmcraid.c 	cmd->sense_buffer = cmd->scsi_cmd->sense_buffer;
scsi_cmd         2477 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd         2479 drivers/scsi/pmcraid.c 	struct pmcraid_resource_entry *res = scsi_cmd->device->hostdata;
scsi_cmd         2513 drivers/scsi/pmcraid.c 	u8 *sense_buf = cmd->scsi_cmd->sense_buffer;
scsi_cmd         2514 drivers/scsi/pmcraid.c 	struct pmcraid_resource_entry *res = cmd->scsi_cmd->device->hostdata;
scsi_cmd         2520 drivers/scsi/pmcraid.c 	cmd->scsi_cmd->result = SAM_STAT_CHECK_CONDITION;
scsi_cmd         2585 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd         2586 drivers/scsi/pmcraid.c 	struct pmcraid_resource_entry *res = scsi_cmd->device->hostdata;
scsi_cmd         2599 drivers/scsi/pmcraid.c 	if (SCSI_CMD_TYPE(scsi_cmd->cmnd[0]) == SCSI_READ_CMD)
scsi_cmd         2601 drivers/scsi/pmcraid.c 	else if (SCSI_CMD_TYPE(scsi_cmd->cmnd[0]) == SCSI_WRITE_CMD)
scsi_cmd         2615 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_ABORT << 16);
scsi_cmd         2620 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_NO_CONNECT << 16);
scsi_cmd         2625 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_IMM_RETRY << 16);
scsi_cmd         2629 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_PASSTHROUGH << 16);
scsi_cmd         2636 drivers/scsi/pmcraid.c 					      scsi_cmd->device->channel);
scsi_cmd         2637 drivers/scsi/pmcraid.c 		scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         2641 drivers/scsi/pmcraid.c 		scsi_cmd->result |= PMCRAID_IOASC_SENSE_STATUS(ioasc);
scsi_cmd         2660 drivers/scsi/pmcraid.c 			memcpy(scsi_cmd->sense_buffer,
scsi_cmd         2680 drivers/scsi/pmcraid.c 			scsi_cmd->result |= (DID_ERROR << 16);
scsi_cmd         2700 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd,
scsi_cmd         2713 drivers/scsi/pmcraid.c 		(struct pmcraid_instance *)scsi_cmd->device->host->hostdata;
scsi_cmd         2714 drivers/scsi/pmcraid.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         2717 drivers/scsi/pmcraid.c 		sdev_printk(KERN_ERR, scsi_cmd->device,
scsi_cmd         2809 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd         2812 drivers/scsi/pmcraid.c 	scsi_set_resid(scsi_cmd, reslen);
scsi_cmd         2817 drivers/scsi/pmcraid.c 		ioasc, scsi_cmd->result);
scsi_cmd         2823 drivers/scsi/pmcraid.c 		scsi_dma_unmap(scsi_cmd);
scsi_cmd         2824 drivers/scsi/pmcraid.c 		scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         2866 drivers/scsi/pmcraid.c 	res = cmd->scsi_cmd->device->hostdata;
scsi_cmd         2942 drivers/scsi/pmcraid.c static int pmcraid_eh_abort_handler(struct scsi_cmnd *scsi_cmd)
scsi_cmd         2954 drivers/scsi/pmcraid.c 		(struct pmcraid_instance *)scsi_cmd->device->host->hostdata;
scsi_cmd         2956 drivers/scsi/pmcraid.c 	scmd_printk(KERN_INFO, scsi_cmd,
scsi_cmd         2959 drivers/scsi/pmcraid.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         2986 drivers/scsi/pmcraid.c 		if (cmd->scsi_cmd == scsi_cmd) {
scsi_cmd         3005 drivers/scsi/pmcraid.c 		cancel_cmd->res = cmd->scsi_cmd->device->hostdata;
scsi_cmd         3152 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd = cmd->scsi_cmd;
scsi_cmd         3156 drivers/scsi/pmcraid.c 	u32 length = scsi_bufflen(scsi_cmd);
scsi_cmd         3161 drivers/scsi/pmcraid.c 	nseg = scsi_dma_map(scsi_cmd);
scsi_cmd         3164 drivers/scsi/pmcraid.c 		scmd_printk(KERN_ERR, scsi_cmd, "scsi_map_dma failed!\n");
scsi_cmd         3167 drivers/scsi/pmcraid.c 		scsi_dma_unmap(scsi_cmd);
scsi_cmd         3168 drivers/scsi/pmcraid.c 		scmd_printk(KERN_ERR, scsi_cmd,
scsi_cmd         3174 drivers/scsi/pmcraid.c 	if (scsi_cmd->sc_data_direction == DMA_TO_DEVICE)
scsi_cmd         3182 drivers/scsi/pmcraid.c 	scsi_for_each_sg(scsi_cmd, sglist, nseg, i) {
scsi_cmd         3326 drivers/scsi/pmcraid.c 	struct scsi_cmnd *scsi_cmd,
scsi_cmd         3338 drivers/scsi/pmcraid.c 		(struct pmcraid_instance *)scsi_cmd->device->host->hostdata;
scsi_cmd         3340 drivers/scsi/pmcraid.c 	scsi_cmd->scsi_done = done;
scsi_cmd         3341 drivers/scsi/pmcraid.c 	res = scsi_cmd->device->hostdata;
scsi_cmd         3342 drivers/scsi/pmcraid.c 	scsi_cmd->result = (DID_OK << 16);
scsi_cmd         3349 drivers/scsi/pmcraid.c 		scsi_cmd->result = (DID_NO_CONNECT << 16);
scsi_cmd         3350 drivers/scsi/pmcraid.c 		scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         3361 drivers/scsi/pmcraid.c 	if (scsi_cmd->cmnd[0] == SYNCHRONIZE_CACHE) {
scsi_cmd         3363 drivers/scsi/pmcraid.c 		scsi_cmd->scsi_done(scsi_cmd);
scsi_cmd         3375 drivers/scsi/pmcraid.c 	cmd->scsi_cmd = scsi_cmd;
scsi_cmd         3377 drivers/scsi/pmcraid.c 	memcpy(ioarcb->cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len);
scsi_cmd         3391 drivers/scsi/pmcraid.c 		if (scsi_cmd->underflow == 0)
scsi_cmd         3401 drivers/scsi/pmcraid.c 		if (scsi_cmd->flags & SCMD_TAGGED)
scsi_cmd         3412 drivers/scsi/pmcraid.c 		     scsi_cmd->cmnd[0], pinstance->host->unique_id,
scsi_cmd         3662 drivers/scsi/pmcraid.c 	cmd->scsi_cmd = NULL;
scsi_cmd          567 drivers/scsi/pmcraid.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd           22 drivers/scsi/qedi/qedi_fw.c 	struct scsi_cmnd *sc = cmd->scsi_cmd;
scsi_cmd          594 drivers/scsi/qedi/qedi_fw.c 	sc_cmd = cmd->scsi_cmd;
scsi_cmd         1225 drivers/scsi/qedi/qedi_fw.c 			if (cmd->scsi_cmd && cmd->scsi_cmd->device) {
scsi_cmd         1229 drivers/scsi/qedi/qedi_fw.c 					  cmd->scsi_cmd, cmd->scsi_cmd->device,
scsi_cmd         1232 drivers/scsi/qedi/qedi_fw.c 				if (cmd->scsi_cmd->device->lun != lun)
scsi_cmd         1840 drivers/scsi/qedi/qedi_fw.c 	struct scsi_cmnd *sc = cmd->scsi_cmd;
scsi_cmd         1936 drivers/scsi/qedi/qedi_fw.c 	struct scsi_cmnd *sc = cmd->scsi_cmd;
scsi_cmd          774 drivers/scsi/qedi/qedi_iscsi.c 	cmd->scsi_cmd = NULL;
scsi_cmd          796 drivers/scsi/qedi/qedi_iscsi.c 	cmd->scsi_cmd = sc;
scsi_cmd          180 drivers/scsi/qedi/qedi_iscsi.h 	struct scsi_cmnd *scsi_cmd;
scsi_cmd          144 drivers/scsi/scsi_ioctl.c 	char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          150 drivers/scsi/scsi_ioctl.c 	scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL;
scsi_cmd          151 drivers/scsi/scsi_ioctl.c 	scsi_cmd[1] = 0;
scsi_cmd          152 drivers/scsi/scsi_ioctl.c 	scsi_cmd[2] = 0;
scsi_cmd          153 drivers/scsi/scsi_ioctl.c 	scsi_cmd[3] = 0;
scsi_cmd          154 drivers/scsi/scsi_ioctl.c 	scsi_cmd[4] = state;
scsi_cmd          155 drivers/scsi/scsi_ioctl.c 	scsi_cmd[5] = 0;
scsi_cmd          157 drivers/scsi/scsi_ioctl.c 	ret = ioctl_internal_command(sdev, scsi_cmd,
scsi_cmd          204 drivers/scsi/scsi_ioctl.c 	char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          252 drivers/scsi/scsi_ioctl.c 		scsi_cmd[0] = START_STOP;
scsi_cmd          253 drivers/scsi/scsi_ioctl.c 		scsi_cmd[1] = 0;
scsi_cmd          254 drivers/scsi/scsi_ioctl.c 		scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0;
scsi_cmd          255 drivers/scsi/scsi_ioctl.c 		scsi_cmd[4] = 1;
scsi_cmd          256 drivers/scsi/scsi_ioctl.c 		return ioctl_internal_command(sdev, scsi_cmd,
scsi_cmd          259 drivers/scsi/scsi_ioctl.c 		scsi_cmd[0] = START_STOP;
scsi_cmd          260 drivers/scsi/scsi_ioctl.c 		scsi_cmd[1] = 0;
scsi_cmd          261 drivers/scsi/scsi_ioctl.c 		scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0;
scsi_cmd          262 drivers/scsi/scsi_ioctl.c 		scsi_cmd[4] = 0;
scsi_cmd          263 drivers/scsi/scsi_ioctl.c 		return ioctl_internal_command(sdev, scsi_cmd,
scsi_cmd          188 drivers/scsi/scsi_scan.c 	unsigned char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          191 drivers/scsi/scsi_scan.c 	scsi_cmd[0] = MODE_SENSE;
scsi_cmd          192 drivers/scsi/scsi_scan.c 	scsi_cmd[1] = 0;
scsi_cmd          193 drivers/scsi/scsi_scan.c 	scsi_cmd[2] = 0x2e;
scsi_cmd          194 drivers/scsi/scsi_scan.c 	scsi_cmd[3] = 0;
scsi_cmd          195 drivers/scsi/scsi_scan.c 	scsi_cmd[4] = 0x2a;     /* size */
scsi_cmd          196 drivers/scsi/scsi_scan.c 	scsi_cmd[5] = 0;
scsi_cmd          197 drivers/scsi/scsi_scan.c 	scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, result, 0x2a, NULL,
scsi_cmd          563 drivers/scsi/scsi_scan.c 	unsigned char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          587 drivers/scsi/scsi_scan.c 		memset(scsi_cmd, 0, 6);
scsi_cmd          588 drivers/scsi/scsi_scan.c 		scsi_cmd[0] = INQUIRY;
scsi_cmd          589 drivers/scsi/scsi_scan.c 		scsi_cmd[4] = (unsigned char) try_inquiry_len;
scsi_cmd          593 drivers/scsi/scsi_scan.c 		result = scsi_execute_req(sdev,  scsi_cmd, DMA_FROM_DEVICE,
scsi_cmd         1292 drivers/scsi/scsi_scan.c 	unsigned char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd         1347 drivers/scsi/scsi_scan.c 	scsi_cmd[0] = REPORT_LUNS;
scsi_cmd         1352 drivers/scsi/scsi_scan.c 	memset(&scsi_cmd[1], 0, 5);
scsi_cmd         1357 drivers/scsi/scsi_scan.c 	put_unaligned_be32(length, &scsi_cmd[6]);
scsi_cmd         1359 drivers/scsi/scsi_scan.c 	scsi_cmd[10] = 0;	/* reserved */
scsi_cmd         1360 drivers/scsi/scsi_scan.c 	scsi_cmd[11] = 0;	/* control */
scsi_cmd         1377 drivers/scsi/scsi_scan.c 		result = scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE,
scsi_cmd          333 drivers/scsi/virtio_scsi.c 	unsigned char scsi_cmd[MAX_COMMAND_SIZE];
scsi_cmd          340 drivers/scsi/virtio_scsi.c 		memset(scsi_cmd, 0, sizeof(scsi_cmd));
scsi_cmd          341 drivers/scsi/virtio_scsi.c 		scsi_cmd[0] = INQUIRY;
scsi_cmd          342 drivers/scsi/virtio_scsi.c 		scsi_cmd[4] = (unsigned char) inquiry_len;
scsi_cmd          346 drivers/scsi/virtio_scsi.c 		result = scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE,