Home
last modified time | relevance | path

Searched refs:ddi_get_parent (Results 1 – 25 of 172) sorted by relevance

1234567

/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/
H A Dsil3xxx.c71 if (ddi_prop_exists(DDI_DEV_T_ANY, ddi_get_parent(dip), in sil3xxx_init_controller()
76 if (pci_config_setup(ddi_get_parent(dip), &pci_conf_handle) != in sil3xxx_init_controller()
148 (void) ddi_prop_update_int(DDI_DEV_T_NONE, ddi_get_parent(dip), in sil3xxx_init_controller()
/titanic_44/usr/src/uts/sparc/io/pciex/
H A Dpcie_sparc.c42 for (pdip = ddi_get_parent(dip); pdip; in pcie_init_plat()
43 pdip = ddi_get_parent(pdip)) { in pcie_init_plat()
/titanic_44/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c828 if (ndi_ra_alloc(ddi_get_parent(new_device), &req, &next_bus, &blen, in pcicfg_configure_ntbridge()
951 if (ndi_ra_free(ddi_get_parent(new_device), (uint64_t)bus[0], in pcicfg_configure_ntbridge()
1224 anode = ddi_get_parent(anode); in pcicfg_ntbridge_program_child()
1231 entry = pcicfg_find_phdl(ddi_get_parent(anode)); in pcicfg_ntbridge_program_child()
1312 if (ndi_ra_free(ddi_get_parent(dip), (uint64_t)bus[0], in pcicfg_ntbridge_unconfigure()
1373 anode = ddi_get_parent(anode); in pcicfg_ntbridge_child()
1381 if (ddi_getlongprop_buf(DDI_DEV_T_ANY, ddi_get_parent(anode), in pcicfg_ntbridge_child()
1679 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl()
1686 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl()
1693 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl()
[all …]
/titanic_44/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_sd.c86 info.dki_cnum = ddi_get_instance(ddi_get_parent(dip)); in xdfs_c_ioctl()
88 ddi_get_name(ddi_get_parent(dip)), sizeof (info.dki_cname)); in xdfs_c_ioctl()
/titanic_44/usr/src/uts/common/io/pciex/
H A Dpciev.c137 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_cache_domain_info()
138 pdip = ddi_get_parent(pdip)) { in pcie_cache_domain_info()
187 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_uncache_domain_info()
188 pdip = ddi_get_parent(pdip)) { in pcie_uncache_domain_info()
420 return (PCIE_DIP2BUS(ddi_get_parent(PCIE_BUS2DIP(bus_p)))); in pciev_get_affected_dev()
H A Dpcie.c614 if ((pcie_ari_is_enabled(ddi_get_parent(cdip)) in pcie_initchild()
1094 for (pdip = ddi_get_parent(dip); pdip; in pcie_init_bus()
1095 pdip = ddi_get_parent(pdip)) { in pcie_init_bus()
1262 for (rcdip = ddi_get_parent(dip); rcdip; in pcie_get_rc_dip()
1263 rcdip = ddi_get_parent(rcdip)) { in pcie_get_rc_dip()
1278 pdip = ddi_get_parent(dip); in pcie_is_pci_device()
1627 for (; ddi_get_parent(cdip) != dip; cdip = ddi_get_parent(cdip)) in pcie_get_my_childs_dip()
1741 (void) pcie_get_fabric_mps(ddi_get_parent(dip), in pcie_init_root_port_mps()
1766 dev_info_t *pdip = ddi_get_parent(cdip); in pcie_initchild_mps()
1878 ndi_devi_enter(ddi_get_parent(dip), &circular_count); in pcie_scan_mps()
[all …]
/titanic_44/usr/src/uts/sun4/io/
H A Dpcicfg.c631 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()
1775 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl()
1783 (void) ndi_ra_free(ddi_get_parent(dip), in pcicfg_destroy_phdl()
2136 if (ndi_ra_alloc(ddi_get_parent(dip), in pcicfg_device_assign()
2169 if (ndi_ra_alloc(ddi_get_parent(dip), in pcicfg_device_assign()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Ddevcfg.c549 ASSERT(ddi_get_parent(dip) == NULL || (DEVI_VHCI_NODE(dip)) || in i_ddi_add_devimap()
550 DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ddi_add_devimap()
781 dev_info_t *parent = ddi_get_parent(dip); in bind_node()
856 dev_info_t *pdip = ddi_get_parent(dip); in init_node()
1096 pdip = ddi_get_parent(dip); in uninit_node()
1275 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in attach_node()
1359 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in detach_node()
1378 (ddi_get_parent(mdi_devi_get_vdip(dip)) == ddi_get_parent(dip)) || in detach_node()
1554 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ndi_config_node()
1645 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(dip))); in i_ndi_unconfig_node()
[all …]
H A Dddi_intr_impl.c423 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()
/titanic_44/usr/src/uts/intel/io/pci/
H A Dpci_pci.c309 if (strcmp(ddi_driver_name(ddi_get_parent(devi)), "npe") == 0) in ppb_attach()
342 for (pdip = ddi_get_parent(devi); pdip && (pdip != root) && in ppb_attach()
344 pdip = ddi_get_parent(pdip)) { in ppb_attach()
457 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") == 0 && in ppb_bus_map()
544 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") != 0) in ppb_ctlops()
636 ddi_get_instance(ddi_get_parent(child))); in ppb_initchild()
733 ddi_get_instance(ddi_get_parent(dip))); in ppb_removechild()
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c222 ASSERT(dip == NULL || ddi_get_parent(dip) == NULL || in sysctrl_suspend_devices()
223 DEVI_BUSY_OWNED(ddi_get_parent(dip))); in sysctrl_suspend_devices()
267 ASSERT(start == NULL || ddi_get_parent(start) == NULL || in sysctrl_resume_devices()
268 DEVI_BUSY_OWNED(ddi_get_parent(start))); in sysctrl_resume_devices()
/titanic_44/usr/src/uts/common/io/1394/
H A Dnx1394.c144 dev_info_t *pdip = ddi_get_parent(rdip); in nx1394_bus_ctl()
155 dev_info_t *pdip = ddi_get_parent(cdip); in nx1394_bus_ctl()
323 hal = s1394_dip_to_hal(ddi_get_parent(rdip)); in nx1394_dma_allochdl()
490 ret = ndi_post_event(ddi_get_parent(dip), rdip, cookie, in nx1394_post_event()
/titanic_44/usr/src/uts/common/io/cardbus/
H A Dcardbus.c395 pdip = ddi_get_parent(dip); in cardbus_find_hsbridge_dip()
397 if (ddi_get_parent(pdip) == ddi_root_node()) in cardbus_find_hsbridge_dip()
399 pdip = ddi_get_parent(pdip); in cardbus_find_hsbridge_dip()
745 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 …]
/titanic_44/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c110 ddi_get_parent(rdip) == dip) { in rootnex_add_intr_impl()
185 ddi_get_parent(rdip) == dip) { in rootnex_remove_intr_impl()
353 if (ddi_get_parent(child) != ddi_root_node()) { in rootnex_name_child_impl()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c160 parent = ddi_get_parent(child); in ibtl_ibnex_get_hca_info()
207 parent = ddi_get_parent(child); in ibtl_ibnex_get_hca_info()
484 if (strcmp(ddi_node_name(ddi_get_parent(dip)), "ib") != 0) in ibt_reprobe_dev()
/titanic_44/usr/src/uts/sun4/os/
H A Dintr.c789 nweight, eweight, ddi_driver_name(ddi_get_parent(dip)), in intr_dist_cpuid_add_device_weight()
790 ddi_get_instance(ddi_get_parent(dip)), in intr_dist_cpuid_add_device_weight()
828 ddi_driver_name(ddi_get_parent(dip)), in intr_dist_cpuid_rem_device_weight()
829 ddi_get_instance(ddi_get_parent(dip)), in intr_dist_cpuid_rem_device_weight()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c445 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()
/titanic_44/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c604 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()
/titanic_44/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c1396 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()
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_fm.c110 eqdip = ddi_get_parent(eqdip); in scsi_fm_ereport_post()
/titanic_44/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c105 shared_pcf8584_dip = ddi_get_parent(nvram_dip); in load_platform_drivers()
/titanic_44/usr/src/uts/sun4u/snowbird/os/
H A Dsnowbird.c118 shared_smbus_dip = ddi_get_parent(dip); in load_platform_drivers()
/titanic_44/usr/src/uts/i86pc/io/
H A Dconsplat.c178 pdip = ddi_get_parent(dip); in plat_devpath()
320 if ((pdip = ddi_get_parent(dip)) == NULL) in find_fb_dev()
/titanic_44/usr/src/uts/intel/io/
H A Dcpunex.c105 dev_info_t *pdip = ddi_get_parent(rdip); in cpunex_bus_ctl()
/titanic_44/usr/src/uts/common/io/
H A Dtvhci.c287 pdip = ddi_get_parent(dip); in tvhci_attach()
289 ddi_get_parent(pdip) != ddi_root_node()) { in tvhci_attach()

1234567