Lines Matching defs:child

208 static int 	pcieb_initchild(dev_info_t *child);
636 * Attach failed for the child device. The child
640 * associated with the child device.
731 pcieb_name_child(dev_info_t *child, char *name, int namelen)
741 if (ndi_dev_is_persistent_node(child) == 0) {
742 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
747 ddi_driver_name(child));
752 " not well-formed", ddi_driver_name(child));
765 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child,
774 if (pcie_ari_is_enabled(ddi_get_parent(child))
790 pcieb_initchild(dev_info_t *child)
796 ddi_get_instance(ddi_get_parent(child)));
799 * Name the child
801 if (pcieb_name_child(child, name, MAXNAMELEN) != DDI_SUCCESS) {
805 ddi_set_name_addr(child, name);
813 if (ndi_dev_is_persistent_node(child) == 0) {
820 if (ndi_merge_node(child, pcieb_name_child) == DDI_SUCCESS) {
824 ddi_set_name_addr(child, NULL);
836 * The child was not merged into a h/w node,
841 ddi_driver_name(child), ddi_get_name_addr(child),
842 ddi_driver_name(child));
843 ddi_set_name_addr(child, NULL);
849 pcieb_plat_initchild(child);
861 * child (before it entered D3), then let the child do the
865 if (ddi_prop_exists(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
866 "config-regs-saved-by-child") == 1) {
867 PCIEB_DEBUG(DBG_PWR, ddi_get_parent(child),
868 "INITCHILD: config regs to be restored by child"
869 " for %s@%s\n", ddi_node_name(child),
870 ddi_get_name_addr(child));
876 PCIEB_DEBUG(DBG_PWR, ddi_get_parent(child),
878 ddi_node_name(child), ddi_get_name_addr(child));
880 pcie_init_dom(child);
882 if (pcie_initchild(child) != DDI_SUCCESS) {
884 pcie_fini_dom(child);
889 if (pcieb_init_plx_workarounds(pcieb, child) == DDI_FAILURE) {
891 pcie_fini_dom(child);
1470 * for any DVMA request that comes from any of the Broadcom bridge child
1481 * of pcieb's immediate child or secondary bus-id of the
1491 * FDVMA feature is not supported for any child device of Broadcom 5714/5715
1514 * of pcieb's immediate child or secondary bus-id of the