Lines Matching refs:sas_wwn

399 static int mptsas_config_smp(dev_info_t *pdip, uint64_t sas_wwn,
2968 char *sas_wwn = NULL;
2983 DDI_PROP_DONTPASS, SCSI_ADDR_PROP_TARGET_PORT, &sas_wwn)
2988 reallen = snprintf(name, len, "%s,%x", sas_wwn, lun);
2989 ddi_prop_free(sas_wwn);
3029 uint64_t sas_wwn = 0;
3065 if (scsi_wwnstr_to_wwn(psas_wwn, &sas_wwn)) {
3066 sas_wwn = 0;
3076 if (scsi_wwnstr_to_wwn(psas_wwn, &sas_wwn)) {
3077 sas_wwn = 0;
3081 sas_wwn = 0;
3085 ASSERT((sas_wwn != 0) || (phymask != 0));
3086 addr.mta_wwn = sas_wwn;
3094 sas_wwn);
5437 uint64_t sas_wwn;
5450 sas_wwn = ptgt->m_addr.mta_wwn;
5452 if (sas_wwn == 0) {
5455 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
6326 uint64_t sas_wwn = 0;
6515 sas_wwn = ptgt->m_addr.mta_wwn;
6520 if (sas_wwn) {
6521 (void) sprintf(addr, "w%016"PRIx64, sas_wwn);
10019 uint64_t sas_wwn;
10024 sas_wwn = ptgt->m_addr.mta_wwn;
10026 if (sas_wwn == 0) {
10029 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
13543 uint64_t sas_wwn;
13554 &sas_wwn, &dev_info, &physport, &phynum, &pdev_hdl,
13605 sas_wwn = devicename;
13607 sas_wwn = 0;
13615 *pptgt = mptsas_tgt_alloc(mpt->m_targets, *dev_handle, sas_wwn,
14164 uint64_t sas_wwn = 0;
14169 sas_wwn = ptgt->m_addr.mta_wwn;
14174 if (sas_wwn == 0) {
14198 if (mptsas_find_child_addr(pdip, sas_wwn, 0)) {
14259 if (cdip = mptsas_find_child_addr(pdip, sas_wwn, lun_num))
14346 uint64_t sas_wwn, wwid;
14375 if (mptsas_parse_address(addr, &sas_wwn, &phy, &lun) !=
14380 if (wwid == sas_wwn) {
14411 if (mptsas_parse_address(addr, &sas_wwn, &phy,
14416 if (sas_wwn == wwid) {
15027 uint64_t sas_wwn;
15044 sas_wwn = ptgt->m_addr.mta_wwn;
15049 if (sas_wwn) {
15050 *pip = mptsas_find_path_addr(pdip, sas_wwn, lun);
15140 (void) sprintf(wwn_str, "%016"PRIx64, sas_wwn);
15145 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
15191 if (sas_wwn && (mdi_prop_update_string(*pip,
15198 } else if ((sas_wwn == 0) && (mdi_prop_update_int(*pip,
15252 if (sas_wwn == 0) {
15255 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
15263 " %s (sas_wwn)",
15277 "property for iport attached-port %s (sas_wwn)",
15376 uint64_t sas_wwn;
15393 sas_wwn = ptgt->m_addr.mta_wwn;
15458 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
15459 if (sas_wwn && ndi_prop_update_string(DDI_DEV_T_NONE,
15469 be_sas_wwn = BE_64(sas_wwn);
15470 if (sas_wwn && ndi_prop_update_byte_array(
15478 } else if ((sas_wwn == 0) && (ndi_prop_update_int(
15559 if (sas_wwn == 0) {
15562 (void) sprintf(wwn_str, "w%016"PRIx64, sas_wwn);
15570 " %s (sas_wwn)",
15585 "property for iport attached-port %s (sas_wwn)",
15645 (void) sprintf(wwn_str, "%016"PRIx64, sas_wwn);
15736 mptsas_config_smp(dev_info_t *pdip, uint64_t sas_wwn, dev_info_t **smp_dip)
15753 psmp = mptsas_wwid_to_psmp(mpt, phymask, sas_wwn);
15775 uint64_t sas_wwn;
15817 "property for smp device %s (sas_wwn)",
15827 "property for iport target-port %s (sas_wwn)",
15853 &dev_hdl, &sas_wwn, &smp_node->m_pdevinfo, &physport,
15886 sas_wwn);
15896 "property for smp attached-port %s (sas_wwn)",