Lines Matching defs:child
301 static int simba_initchild(dev_info_t *child);
648 simba_name_child(dev_info_t *child, char *name, int namelen)
653 if (ndi_dev_is_persistent_node(child) == 0) {
657 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
661 ddi_driver_name(child));
666 " not well-formed", ddi_driver_name(child));
677 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, 0, "reg",
695 simba_initchild(dev_info_t *child)
706 DEBUG1(D_INIT_CLD, "simba_initchild(): child=%p\n", child);
714 if (ndi_dev_is_persistent_node(child) == 0) {
718 if (ddi_getlongprop(DDI_DEV_T_ANY, child,
723 ddi_driver_name(child));
728 if (simba_name_child(child, name, MAXNAMELEN) != DDI_SUCCESS)
731 ddi_set_name_addr(child, name);
732 ddi_set_parent_data(child, NULL);
738 if (ndi_merge_node(child, simba_name_child) == DDI_SUCCESS) {
742 simba_uninitchild(child);
751 * The child was not merged into a h/w node,
756 ddi_driver_name(child), ddi_get_name_addr(child),
757 ddi_driver_name(child));
758 simba_uninitchild(child);
765 if (simba_name_child(child, name, MAXNAMELEN) != DDI_SUCCESS)
768 ddi_set_name_addr(child, name);
769 ddi_set_parent_data(child, NULL);
771 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
772 simba_uninitchild(child);
786 command_preserve = ddi_prop_get_int(DDI_DEV_T_ANY, child,
793 /* clean up all PCI child devices status register */
812 ddi_get_instance(ddi_get_parent(child)));
817 ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
823 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child,
831 ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
847 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child,
871 * the child nodes of each PBM.
895 cmn_err(CE_WARN, "not enough memrory to save simba child\n");
929 DEBUG3(D_DETACH, "%s%d: saving child dip=%p\n",
972 * the child nodes of each PBM.
1189 * child calls ddi_fm_init().