Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/aacraid/
Daachba.c599 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 …]
Dlinit.c693 cid = scmd_id(cmd); in aac_eh_abort()
915 cid = scmd_id(cmd); in aac_eh_dev_reset()
978 cid = scmd_id(cmd); in aac_eh_target_reset()
1055 cid = scmd_id(cmd); in aac_eh_bus_reset()
/linux-6.6.21/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()
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 …]
D53c700.c913 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()
Dqlogicfas408.c251 outb(scmd_id(cmd), qbase + 4); in ql_icmd()
474 if (scmd_id(cmd) == priv->qinitid) { in qlogicfas408_queuecommand_lck()
Dfdomain.c289 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()
Datp870u.c644 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()
Dppa.c660 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()
Dnsp32.c454 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()
Daha1740.c327 unchar target = scmd_id(SCpnt); in aha1740_queuecommand_lck()
Dscsi_error.c1653 id = scmd_id(scmd); in scsi_eh_target_reset()
1667 if (scmd_id(scmd) != id) in scsi_eh_target_reset()
Dimm.c808 if (!imm_select(dev, scmd_id(cmd))) { in imm_engine()
Da100u2w.c974 return orc_device_reset(host, cmd, scmd_id(cmd)); in inia100_device_reset()
Dncr53c8xx.c5342 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()
Dips.c1076 && (scmd_id(SC) == ha->ha_id[scmd_channel(SC)])) { in ips_queue_lck()
2635 1] & (1 << scmd_id(p)))) { in ips_next()
/linux-6.6.21/drivers/scsi/pcmcia/
Dnsp_cs.c195 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()
Dsym53c500_cs.c572 outb(scmd_id(SCpnt), port_base + DEST_ID); /* set destination */ in SYM53C500_queue_lck()
/linux-6.6.21/include/scsi/
Dscsi_device.h533 #define scmd_id(scmd) sdev_id((scmd)->device) macro
/linux-6.6.21/drivers/scsi/libfc/
Dfc_fcp.c1071 if (id != -1 && scmd_id(sc_cmd) != id) in fc_fcp_cleanup_each_cmd()
2184 rc = fc_lun_reset(lport, fsp, scmd_id(sc_cmd), sc_cmd->device->lun); in fc_eh_device_reset()
/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7xxx_osm.c2109 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()
Daic79xx_osm.c545 (((scmd_id(cmd) << TID_SHIFT) & TID) | (ahd)->our_id)