/titanic_50/usr/src/uts/common/sys/scsi/ |
H A D | scsi_address.h | 99 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 D | emul64_bsd.c | 371 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 D | emul64.c | 540 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 D | cmdev.h | 35 #define CMDEV_TARG(devp) (devp)->sd_address.a_target
|
/titanic_50/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 1644 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 D | atapi.h | 92 #define SADR2CHNO(ap) (((ap)->a_target > 1) ? 1 : 0)
|
/titanic_50/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 1480 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 D | cpqary3.h | 133 #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 D | fas.c | 465 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 D | sf.c | 1267 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 D | atapi.c | 348 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 D | ata_disk.c | 380 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 D | arcmsr.c | 775 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 D | emul64var.h | 56 #define TGT(sp) (CMD2PKT(sp)->pkt_address.a_target)
|
/titanic_50/usr/src/uts/common/io/aac/ |
H A D | aac.c | 3864 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 D | megaraid_sas.h | 1279 #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 D | mr_sas.h | 687 #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 D | mr_sas.c | 1602 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 D | fasvar.h | 834 #define Tgt(sp) ((sp)->cmd_pkt->pkt_address.a_target)
|
/titanic_50/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 199 pkt.pkt_address.a_target, pkt.pkt_address.a_lun); in print_cdb()
|
/titanic_50/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 2156 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 D | mptsas_var.h | 1093 #define Tgt(sp) ((sp)->cmd_pkt->pkt_address.a_target)
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 3692 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 D | mptsas_impl.c | 1129 pkt->pkt_address.a_target = dev_handle; in mptsas_ioc_task_management()
|
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 2732 if ((ap->a_target == pkt->pkt_address.a_target) && in scsa2usb_scsi_abort() 4278 ap.a_target = (ushort_t)target; in scsa2usb_do_inquiry()
|