/linux-4.4.14/drivers/scsi/aacraid/ |
D | aachba.c | 568 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_name() 597 if ((fsa_dev_ptr[scmd_id(scsicmd)].valid & 1)) in aac_probe_container_callback2() 619 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container2() 687 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container1() 727 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container() 754 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container() 1051 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_serial() 1125 int cid = scmd_id(cmd); in aac_bounds_32() 1162 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_raw_io() 1163 readcmd2->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | 53c700.c | 901 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in process_message() 1431 if((hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_start_command() 1449 Device_ID, 1<<scmd_id(SCp)); in NCR_700_start_command() 1773 && (!(hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_queuecommand_lck() 1803 && (hostdata->tag_negotiated &(1<<scmd_id(SCp))) == 0 in NCR_700_queuecommand_lck() 1806 hostdata->tag_negotiated |= (1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1817 && (hostdata->tag_negotiated &(1<<scmd_id(SCp)))) { in NCR_700_queuecommand_lck() 1819 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1822 if ((hostdata->tag_negotiated & (1<<scmd_id(SCp))) && in NCR_700_queuecommand_lck()
|
D | qlogicfas408.c | 246 outb(scmd_id(cmd), qbase + 4); in ql_icmd() 446 if (scmd_id(cmd) == priv->qinitid) { in qlogicfas408_queuecommand_lck()
|
D | atari_NCR5380.c | 315 if (hostdata->TagAlloc[scmd_id(cmd)][lun].nr_allocated >= in is_lun_busy() 316 hostdata->TagAlloc[scmd_id(cmd)][lun].queue_size) { in is_lun_busy() 346 struct tag_alloc *ta = &hostdata->TagAlloc[scmd_id(cmd)][lun]; in cmd_get_tag() 376 struct tag_alloc *ta = &hostdata->TagAlloc[scmd_id(cmd)][lun]; in cmd_free_tag() 998 tmp, scmd_id(tmp), hostdata->busy[scmd_id(tmp)], in NCR5380_main() 2182 struct tag_alloc *ta = &hostdata->TagAlloc[scmd_id(cmd)][cmd->device->lun]; in NCR5380_information_transfer()
|
D | u14-34f.c | 1817 && HD(j)->target_redo[scmd_id(SCpnt)][scmd_channel(SCpnt)]) in ihdlr() 1830 HD(j)->target_redo[scmd_id(SCpnt)][scmd_channel(SCpnt)] = FALSE; in ihdlr() 1840 HD(j)->target_to[scmd_id(SCpnt)][scmd_channel(SCpnt)] = 0; in ihdlr() 1847 if (HD(j)->target_to[scmd_id(SCpnt)][scmd_channel(SCpnt)] > 1) in ihdlr() 1851 HD(j)->target_to[scmd_id(SCpnt)][scmd_channel(SCpnt)]++; in ihdlr()
|
D | NCR5380.c | 1297 NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << scmd_id(cmd)))); in NCR5380_select() 1342 dprintk(NDEBUG_SELECTION, "scsi%d : selecting target %d\n", instance->host_no, scmd_id(cmd)); in NCR5380_select() 1395 if (hostdata->targets_present & (1 << scmd_id(cmd))) { in NCR5380_select() 1410 hostdata->targets_present |= (1 << scmd_id(cmd)); in NCR5380_select()
|
D | fdomain.c | 1186 outb(adapter_mask | (1 << scmd_id(current_SC)), port_base + SCSI_Data_NoACK); in do_fdomain_16x0_intr() 1198 if (fdomain_select( scmd_id(current_SC) )) { in do_fdomain_16x0_intr()
|
D | atp870u.c | 633 m = m << scmd_id(req_p); in atp870u_queuecommand_lck() 752 if (dev->id[c][scmd_id(workreq)].curr_req == NULL) { in DEF_SCSI_QCMD() 753 dev->id[c][scmd_id(workreq)].curr_req = workreq; in DEF_SCSI_QCMD() 754 dev->last_cmd[c] = scmd_id(workreq); in DEF_SCSI_QCMD() 792 dev->r1f[c][scmd_id(workreq)] = 0; in DEF_SCSI_QCMD() 805 target_id = scmd_id(workreq); in DEF_SCSI_QCMD()
|
D | nsp32.c | 459 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autopara() 590 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autoscsi() 931 if (scmd_id(SCpnt) == SCpnt->device->host->this_id) { in nsp32_queuecommand_lck() 986 target = &data->target[scmd_id(SCpnt)]; in nsp32_queuecommand_lck()
|
D | aha1740.c | 318 unchar target = scmd_id(SCpnt); in aha1740_queuecommand_lck()
|
D | NCR53c406a.c | 717 outb(scmd_id(SCpnt), DEST_ID); /* set destination */ in NCR53c406a_queue_lck()
|
D | sym53c416.c | 751 outb(scmd_id(SCpnt), base + DEST_BUS_ID); /* Set scsi id target */ in sym53c416_queuecommand_lck()
|
D | scsi_error.c | 1550 id = scmd_id(scmd); in scsi_eh_target_reset() 1564 if (scmd_id(scmd) != id) in scsi_eh_target_reset()
|
D | ppa.c | 721 if (!ppa_select(dev, scmd_id(cmd))) { in ppa_engine()
|
D | imm.c | 804 if (!imm_select(dev, scmd_id(cmd))) { in imm_engine()
|
D | a100u2w.c | 977 return orc_device_reset(host, cmd, scmd_id(cmd)); in inia100_device_reset()
|
D | ncr53c8xx.c | 5513 if (scmd_id(cp->cmd) != target) continue; in ncr_set_sync_wide_status() 5537 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setsync() 5595 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setwide()
|
D | ips.c | 1085 && (scmd_id(SC) == ha->ha_id[scmd_channel(SC)])) { in ips_queue_lck() 2648 1] & (1 << scmd_id(p)))) { in ips_next()
|
/linux-4.4.14/drivers/scsi/pcmcia/ |
D | nsp_cs.c | 192 unsigned char target = scmd_id(SCpnt); in nsp_queuecommand_lck() 368 unsigned char target = scmd_id(SCpnt); in nsphw_start_selection() 447 unsigned char target = scmd_id(SCpnt); in nsp_analyze_sdtr() 673 if (scmd_id(SCpnt) != target) { in nsp_reselected() 916 unsigned char target = scmd_id(SCpnt); in nsp_nexus()
|
D | sym53c500_cs.c | 575 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
|
/linux-4.4.14/include/scsi/ |
D | scsi_device.h | 442 #define scmd_id(scmd) sdev_id((scmd)->device) macro
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_fcp.c | 1033 if (id != -1 && scmd_id(sc_cmd) != id) in fc_fcp_cleanup_each_cmd() 2122 rc = fc_lun_reset(lport, fsp, scmd_id(sc_cmd), sc_cmd->device->lun); in fc_eh_device_reset()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 2130 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd() 2219 && SCSIID_TARGET(ahc, saved_scsiid) == scmd_id(cmd)))) { in ahc_linux_queue_recovery_cmd()
|
D | aic79xx_osm.c | 545 (((scmd_id(cmd) << TID_SHIFT) & TID) | (ahd)->our_id)
|