/Linux-v6.6/drivers/scsi/aacraid/ |
D | aachba.c | 599 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_name() 625 if ((fsa_dev_ptr[scmd_id(scsicmd)].valid & 1)) in aac_probe_container_callback2() 651 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container2() 724 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container1() 764 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container() 791 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container() 985 if (scmd_id(scsicmd) == container) { in build_vpd83_type3() 1134 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_serial() 1206 int cid = scmd_id(cmd); in aac_bounds_32() 1244 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_raw_io() [all …]
|
D | linit.c | 703 cid = scmd_id(cmd); in aac_eh_abort() 925 cid = scmd_id(cmd); in aac_eh_dev_reset() 988 cid = scmd_id(cmd); in aac_eh_target_reset() 1065 cid = scmd_id(cmd); in aac_eh_bus_reset()
|
/Linux-v6.6/drivers/scsi/ |
D | NCR5380.c | 645 cmd, scmd_id(cmd), hostdata->busy[scmd_id(cmd)], cmd->device->lun); in dequeue_next_cmd() 647 if (!(hostdata->busy[scmd_id(cmd)] & (1 << cmd->device->lun))) { in dequeue_next_cmd() 976 (disconnect_mask & BIT(scmd_id(cmd))); in NCR5380_select() 1080 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask | (1 << scmd_id(cmd))); in NCR5380_select() 1129 dsprintk(NDEBUG_SELECTION, instance, "selecting target %d\n", scmd_id(cmd)); in NCR5380_select() 1195 scmd_id(cmd)); in NCR5380_select() 1747 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer() 1824 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() 1827 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer() 1874 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() [all …]
|
D | 53c700.c | 913 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in process_message() 1440 if((hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_start_command() 1456 script_patch_ID(hostdata, hostdata->script, Device_ID, 1<<scmd_id(SCp)); in NCR_700_start_command() 1773 && (!(hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_queuecommand_lck() 1800 && (hostdata->tag_negotiated &(1<<scmd_id(SCp))) == 0 in NCR_700_queuecommand_lck() 1803 hostdata->tag_negotiated |= (1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1814 && (hostdata->tag_negotiated &(1<<scmd_id(SCp)))) { in NCR_700_queuecommand_lck() 1816 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1819 if ((hostdata->tag_negotiated & (1<<scmd_id(SCp))) && in NCR_700_queuecommand_lck()
|
D | qlogicfas408.c | 251 outb(scmd_id(cmd), qbase + 4); in ql_icmd() 474 if (scmd_id(cmd) == priv->qinitid) { in qlogicfas408_queuecommand_lck()
|
D | fdomain.c | 289 outb(BIT(cmd->device->host->this_id) | BIT(scmd_id(cmd)), in fdomain_work() 298 if (fdomain_select(cmd->device->host, scmd_id(cmd))) { in fdomain_work()
|
D | atp870u.c | 644 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() 758 dev->id[c][scmd_id(workreq)].curr_req = workreq; in DEF_SCSI_QCMD() 759 dev->last_cmd[c] = scmd_id(workreq); in DEF_SCSI_QCMD() 783 dev->r1f[c][scmd_id(workreq)] = 0; in DEF_SCSI_QCMD() 795 target_id = scmd_id(workreq); in DEF_SCSI_QCMD()
|
D | ppa.c | 660 printk(KERN_DEBUG "ppa: no device at SCSI ID %i\n", scmd_id(cmd)); in ppa_interrupt() 752 if (!ppa_select(dev, scmd_id(cmd))) { in ppa_engine()
|
D | nsp32.c | 454 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autopara() 586 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autoscsi() 932 if (scmd_id(SCpnt) == SCpnt->device->host->this_id) { in nsp32_queuecommand_lck() 980 target = &data->target[scmd_id(SCpnt)]; in nsp32_queuecommand_lck()
|
D | aha1740.c | 327 unchar target = scmd_id(SCpnt); in aha1740_queuecommand_lck()
|
D | scsi_error.c | 1651 id = scmd_id(scmd); in scsi_eh_target_reset() 1665 if (scmd_id(scmd) != id) in scsi_eh_target_reset()
|
D | imm.c | 808 if (!imm_select(dev, scmd_id(cmd))) { in imm_engine()
|
D | a100u2w.c | 974 return orc_device_reset(host, cmd, scmd_id(cmd)); in inia100_device_reset()
|
D | ncr53c8xx.c | 5342 if (scmd_id(cp->cmd) != target) continue; in ncr_set_sync_wide_status() 5362 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setsync() 5420 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setwide()
|
D | ips.c | 1076 && (scmd_id(SC) == ha->ha_id[scmd_channel(SC)])) { in ips_queue_lck() 2635 1] & (1 << scmd_id(p)))) { in ips_next()
|
/Linux-v6.6/drivers/scsi/pcmcia/ |
D | nsp_cs.c | 195 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() 922 unsigned char target = scmd_id(SCpnt); in nsp_nexus()
|
D | sym53c500_cs.c | 572 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
|
/Linux-v6.6/include/scsi/ |
D | scsi_device.h | 530 #define scmd_id(scmd) sdev_id((scmd)->device) macro
|
/Linux-v6.6/drivers/scsi/libfc/ |
D | fc_fcp.c | 1066 if (id != -1 && scmd_id(sc_cmd) != id) in fc_fcp_cleanup_each_cmd() 2178 rc = fc_lun_reset(lport, fsp, scmd_id(sc_cmd), sc_cmd->device->lun); in fc_eh_device_reset()
|
/Linux-v6.6/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 2109 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd() 2198 && 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)
|