scsicmd          1579 drivers/ata/libata-core.c 	qc->scsicmd = NULL;
scsicmd          5122 drivers/ata/libata-core.c 	qc->scsicmd = NULL;
scsicmd           602 drivers/ata/libata-eh.c 				    qc->scsicmd == scmd)
scsicmd           916 drivers/ata/libata-eh.c 	blk_abort_request(qc->scsicmd->request);
scsicmd          1222 drivers/ata/libata-eh.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1243 drivers/ata/libata-eh.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1261 drivers/ata/libata-eh.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1726 drivers/ata/libata-eh.c 		ata_scsi_set_sense(dev, qc->scsicmd, sense_key, asc, ascq);
scsicmd          1727 drivers/ata/libata-eh.c 		ata_scsi_set_sense_information(dev, qc->scsicmd,
scsicmd          1776 drivers/ata/libata-eh.c 			ata_eh_request_sense(qc, qc->scsicmd);
scsicmd          1790 drivers/ata/libata-eh.c 						qc->scsicmd->sense_buffer,
scsicmd          1800 drivers/ata/libata-eh.c 		int ret = scsi_check_sense(qc->scsicmd);
scsicmd          2094 drivers/ata/libata-eh.c 	if (qc->scsicmd &&
scsicmd          2095 drivers/ata/libata-eh.c 	    qc->scsicmd->request->rq_flags & RQF_QUIET)
scsicmd          2542 drivers/ata/libata-eh.c 			if (qc->scsicmd) {
scsicmd          2543 drivers/ata/libata-eh.c 				cdb = qc->scsicmd->cmnd;
scsicmd          2544 drivers/ata/libata-eh.c 				cdb_len = qc->scsicmd->cmd_len;
scsicmd          3392 drivers/ata/libata-eh.c 		qc->scsicmd->allowed = max(qc->scsicmd->allowed, 1);
scsicmd           850 drivers/ata/libata-scsi.c 		qc->scsicmd = cmd;
scsicmd           868 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1070 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          1169 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          1460 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1675 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1824 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1924 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          1934 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          2585 drivers/ata/libata-scsi.c 	u8 *scsicmd = args->cmd->cmnd, *p = rbuf;
scsicmd          2598 drivers/ata/libata-scsi.c 	six_byte = (scsicmd[0] == MODE_SENSE);
scsicmd          2599 drivers/ata/libata-scsi.c 	ebd = !(scsicmd[1] & 0x8);      /* dbd bit inverted == edb */
scsicmd          2604 drivers/ata/libata-scsi.c 	page_control = scsicmd[2] >> 6;
scsicmd          2623 drivers/ata/libata-scsi.c 	pg = scsicmd[2] & 0x3f;
scsicmd          2624 drivers/ata/libata-scsi.c 	spg = scsicmd[3];
scsicmd          2812 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          2880 drivers/ata/libata-scsi.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd          2914 drivers/ata/libata-scsi.c 		qc->scsicmd->result = SAM_STAT_CHECK_CONDITION;
scsicmd          2951 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3145 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3452 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3633 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3697 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3780 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          3979 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          4137 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          4203 drivers/ata/libata-scsi.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          4417 drivers/ata/libata-scsi.c 	const u8 *scsicmd = cmd->cmnd;
scsicmd          4424 drivers/ata/libata-scsi.c 	switch(scsicmd[0]) {
scsicmd          4426 drivers/ata/libata-scsi.c 		if (scsicmd[1] & 2)		   /* is CmdDt set?  */
scsicmd          4428 drivers/ata/libata-scsi.c 		else if ((scsicmd[1] & 1) == 0)    /* is EVPD clear? */
scsicmd          4430 drivers/ata/libata-scsi.c 		else switch (scsicmd[2]) {
scsicmd          4474 drivers/ata/libata-scsi.c 		if ((scsicmd[1] & 0x1f) == SAI_READ_CAPACITY_16)
scsicmd          4503 drivers/ata/libata-scsi.c 		tmp8 = scsicmd[1] & ~(1 << 3);
scsicmd          4504 drivers/ata/libata-scsi.c 		if (tmp8 != 0x4 || scsicmd[3] || scsicmd[4])
scsicmd          4509 drivers/ata/libata-scsi.c 		if (scsicmd[1] == MI_REPORT_SUPPORTED_OPERATION_CODES)
scsicmd            51 drivers/ata/pata_falcon.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd           437 drivers/ata/pata_pdc2027x.c 	struct scsi_cmnd *cmd = qc->scsicmd;
scsicmd           438 drivers/ata/pata_pdc2027x.c 	u8 *scsicmd = cmd->cmnd;
scsicmd           447 drivers/ata/pata_pdc2027x.c 	switch (scsicmd[0]) {
scsicmd          1855 drivers/ata/sata_mv.c 	struct scsi_cmnd *scmd = qc->scsicmd;
scsicmd          1059 drivers/ata/sata_promise.c 	u8 *scsicmd = qc->scsicmd->cmnd;
scsicmd          1063 drivers/ata/sata_promise.c 	switch (scsicmd[0]) {
scsicmd          1075 drivers/ata/sata_promise.c 	if (scsicmd[0] == WRITE_10) {
scsicmd          1077 drivers/ata/sata_promise.c 			(scsicmd[2] << 24) |
scsicmd          1078 drivers/ata/sata_promise.c 			(scsicmd[3] << 16) |
scsicmd          1079 drivers/ata/sata_promise.c 			(scsicmd[4] << 8) |
scsicmd          1080 drivers/ata/sata_promise.c 			scsicmd[5];
scsicmd            84 drivers/ata/sata_svw.c 	u8 cmnd = qc->scsicmd->cmnd[0];
scsicmd           918 drivers/ata/sata_sx4.c 	u8 *scsicmd = qc->scsicmd->cmnd;
scsicmd           922 drivers/ata/sata_sx4.c 	switch (scsicmd[0]) {
scsicmd           934 drivers/ata/sata_sx4.c 	if (scsicmd[0] == WRITE_10) {
scsicmd           936 drivers/ata/sata_sx4.c 			(scsicmd[2] << 24) |
scsicmd           937 drivers/ata/sata_sx4.c 			(scsicmd[3] << 16) |
scsicmd           938 drivers/ata/sata_sx4.c 			(scsicmd[4] << 8) |
scsicmd           939 drivers/ata/sata_sx4.c 			scsicmd[5];
scsicmd           384 drivers/ata/sata_via.c 	    (qc->scsicmd->sc_data_direction == DMA_TO_DEVICE)) {
scsicmd           217 drivers/scsi/aacraid/aachba.c static long aac_build_sg(struct scsi_cmnd *scsicmd, struct sgmap *sgmap);
scsicmd           218 drivers/scsi/aacraid/aachba.c static long aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg);
scsicmd           219 drivers/scsi/aacraid/aachba.c static long aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg);
scsicmd           220 drivers/scsi/aacraid/aachba.c static long aac_build_sgraw2(struct scsi_cmnd *scsicmd,
scsicmd           222 drivers/scsi/aacraid/aachba.c static long aac_build_sghba(struct scsi_cmnd *scsicmd,
scsicmd           227 drivers/scsi/aacraid/aachba.c static int aac_send_srb_fib(struct scsi_cmnd* scsicmd);
scsicmd           228 drivers/scsi/aacraid/aachba.c static int aac_send_hba_fib(struct scsi_cmnd *scsicmd);
scsicmd           332 drivers/scsi/aacraid/aachba.c static inline int aac_valid_context(struct scsi_cmnd *scsicmd,
scsicmd           336 drivers/scsi/aacraid/aachba.c 	if (unlikely(!scsicmd || !scsicmd->scsi_done)) {
scsicmd           341 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL;
scsicmd           342 drivers/scsi/aacraid/aachba.c 	device = scsicmd->device;
scsicmd           433 drivers/scsi/aacraid/aachba.c static void aac_expose_phy_device(struct scsi_cmnd *scsicmd)
scsicmd           436 drivers/scsi/aacraid/aachba.c 	scsi_sg_copy_to_buffer(scsicmd,  &inq_data, sizeof(inq_data));
scsicmd           439 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd, &inq_data, sizeof(inq_data));
scsicmd           523 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd * scsicmd;
scsicmd           525 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd           527 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd           552 drivers/scsi/aacraid/aachba.c 			scsi_sg_copy_to_buffer(scsicmd, &inq, sizeof(inq));
scsicmd           554 drivers/scsi/aacraid/aachba.c 			scsi_sg_copy_from_buffer(scsicmd, &inq, sizeof(inq));
scsicmd           558 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_GOOD;
scsicmd           561 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd           567 drivers/scsi/aacraid/aachba.c static int aac_get_container_name(struct scsi_cmnd * scsicmd)
scsicmd           575 drivers/scsi/aacraid/aachba.c 	dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd           579 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd           583 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd           587 drivers/scsi/aacraid/aachba.c 	dinfo->cid = cpu_to_le32(scmd_id(scsicmd));
scsicmd           596 drivers/scsi/aacraid/aachba.c 		  (void *) scsicmd);
scsicmd           609 drivers/scsi/aacraid/aachba.c static int aac_probe_container_callback2(struct scsi_cmnd * scsicmd)
scsicmd           611 drivers/scsi/aacraid/aachba.c 	struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev;
scsicmd           613 drivers/scsi/aacraid/aachba.c 	if ((fsa_dev_ptr[scmd_id(scsicmd)].valid & 1))
scsicmd           614 drivers/scsi/aacraid/aachba.c 		return aac_scsi_cmd(scsicmd);
scsicmd           616 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_NO_CONNECT << 16;
scsicmd           617 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd           625 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd * scsicmd = (struct scsi_cmnd *)context;
scsicmd           629 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd           632 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.Status = 0;
scsicmd           638 drivers/scsi/aacraid/aachba.c 		fsa_dev_ptr += scmd_id(scsicmd);
scsicmd           670 drivers/scsi/aacraid/aachba.c 		scsicmd->SCp.Status = le32_to_cpu(dresp->count);
scsicmd           674 drivers/scsi/aacraid/aachba.c 	callback = (int (*)(struct scsi_cmnd *))(scsicmd->SCp.ptr);
scsicmd           675 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.ptr = NULL;
scsicmd           676 drivers/scsi/aacraid/aachba.c 	(*callback)(scsicmd);
scsicmd           682 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd * scsicmd;
scsicmd           696 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd           698 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd           711 drivers/scsi/aacraid/aachba.c 	dinfo->count = cpu_to_le32(scmd_id(scsicmd));
scsicmd           713 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd           721 drivers/scsi/aacraid/aachba.c 			  (void *) scsicmd);
scsicmd           732 drivers/scsi/aacraid/aachba.c static int _aac_probe_container(struct scsi_cmnd * scsicmd, int (*callback)(struct scsi_cmnd *))
scsicmd           737 drivers/scsi/aacraid/aachba.c 	if ((fibptr = aac_fib_alloc((struct aac_dev *)scsicmd->device->host->hostdata))) {
scsicmd           750 drivers/scsi/aacraid/aachba.c 		dinfo->count = cpu_to_le32(scmd_id(scsicmd));
scsicmd           752 drivers/scsi/aacraid/aachba.c 		scsicmd->SCp.ptr = (char *)callback;
scsicmd           753 drivers/scsi/aacraid/aachba.c 		scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd           761 drivers/scsi/aacraid/aachba.c 			  (void *) scsicmd);
scsicmd           769 drivers/scsi/aacraid/aachba.c 			scsicmd->SCp.ptr = NULL;
scsicmd           775 drivers/scsi/aacraid/aachba.c 		struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev;
scsicmd           777 drivers/scsi/aacraid/aachba.c 			fsa_dev_ptr += scmd_id(scsicmd);
scsicmd           780 drivers/scsi/aacraid/aachba.c 				return (*callback)(scsicmd);
scsicmd           795 drivers/scsi/aacraid/aachba.c static int aac_probe_container_callback1(struct scsi_cmnd * scsicmd)
scsicmd           797 drivers/scsi/aacraid/aachba.c 	scsicmd->device = NULL;
scsicmd           803 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd *scsicmd = kmalloc(sizeof(*scsicmd), GFP_KERNEL);
scsicmd           807 drivers/scsi/aacraid/aachba.c 	if (!scsicmd || !scsidev) {
scsicmd           808 drivers/scsi/aacraid/aachba.c 		kfree(scsicmd);
scsicmd           812 drivers/scsi/aacraid/aachba.c 	scsicmd->list.next = NULL;
scsicmd           813 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done = (void (*)(struct scsi_cmnd*))aac_probe_container_callback1;
scsicmd           815 drivers/scsi/aacraid/aachba.c 	scsicmd->device = scsidev;
scsicmd           820 drivers/scsi/aacraid/aachba.c 	if (_aac_probe_container(scsicmd, aac_probe_container_callback1) == 0)
scsicmd           821 drivers/scsi/aacraid/aachba.c 		while (scsicmd->device == scsidev)
scsicmd           824 drivers/scsi/aacraid/aachba.c 	status = scsicmd->SCp.Status;
scsicmd           825 drivers/scsi/aacraid/aachba.c 	kfree(scsicmd);
scsicmd           955 drivers/scsi/aacraid/aachba.c 		struct aac_dev *dev, struct scsi_cmnd *scsicmd)
scsicmd           967 drivers/scsi/aacraid/aachba.c 		if (scmd_id(scsicmd) == container) {
scsicmd           979 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd * scsicmd;
scsicmd           983 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd           984 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd           991 drivers/scsi/aacraid/aachba.c 		if (scsicmd->cmnd[2] == 0x83) {
scsicmd           997 drivers/scsi/aacraid/aachba.c 			dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd          1071 drivers/scsi/aacraid/aachba.c 						dev, scsicmd);
scsicmd          1075 drivers/scsi/aacraid/aachba.c 			scsi_sg_copy_from_buffer(scsicmd, &vpdpage83data,
scsicmd          1082 drivers/scsi/aacraid/aachba.c 			sp[1] = scsicmd->cmnd[2];
scsicmd          1086 drivers/scsi/aacraid/aachba.c 			scsi_sg_copy_from_buffer(scsicmd, sp,
scsicmd          1091 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_GOOD;
scsicmd          1094 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          1100 drivers/scsi/aacraid/aachba.c static int aac_get_container_serial(struct scsi_cmnd * scsicmd)
scsicmd          1107 drivers/scsi/aacraid/aachba.c 	dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd          1109 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd          1116 drivers/scsi/aacraid/aachba.c 	dinfo->cid = cpu_to_le32(scmd_id(scsicmd));
scsicmd          1117 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          1125 drivers/scsi/aacraid/aachba.c 		  (void *) scsicmd);
scsicmd          2311 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd *scsicmd;
scsicmd          2314 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd          2316 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd          2320 drivers/scsi/aacraid/aachba.c 	cid = scmd_id(scsicmd);
scsicmd          2324 drivers/scsi/aacraid/aachba.c 		switch (scsicmd->cmnd[0]) {
scsicmd          2327 drivers/scsi/aacraid/aachba.c 			lba = ((scsicmd->cmnd[1] & 0x1F) << 16) |
scsicmd          2328 drivers/scsi/aacraid/aachba.c 			    (scsicmd->cmnd[2] << 8) | scsicmd->cmnd[3];
scsicmd          2332 drivers/scsi/aacraid/aachba.c 			lba = ((u64)scsicmd->cmnd[2] << 56) |
scsicmd          2333 drivers/scsi/aacraid/aachba.c 			      ((u64)scsicmd->cmnd[3] << 48) |
scsicmd          2334 drivers/scsi/aacraid/aachba.c 			      ((u64)scsicmd->cmnd[4] << 40) |
scsicmd          2335 drivers/scsi/aacraid/aachba.c 			      ((u64)scsicmd->cmnd[5] << 32) |
scsicmd          2336 drivers/scsi/aacraid/aachba.c 			      ((u64)scsicmd->cmnd[6] << 24) |
scsicmd          2337 drivers/scsi/aacraid/aachba.c 			      (scsicmd->cmnd[7] << 16) |
scsicmd          2338 drivers/scsi/aacraid/aachba.c 			      (scsicmd->cmnd[8] << 8) | scsicmd->cmnd[9];
scsicmd          2342 drivers/scsi/aacraid/aachba.c 			lba = ((u64)scsicmd->cmnd[2] << 24) |
scsicmd          2343 drivers/scsi/aacraid/aachba.c 			      (scsicmd->cmnd[3] << 16) |
scsicmd          2344 drivers/scsi/aacraid/aachba.c 			      (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2347 drivers/scsi/aacraid/aachba.c 			lba = ((u64)scsicmd->cmnd[2] << 24) |
scsicmd          2348 drivers/scsi/aacraid/aachba.c 			       (scsicmd->cmnd[3] << 16) |
scsicmd          2349 drivers/scsi/aacraid/aachba.c 			       (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2359 drivers/scsi/aacraid/aachba.c 	scsi_dma_unmap(scsicmd);
scsicmd          2364 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2369 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2373 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2378 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2382 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2391 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2396 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2403 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          2406 drivers/scsi/aacraid/aachba.c static int aac_read(struct scsi_cmnd * scsicmd)
scsicmd          2415 drivers/scsi/aacraid/aachba.c 	dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd          2419 drivers/scsi/aacraid/aachba.c 	switch (scsicmd->cmnd[0]) {
scsicmd          2421 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a read(6) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2423 drivers/scsi/aacraid/aachba.c 		lba = ((scsicmd->cmnd[1] & 0x1F) << 16) |
scsicmd          2424 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[2] << 8) | scsicmd->cmnd[3];
scsicmd          2425 drivers/scsi/aacraid/aachba.c 		count = scsicmd->cmnd[4];
scsicmd          2431 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a read(16) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2433 drivers/scsi/aacraid/aachba.c 		lba =	((u64)scsicmd->cmnd[2] << 56) |
scsicmd          2434 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[3] << 48) |
scsicmd          2435 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[4] << 40) |
scsicmd          2436 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[5] << 32) |
scsicmd          2437 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[6] << 24) |
scsicmd          2438 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[7] << 16) |
scsicmd          2439 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[8] << 8) | scsicmd->cmnd[9];
scsicmd          2440 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[10] << 24) |
scsicmd          2441 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[11] << 16) |
scsicmd          2442 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[12] << 8) | scsicmd->cmnd[13];
scsicmd          2445 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a read(12) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2447 drivers/scsi/aacraid/aachba.c 		lba = ((u64)scsicmd->cmnd[2] << 24) |
scsicmd          2448 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[3] << 16) |
scsicmd          2449 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2450 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[6] << 24) |
scsicmd          2451 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[7] << 16) |
scsicmd          2452 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[8] << 8) | scsicmd->cmnd[9];
scsicmd          2455 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a read(10) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2457 drivers/scsi/aacraid/aachba.c 		lba = ((u64)scsicmd->cmnd[2] << 24) |
scsicmd          2458 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[3] << 16) |
scsicmd          2459 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2460 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
scsicmd          2464 drivers/scsi/aacraid/aachba.c 	if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) {
scsicmd          2465 drivers/scsi/aacraid/aachba.c 		cid = scmd_id(scsicmd);
scsicmd          2467 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2472 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2475 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          2481 drivers/scsi/aacraid/aachba.c 	if (aac_adapter_bounds(dev,scsicmd,lba))
scsicmd          2486 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd          2487 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          2488 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_read(cmd_fibcontext, scsicmd, lba, count);
scsicmd          2500 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_TASK_SET_FULL;
scsicmd          2501 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          2507 drivers/scsi/aacraid/aachba.c static int aac_write(struct scsi_cmnd * scsicmd)
scsicmd          2517 drivers/scsi/aacraid/aachba.c 	dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd          2521 drivers/scsi/aacraid/aachba.c 	if (scsicmd->cmnd[0] == WRITE_6)	/* 6 byte command */
scsicmd          2523 drivers/scsi/aacraid/aachba.c 		lba = ((scsicmd->cmnd[1] & 0x1F) << 16) | (scsicmd->cmnd[2] << 8) | scsicmd->cmnd[3];
scsicmd          2524 drivers/scsi/aacraid/aachba.c 		count = scsicmd->cmnd[4];
scsicmd          2528 drivers/scsi/aacraid/aachba.c 	} else if (scsicmd->cmnd[0] == WRITE_16) { /* 16 byte command */
scsicmd          2529 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a write(16) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2531 drivers/scsi/aacraid/aachba.c 		lba =	((u64)scsicmd->cmnd[2] << 56) |
scsicmd          2532 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[3] << 48) |
scsicmd          2533 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[4] << 40) |
scsicmd          2534 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[5] << 32) |
scsicmd          2535 drivers/scsi/aacraid/aachba.c 			((u64)scsicmd->cmnd[6] << 24) |
scsicmd          2536 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[7] << 16) |
scsicmd          2537 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[8] << 8) | scsicmd->cmnd[9];
scsicmd          2538 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[10] << 24) | (scsicmd->cmnd[11] << 16) |
scsicmd          2539 drivers/scsi/aacraid/aachba.c 			(scsicmd->cmnd[12] << 8) | scsicmd->cmnd[13];
scsicmd          2540 drivers/scsi/aacraid/aachba.c 		fua = scsicmd->cmnd[1] & 0x8;
scsicmd          2541 drivers/scsi/aacraid/aachba.c 	} else if (scsicmd->cmnd[0] == WRITE_12) { /* 12 byte command */
scsicmd          2542 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a write(12) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2544 drivers/scsi/aacraid/aachba.c 		lba = ((u64)scsicmd->cmnd[2] << 24) | (scsicmd->cmnd[3] << 16)
scsicmd          2545 drivers/scsi/aacraid/aachba.c 		    | (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2546 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[6] << 24) | (scsicmd->cmnd[7] << 16)
scsicmd          2547 drivers/scsi/aacraid/aachba.c 		      | (scsicmd->cmnd[8] << 8) | scsicmd->cmnd[9];
scsicmd          2548 drivers/scsi/aacraid/aachba.c 		fua = scsicmd->cmnd[1] & 0x8;
scsicmd          2550 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_DEBUG "aachba: received a write(10) command on id %d.\n", scmd_id(scsicmd)));
scsicmd          2551 drivers/scsi/aacraid/aachba.c 		lba = ((u64)scsicmd->cmnd[2] << 24) | (scsicmd->cmnd[3] << 16) | (scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2552 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
scsicmd          2553 drivers/scsi/aacraid/aachba.c 		fua = scsicmd->cmnd[1] & 0x8;
scsicmd          2556 drivers/scsi/aacraid/aachba.c 	if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) {
scsicmd          2557 drivers/scsi/aacraid/aachba.c 		cid = scmd_id(scsicmd);
scsicmd          2559 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2564 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2567 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          2573 drivers/scsi/aacraid/aachba.c 	if (aac_adapter_bounds(dev,scsicmd,lba))
scsicmd          2578 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd          2579 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          2580 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_write(cmd_fibcontext, scsicmd, lba, count, fua);
scsicmd          2592 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_TASK_SET_FULL;
scsicmd          2593 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          2641 drivers/scsi/aacraid/aachba.c static int aac_synchronize(struct scsi_cmnd *scsicmd)
scsicmd          2647 drivers/scsi/aacraid/aachba.c 	struct scsi_device *sdev = scsicmd->device;
scsicmd          2650 drivers/scsi/aacraid/aachba.c 	u64 lba = ((u64)scsicmd->cmnd[2] << 24) | (scsicmd->cmnd[3] << 16) |
scsicmd          2651 drivers/scsi/aacraid/aachba.c 		(scsicmd->cmnd[4] << 8) | scsicmd->cmnd[5];
scsicmd          2652 drivers/scsi/aacraid/aachba.c 	u32 count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
scsicmd          2733 drivers/scsi/aacraid/aachba.c 	synchronizecmd->cid = cpu_to_le32(scmd_id(scsicmd));
scsicmd          2736 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          2747 drivers/scsi/aacraid/aachba.c 		  (void *)scsicmd);
scsicmd          2764 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd *scsicmd = context;
scsicmd          2766 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd          2771 drivers/scsi/aacraid/aachba.c 	scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_GOOD;
scsicmd          2775 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          2778 drivers/scsi/aacraid/aachba.c static int aac_start_stop(struct scsi_cmnd *scsicmd)
scsicmd          2783 drivers/scsi/aacraid/aachba.c 	struct scsi_device *sdev = scsicmd->device;
scsicmd          2788 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2790 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          2800 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(aac, scsicmd);
scsicmd          2808 drivers/scsi/aacraid/aachba.c 	pmcmd->sub = (scsicmd->cmnd[4] & 1) ?
scsicmd          2811 drivers/scsi/aacraid/aachba.c 	pmcmd->parm = (scsicmd->cmnd[1] & 1) ?
scsicmd          2813 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          2824 drivers/scsi/aacraid/aachba.c 		  (void *)scsicmd);
scsicmd          2845 drivers/scsi/aacraid/aachba.c int aac_scsi_cmd(struct scsi_cmnd * scsicmd)
scsicmd          2848 drivers/scsi/aacraid/aachba.c 	struct Scsi_Host *host = scsicmd->device->host;
scsicmd          2859 drivers/scsi/aacraid/aachba.c 	cid = scmd_id(scsicmd);
scsicmd          2861 drivers/scsi/aacraid/aachba.c 		if (scmd_channel(scsicmd) == CONTAINER_CHANNEL) {
scsicmd          2863 drivers/scsi/aacraid/aachba.c 					(scsicmd->device->lun != 0)) {
scsicmd          2864 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_NO_CONNECT << 16;
scsicmd          2875 drivers/scsi/aacraid/aachba.c 				switch (scsicmd->cmnd[0]) {
scsicmd          2879 drivers/scsi/aacraid/aachba.c 					    ((scsicmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16))
scsicmd          2887 drivers/scsi/aacraid/aachba.c 					return _aac_probe_container(scsicmd,
scsicmd          2894 drivers/scsi/aacraid/aachba.c 			bus = aac_logical_to_phys(scmd_channel(scsicmd));
scsicmd          2901 drivers/scsi/aacraid/aachba.c 				return aac_send_hba_fib(scsicmd);
scsicmd          2906 drivers/scsi/aacraid/aachba.c 				return aac_send_srb_fib(scsicmd);
scsicmd          2908 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_NO_CONNECT << 16;
scsicmd          2916 drivers/scsi/aacraid/aachba.c 	else if ((scsicmd->cmnd[0] != INQUIRY) &&	/* only INQUIRY & TUR cmnd supported for controller */
scsicmd          2917 drivers/scsi/aacraid/aachba.c 		(scsicmd->cmnd[0] != TEST_UNIT_READY))
scsicmd          2919 drivers/scsi/aacraid/aachba.c 		dprintk((KERN_WARNING "Only INQUIRY & TUR command supported for controller, rcvd = 0x%x.\n", scsicmd->cmnd[0]));
scsicmd          2920 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | SAM_STAT_CHECK_CONDITION;
scsicmd          2924 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          2930 drivers/scsi/aacraid/aachba.c 	switch (scsicmd->cmnd[0]) {
scsicmd          2937 drivers/scsi/aacraid/aachba.c 		return aac_read(scsicmd);
scsicmd          2945 drivers/scsi/aacraid/aachba.c 		return aac_write(scsicmd);
scsicmd          2949 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          2955 drivers/scsi/aacraid/aachba.c 			return aac_synchronize(scsicmd);
scsicmd          2964 drivers/scsi/aacraid/aachba.c 		if ((scsicmd->cmnd[1] & 0x1) && aac_wwn) {
scsicmd          2968 drivers/scsi/aacraid/aachba.c 			arr[0] = (scmd_id(scsicmd) == host->this_id) ?
scsicmd          2970 drivers/scsi/aacraid/aachba.c 			if (scsicmd->cmnd[2] == 0) {
scsicmd          2976 drivers/scsi/aacraid/aachba.c 				arr[1] = scsicmd->cmnd[2];
scsicmd          2977 drivers/scsi/aacraid/aachba.c 				scsi_sg_copy_from_buffer(scsicmd, &inq_data,
scsicmd          2979 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_OK << 16 |
scsicmd          2982 drivers/scsi/aacraid/aachba.c 			} else if (scsicmd->cmnd[2] == 0x80) {
scsicmd          2985 drivers/scsi/aacraid/aachba.c 				  scmd_id(scsicmd));
scsicmd          2986 drivers/scsi/aacraid/aachba.c 				arr[1] = scsicmd->cmnd[2];
scsicmd          2987 drivers/scsi/aacraid/aachba.c 				scsi_sg_copy_from_buffer(scsicmd, &inq_data,
scsicmd          2991 drivers/scsi/aacraid/aachba.c 						scsicmd);
scsicmd          2992 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_OK << 16 |
scsicmd          2995 drivers/scsi/aacraid/aachba.c 			} else if (scsicmd->cmnd[2] == 0x83) {
scsicmd          2999 drivers/scsi/aacraid/aachba.c 						      scmd_id(scsicmd));
scsicmd          3002 drivers/scsi/aacraid/aachba.c 						scsicmd);
scsicmd          3003 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_OK << 16 |
scsicmd          3008 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_OK << 16 |
scsicmd          3014 drivers/scsi/aacraid/aachba.c 				memcpy(scsicmd->sense_buffer,
scsicmd          3034 drivers/scsi/aacraid/aachba.c 			scsi_sg_copy_from_buffer(scsicmd, &inq_data,
scsicmd          3036 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3044 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd, &inq_data, sizeof(inq_data));
scsicmd          3045 drivers/scsi/aacraid/aachba.c 		return aac_get_container_name(scsicmd);
scsicmd          3050 drivers/scsi/aacraid/aachba.c 		    ((scsicmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16))
scsicmd          3073 drivers/scsi/aacraid/aachba.c 		alloc_len = ((scsicmd->cmnd[10] << 24)
scsicmd          3074 drivers/scsi/aacraid/aachba.c 			     + (scsicmd->cmnd[11] << 16)
scsicmd          3075 drivers/scsi/aacraid/aachba.c 			     + (scsicmd->cmnd[12] << 8) + scsicmd->cmnd[13]);
scsicmd          3078 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd, cp, alloc_len);
scsicmd          3079 drivers/scsi/aacraid/aachba.c 		if (alloc_len < scsi_bufflen(scsicmd))
scsicmd          3080 drivers/scsi/aacraid/aachba.c 			scsi_set_resid(scsicmd,
scsicmd          3081 drivers/scsi/aacraid/aachba.c 				       scsi_bufflen(scsicmd) - alloc_len);
scsicmd          3084 drivers/scsi/aacraid/aachba.c 		scsicmd->device->removable = 1;
scsicmd          3086 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3110 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd, cp, sizeof(cp));
scsicmd          3112 drivers/scsi/aacraid/aachba.c 		scsicmd->device->removable = 1;
scsicmd          3113 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3143 drivers/scsi/aacraid/aachba.c 		if (scsicmd->cmnd[1] & 0x8)
scsicmd          3155 drivers/scsi/aacraid/aachba.c 			mpd.mpc_buf[0] = scsicmd->cmnd[2];
scsicmd          3156 drivers/scsi/aacraid/aachba.c 			if (scsicmd->cmnd[2] == 0x1C) {
scsicmd          3176 drivers/scsi/aacraid/aachba.c 		if (((scsicmd->cmnd[2] & 0x3f) == 8) ||
scsicmd          3177 drivers/scsi/aacraid/aachba.c 		  ((scsicmd->cmnd[2] & 0x3f) == 0x3f)) {
scsicmd          3186 drivers/scsi/aacraid/aachba.c 		if (mode_buf_length > scsicmd->cmnd[4])
scsicmd          3187 drivers/scsi/aacraid/aachba.c 			mode_buf_length = scsicmd->cmnd[4];
scsicmd          3190 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd,
scsicmd          3193 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3225 drivers/scsi/aacraid/aachba.c 		if (scsicmd->cmnd[1] & 0x8) {
scsicmd          3256 drivers/scsi/aacraid/aachba.c 		if (((scsicmd->cmnd[2] & 0x3f) == 8) ||
scsicmd          3257 drivers/scsi/aacraid/aachba.c 		  ((scsicmd->cmnd[2] & 0x3f) == 0x3f)) {
scsicmd          3264 drivers/scsi/aacraid/aachba.c 			if (mode_buf_length > scsicmd->cmnd[8])
scsicmd          3265 drivers/scsi/aacraid/aachba.c 				mode_buf_length = scsicmd->cmnd[8];
scsicmd          3267 drivers/scsi/aacraid/aachba.c 		scsi_sg_copy_from_buffer(scsicmd,
scsicmd          3271 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3277 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          3281 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3287 drivers/scsi/aacraid/aachba.c 		if (scsicmd->cmnd[4])
scsicmd          3292 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3300 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3305 drivers/scsi/aacraid/aachba.c 			memcpy(scsicmd->sense_buffer,
scsicmd          3318 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3323 drivers/scsi/aacraid/aachba.c 		return aac_start_stop(scsicmd);
scsicmd          3331 drivers/scsi/aacraid/aachba.c 				scsicmd->cmnd[0]));
scsicmd          3332 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8 |
scsicmd          3337 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data,
scsicmd          3345 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          3473 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd *scsicmd;
scsicmd          3475 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd          3477 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd          3484 drivers/scsi/aacraid/aachba.c 	scsicmd->sense_buffer[0] = '\0';  /* Initialize sense valid flag to false */
scsicmd          3494 drivers/scsi/aacraid/aachba.c 		scsi_set_resid(scsicmd, scsi_bufflen(scsicmd)
scsicmd          3499 drivers/scsi/aacraid/aachba.c 	scsi_dma_unmap(scsicmd);
scsicmd          3502 drivers/scsi/aacraid/aachba.c 	if (scsicmd->cmnd[0] == INQUIRY && !(scsicmd->cmnd[1] & 0x01)
scsicmd          3504 drivers/scsi/aacraid/aachba.c 		aac_expose_phy_device(scsicmd);
scsicmd          3517 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16
scsicmd          3520 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer,
scsicmd          3531 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3534 drivers/scsi/aacraid/aachba.c 		switch (scsicmd->cmnd[0]) {
scsicmd          3544 drivers/scsi/aacraid/aachba.c 						< scsicmd->underflow)
scsicmd          3548 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_ERROR << 16
scsicmd          3552 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_OK << 16
scsicmd          3556 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3561 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ABORT << 16 | ABORT << 8;
scsicmd          3568 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16 | ABORT << 8;
scsicmd          3571 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_PARITY << 16
scsicmd          3579 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16
scsicmd          3585 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_TIME_OUT << 16
scsicmd          3590 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_BUS_BUSY << 16
scsicmd          3595 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_RESET << 16
scsicmd          3600 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16
scsicmd          3623 drivers/scsi/aacraid/aachba.c 			scsicmd->cmnd[0],
scsicmd          3633 drivers/scsi/aacraid/aachba.c 		if ((scsicmd->cmnd[0] == ATA_12)
scsicmd          3634 drivers/scsi/aacraid/aachba.c 			|| (scsicmd->cmnd[0] == ATA_16)) {
scsicmd          3636 drivers/scsi/aacraid/aachba.c 			if (scsicmd->cmnd[2] & (0x01 << 5)) {
scsicmd          3637 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_OK << 16
scsicmd          3641 drivers/scsi/aacraid/aachba.c 				scsicmd->result = DID_ERROR << 16
scsicmd          3646 drivers/scsi/aacraid/aachba.c 			scsicmd->result = DID_ERROR << 16
scsicmd          3655 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= SAM_STAT_CHECK_CONDITION;
scsicmd          3662 drivers/scsi/aacraid/aachba.c 		memcpy(scsicmd->sense_buffer,
scsicmd          3669 drivers/scsi/aacraid/aachba.c 	scsicmd->result |= le32_to_cpu(srbreply->scsi_status);
scsicmd          3672 drivers/scsi/aacraid/aachba.c 	scsicmd->scsi_done(scsicmd);
scsicmd          3676 drivers/scsi/aacraid/aachba.c 					struct scsi_cmnd *scsicmd,
scsicmd          3679 drivers/scsi/aacraid/aachba.c 	scsicmd->result = err->status;
scsicmd          3681 drivers/scsi/aacraid/aachba.c 	scsi_set_resid(scsicmd, le32_to_cpu(err->residual_count));
scsicmd          3685 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3694 drivers/scsi/aacraid/aachba.c 			memcpy(scsicmd->sense_buffer,
scsicmd          3696 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3700 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= DID_BUS_BUSY << 16 | COMMAND_COMPLETE << 8;
scsicmd          3703 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= DID_ABORT << 16 | ABORT << 8;
scsicmd          3708 drivers/scsi/aacraid/aachba.c 		scsicmd->result |= DID_ERROR << 16 | COMMAND_COMPLETE << 8;
scsicmd          3714 drivers/scsi/aacraid/aachba.c 					struct scsi_cmnd *scsicmd,
scsicmd          3722 drivers/scsi/aacraid/aachba.c 		bus = aac_logical_to_phys(scmd_channel(scsicmd));
scsicmd          3723 drivers/scsi/aacraid/aachba.c 		cid = scmd_id(scsicmd);
scsicmd          3728 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16 | COMMAND_COMPLETE << 8;
scsicmd          3733 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 |
scsicmd          3737 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ABORT << 16 | ABORT << 8;
scsicmd          3740 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16 | COMMAND_COMPLETE << 8;
scsicmd          3744 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3748 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16 | COMMAND_COMPLETE << 8;
scsicmd          3765 drivers/scsi/aacraid/aachba.c 	struct scsi_cmnd *scsicmd;
scsicmd          3770 drivers/scsi/aacraid/aachba.c 	scsicmd = (struct scsi_cmnd *) context;
scsicmd          3772 drivers/scsi/aacraid/aachba.c 	if (!aac_valid_context(scsicmd, fibptr))
scsicmd          3779 drivers/scsi/aacraid/aachba.c 		scsi_dma_unmap(scsicmd);
scsicmd          3783 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3789 drivers/scsi/aacraid/aachba.c 		hba_resp_task_complete(dev, scsicmd, err);
scsicmd          3792 drivers/scsi/aacraid/aachba.c 		hba_resp_task_failure(dev, scsicmd, err);
scsicmd          3795 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16 | MESSAGE_REJECT << 8;
scsicmd          3798 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16 | COMMAND_COMPLETE << 8;
scsicmd          3802 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_OK << 16 | COMMAND_COMPLETE << 8;
scsicmd          3805 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_ERROR << 16 | COMMAND_COMPLETE << 8;
scsicmd          3813 drivers/scsi/aacraid/aachba.c 		scsicmd->SCp.sent_command = 1;
scsicmd          3815 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          3827 drivers/scsi/aacraid/aachba.c static int aac_send_srb_fib(struct scsi_cmnd* scsicmd)
scsicmd          3833 drivers/scsi/aacraid/aachba.c 	dev = (struct aac_dev *)scsicmd->device->host->hostdata;
scsicmd          3834 drivers/scsi/aacraid/aachba.c 	if (scmd_id(scsicmd) >= dev->maximum_num_physicals ||
scsicmd          3835 drivers/scsi/aacraid/aachba.c 			scsicmd->device->lun > 7) {
scsicmd          3836 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16;
scsicmd          3837 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          3844 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd          3845 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          3846 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_scsi(cmd_fibcontext, scsicmd);
scsicmd          3869 drivers/scsi/aacraid/aachba.c static int aac_send_hba_fib(struct scsi_cmnd *scsicmd)
scsicmd          3875 drivers/scsi/aacraid/aachba.c 	dev = shost_priv(scsicmd->device->host);
scsicmd          3876 drivers/scsi/aacraid/aachba.c 	if (scmd_id(scsicmd) >= dev->maximum_num_physicals ||
scsicmd          3877 drivers/scsi/aacraid/aachba.c 			scsicmd->device->lun > AAC_MAX_LUN - 1) {
scsicmd          3878 drivers/scsi/aacraid/aachba.c 		scsicmd->result = DID_NO_CONNECT << 16;
scsicmd          3879 drivers/scsi/aacraid/aachba.c 		scsicmd->scsi_done(scsicmd);
scsicmd          3886 drivers/scsi/aacraid/aachba.c 	cmd_fibcontext = aac_fib_alloc_tag(dev, scsicmd);
scsicmd          3890 drivers/scsi/aacraid/aachba.c 	scsicmd->SCp.phase = AAC_OWNER_FIRMWARE;
scsicmd          3891 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_hba(cmd_fibcontext, scsicmd);
scsicmd          3908 drivers/scsi/aacraid/aachba.c static long aac_build_sg(struct scsi_cmnd *scsicmd, struct sgmap *psg)
scsicmd          3920 drivers/scsi/aacraid/aachba.c 	nseg = scsi_dma_map(scsicmd);
scsicmd          3926 drivers/scsi/aacraid/aachba.c 	scsi_for_each_sg(scsicmd, sg, nseg, i) {
scsicmd          3932 drivers/scsi/aacraid/aachba.c 	if (byte_count > scsi_bufflen(scsicmd)) {
scsicmd          3934 drivers/scsi/aacraid/aachba.c 			(byte_count - scsi_bufflen(scsicmd));
scsicmd          3936 drivers/scsi/aacraid/aachba.c 		byte_count = scsi_bufflen(scsicmd);
scsicmd          3939 drivers/scsi/aacraid/aachba.c 	if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
scsicmd          3941 drivers/scsi/aacraid/aachba.c 		       byte_count, scsicmd->underflow);
scsicmd          3948 drivers/scsi/aacraid/aachba.c static long aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg)
scsicmd          3962 drivers/scsi/aacraid/aachba.c 	nseg = scsi_dma_map(scsicmd);
scsicmd          3966 drivers/scsi/aacraid/aachba.c 	scsi_for_each_sg(scsicmd, sg, nseg, i) {
scsicmd          3976 drivers/scsi/aacraid/aachba.c 	if (byte_count > scsi_bufflen(scsicmd)) {
scsicmd          3978 drivers/scsi/aacraid/aachba.c 			(byte_count - scsi_bufflen(scsicmd));
scsicmd          3980 drivers/scsi/aacraid/aachba.c 		byte_count = scsi_bufflen(scsicmd);
scsicmd          3983 drivers/scsi/aacraid/aachba.c 	if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
scsicmd          3985 drivers/scsi/aacraid/aachba.c 		       byte_count, scsicmd->underflow);
scsicmd          3991 drivers/scsi/aacraid/aachba.c static long aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg)
scsicmd          4007 drivers/scsi/aacraid/aachba.c 	nseg = scsi_dma_map(scsicmd);
scsicmd          4011 drivers/scsi/aacraid/aachba.c 	scsi_for_each_sg(scsicmd, sg, nseg, i) {
scsicmd          4024 drivers/scsi/aacraid/aachba.c 	if (byte_count > scsi_bufflen(scsicmd)) {
scsicmd          4026 drivers/scsi/aacraid/aachba.c 			(byte_count - scsi_bufflen(scsicmd));
scsicmd          4028 drivers/scsi/aacraid/aachba.c 		byte_count = scsi_bufflen(scsicmd);
scsicmd          4031 drivers/scsi/aacraid/aachba.c 	if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
scsicmd          4033 drivers/scsi/aacraid/aachba.c 		       byte_count, scsicmd->underflow);
scsicmd          4039 drivers/scsi/aacraid/aachba.c static long aac_build_sgraw2(struct scsi_cmnd *scsicmd,
scsicmd          4048 drivers/scsi/aacraid/aachba.c 	nseg = scsi_dma_map(scsicmd);
scsicmd          4052 drivers/scsi/aacraid/aachba.c 	scsi_for_each_sg(scsicmd, sg, nseg, i) {
scsicmd          4077 drivers/scsi/aacraid/aachba.c 	if (byte_count > scsi_bufflen(scsicmd)) {
scsicmd          4079 drivers/scsi/aacraid/aachba.c 			(byte_count - scsi_bufflen(scsicmd));
scsicmd          4081 drivers/scsi/aacraid/aachba.c 		byte_count = scsi_bufflen(scsicmd);
scsicmd          4112 drivers/scsi/aacraid/aachba.c 	if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
scsicmd          4114 drivers/scsi/aacraid/aachba.c 		       byte_count, scsicmd->underflow);
scsicmd          4155 drivers/scsi/aacraid/aachba.c static long aac_build_sghba(struct scsi_cmnd *scsicmd,
scsicmd          4167 drivers/scsi/aacraid/aachba.c 	nseg = scsi_dma_map(scsicmd);
scsicmd          4178 drivers/scsi/aacraid/aachba.c 	scsi_for_each_sg(scsicmd, sg, nseg, i) {
scsicmd          4194 drivers/scsi/aacraid/aachba.c 	if (byte_count > scsi_bufflen(scsicmd)) {
scsicmd          4198 drivers/scsi/aacraid/aachba.c 						- scsi_bufflen(scsicmd);
scsicmd          4200 drivers/scsi/aacraid/aachba.c 		byte_count = scsi_bufflen(scsicmd);
scsicmd          4216 drivers/scsi/aacraid/aachba.c 	if (scsicmd->underflow && (byte_count < scsicmd->underflow)) {
scsicmd          4218 drivers/scsi/aacraid/aachba.c 				byte_count, scsicmd->underflow);
scsicmd           479 drivers/scsi/hisi_sas/hisi_sas_main.c 				scsi_cmnd = qc->scsicmd;
scsicmd           281 drivers/scsi/hpsa.c static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd);
scsicmd          5963 drivers/scsi/hpsa.c static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd)
scsicmd          5974 drivers/scsi/hpsa.c 	h = sdev_to_hba(scsicmd->device);
scsicmd          5987 drivers/scsi/hpsa.c 	dev = scsicmd->device->hostdata;
scsicmd          6003 drivers/scsi/hpsa.c 			 hpsa_get_cmd_index(scsicmd));
scsicmd          6013 drivers/scsi/hpsa.c 			 hpsa_get_cmd_index(scsicmd));
scsicmd            96 drivers/scsi/libsas/sas_ata.c 	else if (qc && qc->scsicmd)
scsicmd            97 drivers/scsi/libsas/sas_ata.c 		ASSIGN_SAS_TASK(qc->scsicmd, NULL);
scsicmd           114 drivers/scsi/libsas/sas_ata.c 		if (qc->scsicmd)
scsicmd           220 drivers/scsi/libsas/sas_ata.c 	if (qc->scsicmd)
scsicmd           221 drivers/scsi/libsas/sas_ata.c 		ASSIGN_SAS_TASK(qc->scsicmd, task);
scsicmd           227 drivers/scsi/libsas/sas_ata.c 		if (qc->scsicmd)
scsicmd           228 drivers/scsi/libsas/sas_ata.c 			ASSIGN_SAS_TASK(qc->scsicmd, NULL);
scsicmd           587 drivers/scsi/libsas/sas_ata.c 	if (qc->scsicmd) {
scsicmd           588 drivers/scsi/libsas/sas_ata.c 		blk_abort_request(qc->scsicmd->request);
scsicmd           368 drivers/staging/unisys/visorhba/visorhba_main.c static int visorhba_abort_handler(struct scsi_cmnd *scsicmd)
scsicmd           375 drivers/staging/unisys/visorhba/visorhba_main.c 	scsidev = scsicmd->device;
scsicmd           383 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->result = DID_ABORT << 16;
scsicmd           384 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->scsi_done(scsicmd);
scsicmd           395 drivers/staging/unisys/visorhba/visorhba_main.c static int visorhba_device_reset_handler(struct scsi_cmnd *scsicmd)
scsicmd           402 drivers/staging/unisys/visorhba/visorhba_main.c 	scsidev = scsicmd->device;
scsicmd           410 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->result = DID_RESET << 16;
scsicmd           411 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->scsi_done(scsicmd);
scsicmd           423 drivers/staging/unisys/visorhba/visorhba_main.c static int visorhba_bus_reset_handler(struct scsi_cmnd *scsicmd)
scsicmd           429 drivers/staging/unisys/visorhba/visorhba_main.c 	scsidev = scsicmd->device;
scsicmd           439 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->result = DID_RESET << 16;
scsicmd           440 drivers/staging/unisys/visorhba/visorhba_main.c 		scsicmd->scsi_done(scsicmd);
scsicmd           451 drivers/staging/unisys/visorhba/visorhba_main.c static int visorhba_host_reset_handler(struct scsi_cmnd *scsicmd)
scsicmd           503 drivers/staging/unisys/visorhba/visorhba_main.c static int visorhba_queue_command_lck(struct scsi_cmnd *scsicmd,
scsicmd           508 drivers/staging/unisys/visorhba/visorhba_main.c 	struct scsi_device *scsidev = scsicmd->device;
scsicmd           510 drivers/staging/unisys/visorhba/visorhba_main.c 	unsigned char *cdb = scsicmd->cmnd;
scsicmd           522 drivers/staging/unisys/visorhba/visorhba_main.c 						(void *)scsicmd);
scsicmd           534 drivers/staging/unisys/visorhba/visorhba_main.c 	scsicmd->scsi_done = visorhba_cmnd_done;
scsicmd           541 drivers/staging/unisys/visorhba/visorhba_main.c 		dma_data_dir_linux_to_spar(scsicmd->sc_data_direction);
scsicmd           543 drivers/staging/unisys/visorhba/visorhba_main.c 	cmdrsp->scsi.bufflen = scsi_bufflen(scsicmd);
scsicmd           549 drivers/staging/unisys/visorhba/visorhba_main.c 	if (scsi_sg_count(scsicmd) > MAX_PHYS_INFO)
scsicmd           554 drivers/staging/unisys/visorhba/visorhba_main.c 	sglist = scsi_sglist(scsicmd);
scsicmd           556 drivers/staging/unisys/visorhba/visorhba_main.c 	for_each_sg(sglist, sg, scsi_sg_count(scsicmd), i) {
scsicmd           560 drivers/staging/unisys/visorhba/visorhba_main.c 	cmdrsp->scsi.guest_phys_entries = scsi_sg_count(scsicmd);
scsicmd           726 drivers/staging/unisys/visorhba/visorhba_main.c 	struct scsi_cmnd *scsicmd = NULL;
scsicmd           741 drivers/staging/unisys/visorhba/visorhba_main.c 			scsicmd = pendingdel->sent;
scsicmd           742 drivers/staging/unisys/visorhba/visorhba_main.c 			scsicmd->result = DID_RESET << 16;
scsicmd           743 drivers/staging/unisys/visorhba/visorhba_main.c 			if (scsicmd->scsi_done)
scsicmd           744 drivers/staging/unisys/visorhba/visorhba_main.c 				scsicmd->scsi_done(scsicmd);
scsicmd           791 drivers/staging/unisys/visorhba/visorhba_main.c 			      struct scsi_cmnd *scsicmd)
scsicmd           796 drivers/staging/unisys/visorhba/visorhba_main.c 	scsidev = scsicmd->device;
scsicmd           797 drivers/staging/unisys/visorhba/visorhba_main.c 	memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE);
scsicmd           838 drivers/staging/unisys/visorhba/visorhba_main.c 				struct scsi_cmnd *scsicmd)
scsicmd           849 drivers/staging/unisys/visorhba/visorhba_main.c 	scsidev = scsicmd->device;
scsicmd           867 drivers/staging/unisys/visorhba/visorhba_main.c 		if (scsi_sg_count(scsicmd) == 0) {
scsicmd           868 drivers/staging/unisys/visorhba/visorhba_main.c 			memcpy(scsi_sglist(scsicmd), buf,
scsicmd           874 drivers/staging/unisys/visorhba/visorhba_main.c 		scsi_for_each_sg(scsicmd, sg, scsi_sg_count(scsicmd), i) {
scsicmd           901 drivers/staging/unisys/visorhba/visorhba_main.c 				  struct scsi_cmnd *scsicmd)
scsicmd           904 drivers/staging/unisys/visorhba/visorhba_main.c 	scsicmd->result = cmdrsp->scsi.linuxstat;
scsicmd           906 drivers/staging/unisys/visorhba/visorhba_main.c 		do_scsi_linuxstat(cmdrsp, scsicmd);
scsicmd           908 drivers/staging/unisys/visorhba/visorhba_main.c 		do_scsi_nolinuxstat(cmdrsp, scsicmd);
scsicmd           910 drivers/staging/unisys/visorhba/visorhba_main.c 	scsicmd->scsi_done(scsicmd);
scsicmd           923 drivers/staging/unisys/visorhba/visorhba_main.c 	struct scsi_cmnd *scsicmd;
scsicmd           935 drivers/staging/unisys/visorhba/visorhba_main.c 			scsicmd = del_scsipending_ent(devdata,
scsicmd           937 drivers/staging/unisys/visorhba/visorhba_main.c 			if (!scsicmd)
scsicmd           940 drivers/staging/unisys/visorhba/visorhba_main.c 			complete_scsi_command(cmdrsp, scsicmd);
scsicmd           617 include/linux/libata.h 	struct scsi_cmnd	*scsicmd;