Lines Matching defs:child

36  *	as a nexus and do the device tree representation of the child
123 * latency timer register setting for every child
124 * device during child initialization.
127 * cache line register setting for every child
128 * device during child initialization.
419 static int db_initchild(dev_info_t *child);
420 static int db_create_pci_prop(dev_info_t *child);
545 * to set the bus private handle during child map
970 * which are used for child initialization.
1712 * DDI_SUCCESS: map call by child device success
2203 db_name_child(dev_info_t *child, char *name, int namelen)
2208 if (ndi_dev_is_persistent_node(child) == 0) {
2212 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
2216 ddi_driver_name(child));
2221 " not well-formed", ddi_driver_name(child));
2232 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, 0, "reg",
2250 db_initchild(dev_info_t *child)
2260 if (db_name_child(child, name, MAXNAMELEN) != DDI_SUCCESS)
2263 ddi_set_name_addr(child, name);
2264 ddi_set_parent_data(child, NULL);
2272 if (ndi_dev_is_persistent_node(child) == 0) {
2279 if (ndi_merge_node(child, db_name_child) == DDI_SUCCESS) {
2292 * The child was not merged into a h/w node,
2297 ddi_driver_name(child), ddi_get_name_addr(child),
2298 ddi_driver_name(child));
2303 if ((db_create_pci_prop(child) != DDI_SUCCESS) ||
2304 (pci_config_setup(child, &config_handle) != DDI_SUCCESS)) {
2305 db_uninitchild(child);
2317 command_preserve = ddi_prop_get_int(DDI_DEV_T_ANY, child,
2324 DB_DEBUG2(DB_INITCHILD, ddi_get_parent(child),
2343 ddi_get_instance(ddi_get_parent(child)));
2349 ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
2355 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child,
2358 DB_DEBUG1(DB_INITCHILD, ddi_get_parent(child),
2366 ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
2382 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child,
2385 DB_DEBUG1(DB_INITCHILD, ddi_get_parent(child),
2405 db_create_pci_prop(dev_info_t *child)
2411 /* get child "reg" property */
2412 value = ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_CANSLEEP,
2417 (void) ndi_prop_update_byte_array(DDI_DEV_T_NONE, child, "reg",
2437 * immediate child nodes.
2465 /* i now equals the total number of child devices */
2470 "%s#%d: No memory to save state for child %s#%d\n",
2522 * all immediate child nodes.
3095 * child calls ddi_fm_init().