/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | sil3xxx.c | 69 if (ddi_prop_exists(DDI_DEV_T_ANY, ddi_get_parent(dip), in sil3xxx_init_controller() 74 if (pci_config_setup(ddi_get_parent(dip), &pci_conf_handle) != in sil3xxx_init_controller() 146 (void) ddi_prop_update_int(DDI_DEV_T_NONE, ddi_get_parent(dip), in sil3xxx_init_controller()
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 595 ndi_devi_enter(ddi_get_parent(devi)); in pcicfg_configure() 740 ndi_devi_exit(ddi_get_parent(devi)); in pcicfg_configure() 785 ndi_devi_exit(ddi_get_parent(devi)); in pcicfg_configure() 856 if (ndi_ra_alloc(ddi_get_parent(new_device), &req, &next_bus, &blen, in pcicfg_configure_ntbridge() 979 if (ndi_ra_free(ddi_get_parent(new_device), (uint64_t)bus[0], in pcicfg_configure_ntbridge() 1252 anode = ddi_get_parent(anode); in pcicfg_ntbridge_program_child() 1259 entry = pcicfg_find_phdl(ddi_get_parent(anode)); in pcicfg_ntbridge_program_child() 1340 if (ndi_ra_free(ddi_get_parent(dip), (uint64_t)bus[0], in pcicfg_ntbridge_unconfigure() 1401 anode = ddi_get_parent(anode); in pcicfg_ntbridge_child() 1409 if (ddi_getlongprop_buf(DDI_DEV_T_ANY, ddi_get_parent(anode), in pcicfg_ntbridge_child() [all …]
|
/illumos-gate/usr/src/uts/sparc/io/pciex/ |
H A D | pcie_sparc.c | 42 for (pdip = ddi_get_parent(dip); pdip; in pcie_init_plat() 43 pdip = ddi_get_parent(pdip)) { in pcie_init_plat()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 139 dev_info_t *pdip = ddi_get_parent(rdip); in nx1394_bus_ctl() 148 dev_info_t *pdip = ddi_get_parent(cdip); in nx1394_bus_ctl() 279 hal = s1394_dip_to_hal(ddi_get_parent(rdip)); in nx1394_dma_allochdl() 415 ret = ndi_post_event(ddi_get_parent(dip), rdip, cookie, in nx1394_post_event()
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pciev.c | 141 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_cache_domain_info() 142 pdip = ddi_get_parent(pdip)) { in pcie_cache_domain_info() 191 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_uncache_domain_info() 192 pdip = ddi_get_parent(pdip)) { in pcie_uncache_domain_info() 424 return (PCIE_DIP2BUS(ddi_get_parent(PCIE_BUS2DIP(bus_p)))); in pciev_get_affected_dev()
|
H A D | pcie.c | 1172 if ((pcie_ari_is_enabled(ddi_get_parent(cdip)) in pcie_initchild() 2036 for (pdip = ddi_get_parent(dip); pdip; in pcie_init_bus() 2037 pdip = ddi_get_parent(pdip)) { in pcie_init_bus() 2212 for (rcdip = ddi_get_parent(dip); rcdip; in pcie_get_rc_dip() 2213 rcdip = ddi_get_parent(rcdip)) { in pcie_get_rc_dip() 2228 pdip = ddi_get_parent(dip); in pcie_is_pci_device() 2574 for (; ddi_get_parent(cdip) != dip; cdip = ddi_get_parent(cdip)) in pcie_get_my_childs_dip() 2743 dev_info_t *pdip = ddi_get_parent(dip); in pcie_dev() 3659 pdip = ddi_get_parent(dip); in pcie_fabric_setup()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 632 dev_info_t *pdip = ddi_get_parent(dip); in pcicfg_pcie_dev() 949 if (ndi_ra_alloc(ddi_get_parent(new_device), &req, in pcicfg_configure_ntbridge() 1083 if (ndi_ra_free(ddi_get_parent(new_device), in pcicfg_configure_ntbridge() 1409 if (ndi_ra_free(ddi_get_parent(dip), in pcicfg_ntbridge_unconfigure() 1477 if (ddi_prop_get_int(DDI_DEV_T_ANY, ddi_get_parent(dip), 0, in pcicfg_indirect_map() 1481 if (ddi_prop_get_int(DDI_DEV_T_ANY, ddi_get_parent(dip), in pcicfg_indirect_map() 1774 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl() 1782 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl() 2134 if (ndi_ra_alloc(ddi_get_parent(dip), in pcicfg_device_assign() 2167 if (ndi_ra_alloc(ddi_get_parent(dip), in pcicfg_device_assign() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_intr_impl.c | 423 dev_info_t *pdip = ddi_get_parent(dip); in i_ddi_get_intrspec() 441 dev_info_t *pdip = ddi_get_parent(dip); in i_ddi_add_intrspec() 456 dev_info_t *pdip = ddi_get_parent(dip); in i_ddi_remove_intrspec() 469 dev_info_t *pdip = ddi_get_parent(dip); in i_ddi_intr_ctlops()
|
H A D | devcfg.c | 561 ASSERT(ddi_get_parent(dip) == NULL || (DEVI_VHCI_NODE(dip)) || in i_ddi_add_devimap() 562 DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ddi_add_devimap() 793 dev_info_t *parent = ddi_get_parent(dip); in bind_node() 874 dev_info_t *pdip = ddi_get_parent(dip); in init_node() 1114 pdip = ddi_get_parent(dip); in uninit_node() 1293 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in attach_node() 1377 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in detach_node() 1396 (ddi_get_parent(mdi_devi_get_vdip(dip)) == ddi_get_parent(dip)) || in detach_node() 1572 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ndi_config_node() 1662 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ndi_unconfig_node() [all …]
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 397 pdip = ddi_get_parent(dip); in cardbus_find_hsbridge_dip() 399 if (ddi_get_parent(pdip) == ddi_root_node()) in cardbus_find_hsbridge_dip() 401 pdip = ddi_get_parent(pdip); in cardbus_find_hsbridge_dip() 746 if (ddi_prop_op(DDI_DEV_T_ANY, ddi_get_parent(dip), in is_32bit_pccard() 1910 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_allochdl() 1931 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_freehdl() 1953 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_bindhdl() 1975 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_unbindhdl() 1998 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_flush() 2021 dev_info_t *pdip = ddi_get_parent(dip); in cardbus_dma_win() [all …]
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 310 if (strcmp(ddi_driver_name(ddi_get_parent(devi)), "npe") == 0) in ppb_attach() 343 for (pdip = ddi_get_parent(devi); pdip && (pdip != root) && in ppb_attach() 345 pdip = ddi_get_parent(pdip)) { in ppb_attach() 458 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") == 0 && in ppb_bus_map() 545 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") != 0) in ppb_ctlops() 646 ddi_get_instance(ddi_get_parent(child))); in ppb_initchild() 743 ddi_get_instance(ddi_get_parent(dip))); in ppb_removechild()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_quiesce.c | 224 ASSERT(dip == NULL || ddi_get_parent(dip) == NULL || in sysctrl_suspend_devices() 225 DEVI_BUSY_OWNED(ddi_get_parent(dip))); in sysctrl_suspend_devices() 268 ASSERT(start == NULL || ddi_get_parent(start) == NULL || in sysctrl_resume_devices() 269 DEVI_BUSY_OWNED(ddi_get_parent(start))); in sysctrl_resume_devices()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mach_rootnex.c | 111 ddi_get_parent(rdip) == dip) { in rootnex_add_intr_impl() 186 ddi_get_parent(rdip) == dip) { in rootnex_remove_intr_impl() 348 if (ddi_get_parent(child) != ddi_root_node()) { in rootnex_name_child_impl()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pci.c | 445 for (pdip = ddi_get_parent(ppb->dip); pdip && (pdip != root) && in ppb_attach() 447 pdip = ddi_get_parent(pdip)) { in ppb_attach() 651 for (; ddi_get_parent(cdip) != dip; cdip = ddi_get_parent(cdip)) in get_my_childs_dip() 844 ddi_get_instance(ddi_get_parent(child))); in ppb_initchild() 872 DEBUG2(DBG_PWR, ddi_get_parent(child), in ppb_initchild() 880 DEBUG2(DBG_PWR, ddi_get_parent(child), in ppb_initchild() 998 ddi_get_instance(ddi_get_parent(child))); in ppb_uninitchild() 1017 ddi_get_instance(ddi_get_parent(dip))); in ppb_removechild() 1021 DEBUG2(DBG_PWR, ddi_get_parent(dip), in ppb_removechild()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 793 nweight, eweight, ddi_driver_name(ddi_get_parent(dip)), in intr_dist_cpuid_add_device_weight() 794 ddi_get_instance(ddi_get_parent(dip)), in intr_dist_cpuid_add_device_weight() 832 ddi_driver_name(ddi_get_parent(dip)), in intr_dist_cpuid_rem_device_weight() 833 ddi_get_instance(ddi_get_parent(dip)), in intr_dist_cpuid_rem_device_weight()
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 164 parent = ddi_get_parent(child); in ibtl_ibnex_get_hca_info() 211 parent = ddi_get_parent(child); in ibtl_ibnex_get_hca_info() 488 if (strcmp(ddi_node_name(ddi_get_parent(dip)), "ib") != 0) in ibt_reprobe_dev()
|
/illumos-gate/usr/src/uts/common/io/pci-ide/ |
H A D | pci-ide.c | 604 pdip = ddi_get_parent(dip); in pciide_bus_map() 755 dip = ddi_get_parent(dip); in pciide_intr_ops() 808 dip = ddi_get_parent(dip); in pciide_alloc_intr() 855 dip = ddi_get_parent(dip); in pciide_free_intr()
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 1396 if (ndi_ra_alloc(ddi_get_parent(dip), in pci_alloc_resource() 1431 if (ndi_ra_alloc(ddi_get_parent(dip), in pci_alloc_resource() 1481 if (ndi_ra_alloc(ddi_get_parent(dip), in pci_alloc_resource() 1520 if (ndi_ra_alloc(ddi_get_parent(dip), in pci_alloc_resource() 1620 if (ndi_ra_free(ddi_get_parent(dip), phys_spec.pci_phys_low, in pci_free_resource() 1634 if (ndi_ra_free(ddi_get_parent(dip), in pci_free_resource() 1647 if (ndi_ra_free(ddi_get_parent(dip), in pci_free_resource() 1658 if (ndi_ra_free(ddi_get_parent(dip), in pci_free_resource() 1881 if (ddi_getprop(DDI_DEV_T_ANY, ddi_get_parent(dip), 0, in fcpci_indirect_map() 1885 if (ddi_getprop(DDI_DEV_T_ANY, ddi_get_parent(dip), in fcpci_indirect_map()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_fm.c | 110 eqdip = ddi_get_parent(eqdip); in scsi_fm_ereport_post()
|
/illumos-gate/usr/src/uts/sun4u/littleneck/os/ |
H A D | littleneck.c | 103 shared_pcf8584_dip = ddi_get_parent(nvram_dip); in load_platform_drivers()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 182 pdip = ddi_get_parent(dip); in plat_devpath() 324 if ((pdip = ddi_get_parent(dip)) == NULL) in find_fb_dev()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_fb.c | 125 while (pdevi = ddi_get_parent(pdevi)) { in gfxp_check_for_console() 220 error = ddi_prop_lookup_string(DDI_DEV_T_ANY, ddi_get_parent(devi), in gfxp_fb_attach()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | cpunex.c | 105 dev_info_t *pdip = ddi_get_parent(rdip); in cpunex_bus_ctl()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tvhci.c | 287 pdip = ddi_get_parent(dip); in tvhci_attach() 289 ddi_get_parent(pdip) != ddi_root_node()) { in tvhci_attach()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_phys.c | 440 dev_info_t *pdip = ddi_get_parent(dip); in lmrc_phys_attach() 477 dev_info_t *pdip = ddi_get_parent(dip); in lmrc_phys_detach()
|