Lines Matching refs:lun_dip

2965 mptsas_name_child(dev_info_t *lun_dip, char *name, int len)
2973 lun = ddi_prop_get_int(DDI_DEV_T_ANY, lun_dip, DDI_PROP_DONTPASS,
2976 if ((phynum = ddi_prop_get_int(DDI_DEV_T_ANY, lun_dip,
2982 } else if (ddi_prop_lookup_string(DDI_DEV_T_ANY, lun_dip,
9002 dev_info_t *lun_dip = NULL;
9006 lun_dip = sd->sd_dev;
9007 ASSERT(lun_dip != NULL);
9009 if (mptsas_name_child(lun_dip, name, len) == DDI_SUCCESS) {
14888 dev_info_t **lun_dip, mptsas_target_t *ptgt, int lun)
14990 rval = mptsas_create_virt_lun(pdip, sd_inq, guid, lun_dip, &pip,
14994 rval = mptsas_create_phys_lun(pdip, sd_inq, guid, lun_dip,
15012 dev_info_t **lun_dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt, int lun)
15056 *lun_dip = MDI_PI(*pip)->pi_client->ct_dip;
15057 ASSERT(*lun_dip != NULL);
15058 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, *lun_dip,
15083 *lun_dip = NULL;
15104 *lun_dip = NULL;
15113 *lun_dip = NULL;
15121 *lun_dip = NULL;
15302 *lun_dip = MDI_PI(*pip)->pi_client->ct_dip;
15305 if ((ndi_prop_update_int(DDI_DEV_T_NONE, *lun_dip,
15341 *lun_dip = NULL;
15361 char *guid, dev_info_t **lun_dip, mptsas_target_t *ptgt, int lun)
15414 DEVI_SID_NODEID, lun_dip);
15422 *lun_dip, LUN_PROP, lun) !=
15433 *lun_dip, LUN64_PROP, lun64) !=
15442 *lun_dip, "compatible", compatible, ncompatible)
15460 *lun_dip, SCSI_ADDR_PROP_TARGET_PORT, wwn_str)
15471 DDI_DEV_T_NONE, *lun_dip, "port-wwn",
15479 DDI_DEV_T_NONE, *lun_dip, "sata-phy", phy) !=
15492 *lun_dip, SAS_PROP) != DDI_PROP_SUCCESS) {
15500 *lun_dip, NDI_GUID, guid) != DDI_SUCCESS)) {
15581 *lun_dip, SCSI_ADDR_PROP_ATTACHED_PORT, pdev_wwn_str) !=
15593 *lun_dip, MPTSAS_VARIANT, "sata") !=
15605 *lun_dip, MPTSAS_VARIANT, "atapi") !=
15629 *lun_dip, "pm-capable", 1)) !=
15654 if (ddi_pathname_obp_set(*lun_dip, component)
15668 *lun_dip, "phy-num", ptgt->m_phynum) !=
15685 ndi_rtn = ndi_devi_online(*lun_dip, NDI_ONLINE_ATTACH);
15700 ndi_prop_remove_all(*lun_dip);
15701 (void) ndi_devi_free(*lun_dip);
15702 *lun_dip = NULL;