Lines Matching defs:child
161 static int pci_removechild(dev_info_t *child);
162 static int pci_initchild(dev_info_t *child);
652 pci_initchild(dev_info_t *child)
658 if (pci_common_name_child(child, name, 80) != DDI_SUCCESS) {
661 ddi_set_name_addr(child, name);
669 if (ndi_dev_is_persistent_node(child) == 0) {
672 ddi_set_parent_data(child, NULL);
678 if (ndi_merge_node(child, pci_common_name_child) ==
683 ddi_set_name_addr(child, NULL);
694 if (ddi_prop_get_int(DDI_DEV_T_ANY, child,
699 * child.
701 pci_common_set_parent_private_data(child);
706 * The child was not merged into a h/w node,
711 ddi_get_name(child), ddi_get_name_addr(child),
712 ddi_get_name(child));
713 ddi_set_name_addr(child, NULL);
717 if (ddi_prop_get_int(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
719 pci_common_set_parent_private_data(child);
721 ddi_set_parent_data(child, NULL);
726 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS)
732 command_preserve = ddi_prop_get_int(DDI_DEV_T_ANY, child,