Home
last modified time | relevance | path

Searched refs:a_target (Results 1 – 25 of 28) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/scsi/
H A Dscsi_address.h99 ushort_t a_target; /* ua target */ member
106 #define a_target a.spi.a_target macro
/titanic_50/usr/src/uts/common/io/
H A Demul64_bsd.c371 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in bsd_scsi_inquiry()
441 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
453 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
465 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
477 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
491 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
505 pkt->pkt_address.a_target, pkt->pkt_address.a_lun, in bsd_scsi_io()
668 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in bsd_mode_sense_dad_mode_geometry()
845 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in bsd_mode_sense_dad_mode_format()
932 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in bsd_scsi_read_capacity_8()
[all …]
H A Demul64.c540 tgt = find_tgt(emul64, sd->sd_address.a_target, sd->sd_address.a_lun); in emul64_tran_tgt_init()
548 sd->sd_address.a_target, sd->sd_address.a_lun); in emul64_tran_tgt_init()
779 emul64->nt_total_sectors[ap->a_target][ap->a_lun] = value; in emul64_scsi_setcap()
1099 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in emul64_error_inject()
1339 pkt->pkt_address.a_target, pkt->pkt_address.a_lun); in emul64_pkt_comp()
1634 ap->a_target, ap->a_lun); in emul64_debug_dump_cdb()
/titanic_50/usr/src/uts/common/sys/dktp/
H A Dcmdev.h35 #define CMDEV_TARG(devp) (devp)->sd_address.a_target
/titanic_50/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c1644 if ((ap->a_target >= NTARGETS_WIDE) || in scsi_check_ss2_LUN_limit()
1654 ap->a_target, ap->a_lun); in scsi_check_ss2_LUN_limit()
1675 if (tgt_list[i] == ap->a_target) { in scsi_check_ss2_LUN_limit()
1690 ap->a_target, ap->a_lun); in scsi_check_ss2_LUN_limit()
1727 (ap->a_target >= NTARGETS_WIDE) || in scsi_establish_LUN_limit()
1742 "SCSI-2 PROCESSOR?\n", ap->a_target, ap->a_lun); in scsi_establish_LUN_limit()
1812 scsi_update_parent_ss2_prop(devi, ap->a_target, bad_target_found); in scsi_establish_LUN_limit()
/titanic_50/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h92 #define SADR2CHNO(ap) (((ap)->a_target > 1) ? 1 : 0)
/titanic_50/usr/src/uts/intel/io/amr/
H A Damr.c1480 ushort_t target = sd->sd_address.a_target; in amr_tran_tgt_init()
1504 cdbp->scc_cmd, ap->a_target, ap->a_lun)); in amr_tran_start()
1507 if ((ap->a_lun != 0) || (ap->a_target >= AMR_MAXLD) || in amr_tran_start()
1508 (softs->logic_drive[ap->a_target].al_state == in amr_tran_start()
1527 amr_rw_command(softs, pkt, ap->a_target); in amr_tran_start()
1610 capacity = softs->logic_drive[ap->a_target].al_size - 1; in amr_tran_start()
1635 capacity = softs->logic_drive[ap->a_target].al_size - 1; in amr_tran_start()
1802 return (softs->logic_drive[ap->a_target].al_size); in amr_tran_getcap()
1852 if ((ap->a_lun != 0)||(ap->a_target >= AMR_MAXLD)|| in amr_tran_init_pkt()
1853 (softs->logic_drive[ap->a_target].al_state == in amr_tran_init_pkt()
/titanic_50/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.h133 #define SA2TGT(sa) (sa)->a_target /* SCSI Addr to Target ID */
134 #define SD2TGT(sd) (sd)->sd_address.a_target /* SCSI Dev to Target ID */
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c465 int tgt = sd->sd_address.a_target; in fas_scsi_tgt_probe()
515 return (((sd->sd_address.a_target < NTARGETS_WIDE) && in fas_scsi_tgt_init()
1297 sa.a_target = (ushort_t)i; in fas_dr_detach()
1956 IPRINTF2("fas_scsi_abort: target %d.%d\n", ap->a_target, ap->a_lun); in fas_scsi_abort()
1975 ap->a_target, ap->a_lun, level); in fas_scsi_reset()
2005 ap->a_target, cap, whom); in fas_scsi_getcap()
2015 ap->a_target, cap, value, whom); in fas_scsi_setcap()
6949 uchar_t slot = ap->a_target * NLUNS_PER_TARGET | ap->a_lun; in fas_create_arq_pkt()
7001 int slot = ap->a_target * NLUNS_PER_TARGET | ap->a_lun; in fas_delete_arq_pkt()
7664 ap.a_target = slot / NLUNS_PER_TARGET; in fas_abort_cmd()
[all …]
H A Dsf.c1267 i = sd->sd_address.a_target; in sf_scsi_tgt_init()
5498 tgt_id = pkt->pkt_address.a_target; in sf_cmd_callback()
5774 (void *)fpkt, pkt->pkt_address.a_target, msg1); in sf_cmd_callback()
5780 pkt->pkt_address.a_target, msg2); in sf_cmd_callback()
6242 (void *)cmd->cmd_fp_pkt, cmd->cmd_pkt->pkt_address.a_target));
6276 tgt_id = pkt->pkt_address.a_target;
6301 tgt_id = pkt->pkt_address.a_target;
6988 ap.a_target = sf_alpa_to_switch[target->sft_al_pa];
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c348 ata_drvp = CTL2DRV(ata_ctlp, ap->a_target, ap->a_lun); in atapi_tran_tgt_init()
360 ap->a_target, ap->a_lun); in atapi_tran_tgt_init()
553 ata_drvp = CTL2DRV(ata_ctlp, ap->a_target, ap->a_lun); in atapi_tran_getcap()
H A Data_disk.c380 devp->sd_address.a_target = (ushort_t)ata_drvp->ad_targ; in ata_disk_init_drive()
/titanic_50/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c775 target = sd->sd_address.a_target; in arcmsr_tran_tgt_init()
839 if (acb->devstate[ap->a_target][ap->a_lun] == ARECA_RAID_GONE) { in arcmsr_tran_getcap()
895 if (acb->devstate[ap->a_target][ap->a_lun] == ARECA_RAID_GONE) { in arcmsr_tran_setcap()
1003 arcmsr_cdb->TargetID = ap->a_target; in arcmsr_tran_init_pkt()
1099 int target = ap->a_target; in arcmsr_tran_start()
1294 "(target %d lun %d)", ap->a_target, ap->a_lun); in arcmsr_tran_dmafree()
1324 ap->a_target, ap->a_lun); in arcmsr_tran_sync_pkt()
1355 ap->a_target, ap->a_lun); in arcmsr_tran_abort()
1373 int target = ap->a_target; in arcmsr_tran_reset()
1968 id = ccb->pkt->pkt_address.a_target; in arcmsr_report_ccb_state()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Demul64var.h56 #define TGT(sp) (CMD2PKT(sp)->pkt_address.a_target)
/titanic_50/usr/src/uts/common/io/aac/
H A Daac.c3864 int tgt = pkt->pkt_address.a_target; in aac_inquiry()
4152 uint16_t tgt = sd->sd_address.a_target; in aac_tran_tgt_init()
4237 int tgt = sd->sd_address.a_target; in aac_tran_tgt_free()
5008 ap->a_target, ap->a_lun, in aac_tran_start()
5013 ap->a_target, ap->a_lun, in aac_tran_start()
5040 dvp = AAC_DEV(softs, ap->a_target); in aac_tran_getcap()
5044 ap->a_target, ap->a_lun); in aac_tran_getcap()
5066 cap, ap->a_target, ap->a_lun, rval); in aac_tran_getcap()
5088 dvp = AAC_DEV(softs, ap->a_target); in aac_tran_setcap()
5092 ap->a_target, ap->a_lun); in aac_tran_setcap()
[all …]
/titanic_50/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h1279 #define PKT2TGT(pkt) ((pkt)->pkt_address.a_target)
1322 (ap->a_target < MEGADRV_MAX_LD) ? 1 : 0
1324 (ap->a_target % MEGADRV_MAX_LD)
/titanic_50/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h687 #define PKT2TGT(pkt) ((pkt)->pkt_address.a_target)
730 ((ap->a_target < MRDRV_MAX_LD) && (ap->a_lun == 0)) ? 1 : 0
732 (ap->a_target)
H A Dmr_sas.c1602 uint16_t tgt = sd->sd_address.a_target; in mrsas_tran_tgt_init()
1668 int tgt = sd->sd_address.a_target; in mrsas_tran_tgt_free()
7640 sd->sd_address.a_target = (uint16_t)tgt; in mrsas_config_ld()
7669 int tgt = sd->sd_address.a_target; in mrsas_config_scsi_device()
/titanic_50/usr/src/uts/sun/sys/scsi/adapters/
H A Dfasvar.h834 #define Tgt(sp) ((sp)->cmd_pkt->pkt_address.a_target)
/titanic_50/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c199 pkt.pkt_address.a_target, pkt.pkt_address.a_lun); in print_cdb()
/titanic_50/usr/src/uts/common/io/sata/impl/
H A Dsata.c2156 SCSI_TO_SATA_CPORT(sd->sd_address.a_target)); in sata_scsi_tgt_probe()
2261 sata_device.satadev_addr.qual = SCSI_TO_SATA_ADDR_QUAL(ap->a_target); in sata_scsi_init_pkt()
2262 sata_device.satadev_addr.cport = SCSI_TO_SATA_CPORT(ap->a_target); in sata_scsi_init_pkt()
2263 sata_device.satadev_addr.pmport = SCSI_TO_SATA_PMPORT(ap->a_target); in sata_scsi_init_pkt()
2478 cport = SCSI_TO_SATA_CPORT(ap->a_target); in sata_scsi_start()
2479 pmport = SCSI_TO_SATA_PMPORT(ap->a_target); in sata_scsi_start()
2713 scsi_pkt == NULL ? "all packets" : "one pkt", ap->a_target); in sata_scsi_abort()
2800 level, ap->a_target); in sata_scsi_reset()
2896 ap->a_target, cap); in sata_scsi_getcap()
2998 "sata_scsi_setcap: target: 0x%x, cap: %s\n", ap->a_target, cap); in sata_scsi_setcap()
[all …]
/titanic_50/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1093 #define Tgt(sp) ((sp)->cmd_pkt->pkt_address.a_target)
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3692 ap->a_target = ptgt->m_devhdl; in mptsas_scsi_init_pkt()
3701 ap->a_target, (void *)pkt, (void *)bp, in mptsas_scsi_init_pkt()
4050 ap->a_target, (void *)pkt)); in mptsas_scsi_destroy_pkt()
4333 ap->a_target, (void *)pkt)); in mptsas_scsi_sync_pkt()
4353 ap->a_target, (void *)pkt)); in mptsas_scsi_dmafree()
9266 NDBG22(("mptsas_scsi_reset_notify: tgt=%d", ap->a_target)); in mptsas_scsi_reset_notify()
9824 ap->a_target, cap, tgtonly)); in mptsas_scsi_getcap()
9898 ap->a_target, cap, value, tgtonly)); in mptsas_scsi_setcap()
13989 ap.a_target = MPTSAS_INVALID_DEVHDL; in mptsas_inquiry()
14507 ap.a_target = MPTSAS_INVALID_DEVHDL; in mptsas_config_luns()
H A Dmptsas_impl.c1129 pkt->pkt_address.a_target = dev_handle; in mptsas_ioc_task_management()
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c2732 if ((ap->a_target == pkt->pkt_address.a_target) && in scsa2usb_scsi_abort()
4278 ap.a_target = (ushort_t)target; in scsa2usb_do_inquiry()

12