/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
D | aachba.c | 588 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_name() 614 if ((fsa_dev_ptr[scmd_id(scsicmd)].valid & 1)) in aac_probe_container_callback2() 639 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container2() 712 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container1() 751 dinfo->count = cpu_to_le32(scmd_id(scsicmd)); in _aac_probe_container() 778 fsa_dev_ptr += scmd_id(scsicmd); in _aac_probe_container() 971 if (scmd_id(scsicmd) == container) { in build_vpd83_type3() 1120 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_serial() 1192 int cid = scmd_id(cmd); in aac_bounds_32() 1231 dev->fsa_dev[scmd_id(cmd)].block_size); in aac_read_raw_io() [all …]
|
D | linit.c | 692 cid = scmd_id(cmd); in aac_eh_abort() 914 cid = scmd_id(cmd); in aac_eh_dev_reset() 977 cid = scmd_id(cmd); in aac_eh_target_reset() 1054 cid = scmd_id(cmd); in aac_eh_bus_reset()
|
/kernel/linux/linux-5.10/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() 974 (disconnect_mask & BIT(scmd_id(cmd))); in NCR5380_select() 1078 NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask | (1 << scmd_id(cmd))); in NCR5380_select() 1127 dsprintk(NDEBUG_SELECTION, instance, "selecting target %d\n", scmd_id(cmd)); in NCR5380_select() 1193 scmd_id(cmd)); in NCR5380_select() 1740 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer() 1814 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() 1817 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer() 1867 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() [all …]
|
D | 53c700.c | 914 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in process_message() 1441 if((hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_start_command() 1457 script_patch_ID(hostdata, hostdata->script, Device_ID, 1<<scmd_id(SCp)); in NCR_700_start_command() 1776 && (!(hostdata->tag_negotiated & (1<<scmd_id(SCp))) in NCR_700_queuecommand_lck() 1806 && (hostdata->tag_negotiated &(1<<scmd_id(SCp))) == 0 in NCR_700_queuecommand_lck() 1809 hostdata->tag_negotiated |= (1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1820 && (hostdata->tag_negotiated &(1<<scmd_id(SCp)))) { in NCR_700_queuecommand_lck() 1822 hostdata->tag_negotiated &= ~(1<<scmd_id(SCp)); in NCR_700_queuecommand_lck() 1825 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 | fdomain.c | 283 outb(BIT(cmd->device->host->this_id) | BIT(scmd_id(cmd)), in fdomain_work() 292 if (fdomain_select(cmd->device->host, scmd_id(cmd))) { in fdomain_work()
|
D | atp870u.c | 608 m = m << scmd_id(req_p); in atp870u_queuecommand_lck() 723 if (dev->id[c][scmd_id(workreq)].curr_req != NULL) { in DEF_SCSI_QCMD() 729 dev->id[c][scmd_id(workreq)].curr_req = workreq; in DEF_SCSI_QCMD() 730 dev->last_cmd[c] = scmd_id(workreq); in DEF_SCSI_QCMD() 753 dev->r1f[c][scmd_id(workreq)] = 0; in DEF_SCSI_QCMD() 765 target_id = scmd_id(workreq); in DEF_SCSI_QCMD()
|
D | nsp32.c | 447 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autopara() 578 unsigned char target = scmd_id(SCpnt); in nsp32_selection_autoscsi() 919 if (scmd_id(SCpnt) == SCpnt->device->host->this_id) { in nsp32_queuecommand_lck() 974 target = &data->target[scmd_id(SCpnt)]; in nsp32_queuecommand_lck()
|
D | aha1740.c | 319 unchar target = scmd_id(SCpnt); in aha1740_queuecommand_lck()
|
D | scsi_error.c | 1563 id = scmd_id(scmd); in scsi_eh_target_reset() 1577 if (scmd_id(scmd) != id) in scsi_eh_target_reset()
|
D | ppa.c | 723 if (!ppa_select(dev, scmd_id(cmd))) { in ppa_engine()
|
D | a100u2w.c | 977 return orc_device_reset(host, cmd, scmd_id(cmd)); in inia100_device_reset()
|
D | imm.c | 807 if (!imm_select(dev, scmd_id(cmd))) { in imm_engine()
|
D | ncr53c8xx.c | 5504 if (scmd_id(cp->cmd) != target) continue; in ncr_set_sync_wide_status() 5528 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setsync() 5586 BUG_ON(target != (scmd_id(cmd) & 0xf)); in ncr_setwide()
|
D | ips.c | 1077 && (scmd_id(SC) == ha->ha_id[scmd_channel(SC)])) { in ips_queue_lck() 2632 1] & (1 << scmd_id(p)))) { in ips_next()
|
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/ |
D | nsp_cs.c | 191 unsigned char target = scmd_id(SCpnt); in nsp_queuecommand_lck() 367 unsigned char target = scmd_id(SCpnt); in nsphw_start_selection() 446 unsigned char target = scmd_id(SCpnt); in nsp_analyze_sdtr() 672 if (scmd_id(SCpnt) != target) { in nsp_reselected() 915 unsigned char target = scmd_id(SCpnt); in nsp_nexus()
|
D | sym53c500_cs.c | 566 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_device.h | 493 #define scmd_id(scmd) sdev_id((scmd)->device) macro
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
D | fc_fcp.c | 1076 if (id != -1 && scmd_id(sc_cmd) != id) in fc_fcp_cleanup_each_cmd() 2191 rc = fc_lun_reset(lport, fsp, scmd_id(sc_cmd), sc_cmd->device->lun); in fc_eh_device_reset()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 2111 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd() 2200 && 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)
|