Home
last modified time | relevance | path

Searched refs:scmd_id (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Daachba.c588 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 …]
Dlinit.c692 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/
DNCR5380.c645 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 …]
D53c700.c914 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()
Dqlogicfas408.c246 outb(scmd_id(cmd), qbase + 4); in ql_icmd()
446 if (scmd_id(cmd) == priv->qinitid) { in qlogicfas408_queuecommand_lck()
Dfdomain.c283 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()
Datp870u.c608 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()
Dnsp32.c447 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()
Daha1740.c319 unchar target = scmd_id(SCpnt); in aha1740_queuecommand_lck()
Dscsi_error.c1563 id = scmd_id(scmd); in scsi_eh_target_reset()
1577 if (scmd_id(scmd) != id) in scsi_eh_target_reset()
Dppa.c723 if (!ppa_select(dev, scmd_id(cmd))) { in ppa_engine()
Da100u2w.c977 return orc_device_reset(host, cmd, scmd_id(cmd)); in inia100_device_reset()
Dimm.c807 if (!imm_select(dev, scmd_id(cmd))) { in imm_engine()
Dncr53c8xx.c5504 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()
Dips.c1077 && (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/
Dnsp_cs.c191 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()
Dsym53c500_cs.c566 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h493 #define scmd_id(scmd) sdev_id((scmd)->device) macro
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_fcp.c1076 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/
Daic7xxx_osm.c2111 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()
Daic79xx_osm.c545 (((scmd_id(cmd) << TID_SHIFT) & TID) | (ahd)->our_id)