Home
last modified time | relevance | path

Searched refs:vdip (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dsunmdi.c379 mdi_vhci_register(char *class, dev_info_t *vdip, mdi_vhci_ops_t *vops, in mdi_vhci_register() argument
399 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(vdip))); in mdi_vhci_register()
441 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, vdip, in mdi_vhci_register()
458 vh->vh_dip = vdip; in mdi_vhci_register()
476 DEVI(vdip)->devi_mdi_component |= MDI_COMPONENT_VHCI; in mdi_vhci_register()
481 DEVI(vdip)->devi_mdi_xhci = (caddr_t)vh; in mdi_vhci_register()
497 mdi_vhci_unregister(dev_info_t *vdip, int flags) in mdi_vhci_unregister() argument
501 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(vdip))); in mdi_vhci_unregister()
506 if ((vh = i_devi_get_vhci(vdip)) == NULL) in mdi_vhci_unregister()
557 DEVI(vdip)->devi_mdi_component &= ~MDI_COMPONENT_VHCI; in mdi_vhci_unregister()
[all …]
H A Ddevcfg.c5397 dev_info_t *vdip = NULL; in devi_config_one() local
5420 vdip = mdi_devi_get_vdip(pdip); in devi_config_one()
5450 if (vdip) { in devi_config_one()
5452 ndi_devi_enter(vdip, &v_circ); in devi_config_one()
5466 if ((vdip == NULL) || (flags & NDI_MDI_FALLBACK)) { in devi_config_one()
5519 if (vdip) { in devi_config_one()
5523 mutex_enter(&DEVI(vdip)->devi_lock); in devi_config_one()
5524 DEVI(vdip)->devi_flags |= in devi_config_one()
5526 mutex_exit(&DEVI(vdip)->devi_lock); in devi_config_one()
5536 ndi_devi_exit_and_wait(vdip, v_circ, end_time); in devi_config_one()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1616 dev_info_t *vdip, *cdip; in vhci_scsi_reset_target() local
1638 vdip = ddi_get_parent(cdip); in vhci_scsi_reset_target()
1639 ASSERT(vdip != NULL); in vhci_scsi_reset_target()
1640 vhci = ddi_get_soft_state(vhci_softstate, ddi_get_instance(vdip)); in vhci_scsi_reset_target()
1674 vhci_log(CE_WARN, vdip, "!%s%d: " in vhci_scsi_reset_target()
3167 dev_info_t *vdip, *cdip; in vhci_intr() local
3542 vdip = ddi_get_parent(cdip); in vhci_intr()
3544 vhci_log(CE_WARN, vdip, "!%s (%s%d): %s on path %s", in vhci_intr()
3665 dev_info_t *vdip; in vhci_efo_watch_cb() local
3683 vdip = ddi_get_parent(vlun->svl_dip); in vhci_efo_watch_cb()
[all …]
H A Dmpapi_impl.c173 dev_info_t *vdip; in vhci_mpapi_ctl() local
192 vdip = vhci->vhci_dip; in vhci_mpapi_ctl()
193 ASSERT(vdip != NULL); in vhci_mpapi_ctl()
4125 vhci_mpapi_set_path_state(dev_info_t *vdip, mdi_pathinfo_t *pip, int state) in vhci_mpapi_set_path_state() argument
4135 vhci = ddi_get_soft_state(vhci_softstate, ddi_get_instance(vdip)); in vhci_mpapi_set_path_state()
4159 vhci_mpapi_log_sysevent(vdip, in vhci_mpapi_set_path_state()
4401 vhci_mpapi_get_vhci(dev_info_t *vdip, void *ptr2vhci) in vhci_mpapi_get_vhci() argument
4405 if (strncmp("scsi_vhci", ddi_get_name(vdip), in vhci_mpapi_get_vhci()
4408 ddi_get_instance(vdip)); in vhci_mpapi_get_vhci()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c593 dev_info_t *vdip = 0; in ibtl_ibnex_phci_unregister() local
604 vdip = mdi_devi_get_vdip(hca_dip); in ibtl_ibnex_phci_unregister()
605 ndi_devi_enter(vdip, &circ1); in ibtl_ibnex_phci_unregister()
612 ndi_devi_exit(vdip, circ1); in ibtl_ibnex_phci_unregister()
618 ndi_devi_exit(vdip, circ1); in ibtl_ibnex_phci_unregister()
/titanic_44/usr/src/uts/common/io/
H A Dtvhci.c403 tvhci_pi_init(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags) in tvhci_pi_init() argument
410 tvhci_pi_uninit(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags) in tvhci_pi_uninit() argument
417 tvhci_pi_state_change(dev_info_t *vdip, mdi_pathinfo_t *pip, in tvhci_pi_state_change() argument
425 tvhci_failover(dev_info_t *vdip, dev_info_t *cdip, int flags) in tvhci_failover() argument
/titanic_44/usr/src/uts/common/sys/
H A Dmdi_impldefs.h225 int (*vo_pi_init)(dev_info_t *vdip, mdi_pathinfo_t *pip, int flags);
228 int (*vo_pi_uninit)(dev_info_t *vdip, mdi_pathinfo_t *pip,
232 int (*vo_pi_state_change)(dev_info_t *vdip, mdi_pathinfo_t *pip,
236 int (*vo_failover)(dev_info_t *vdip, dev_info_t *cdip, int flags);
242 int (*vo_is_dev_supported)(dev_info_t *vdip, dev_info_t *pdip,
/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c3921 ib_vhci_pi_init(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_init() argument
3923 IBTF_DPRINTF_L4("ibnex", "\tpi_init: dip %p pip %p", vdip, pip); in ib_vhci_pi_init()
3930 ib_vhci_pi_uninit(dev_info_t *vdip, mdi_pathinfo_t *pip, int flag) in ib_vhci_pi_uninit() argument
3935 IBTF_DPRINTF_L4("ibnex", "\tpi_uninit: dip %p pip %p", vdip, pip); in ib_vhci_pi_uninit()
3972 ib_vhci_pi_state_change(dev_info_t *vdip, mdi_pathinfo_t *pip, in ib_vhci_pi_state_change() argument
3976 "\tpi_state_change: dip %p pip %p state %x", vdip, pip, state); in ib_vhci_pi_state_change()