Lines Matching defs:child
109 * If there are no "reg"s in the child node, return.
182 * The "ranges" property describes the mapping of child addresses to parent
186 * parent child
193 make_ddi_ppd(dev_info_t *child, struct ddi_parent_private_data **ppd)
208 if ((parent = ddi_get_parent(child)) == NULL)
214 if ((get_prop_int_array(child, OBP_REG, ®_prop, ®_len)
224 * and * min(parent, child) #size-cells != 1 (see bugid 4211124).
232 if ((parent = ddi_get_parent(child)) == NULL)
235 child_addr_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child,
237 child_size_cells = ddi_prop_get_int(DDI_DEV_T_ANY, child,
250 if (get_prop_int_array(child, OBP_RANGES, &rng_prop, &rng_len)
279 * Name a child of sun busses based on the reg spec.
293 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen)
302 if (ddi_get_parent_data(child) == NULL) {
303 make_ddi_ppd(child, &pdptr);
304 ddi_set_parent_data(child, pdptr);
312 if (sparc_pd_getnreg(child) == 0) {
316 rp = sparc_pd_getreg(child, 0);
334 impl_ddi_sunbus_initchild(dev_info_t *child)
338 (void) impl_sunbus_name_child(child, name, MAXNAMELEN);
339 ddi_set_name_addr(child, name);
343 * remove this child.
345 if ((ndi_dev_is_persistent_node(child) == 0) &&
346 (ndi_merge_node(child, impl_sunbus_name_child) == DDI_SUCCESS)) {
347 impl_ddi_sunbus_removechild(child);
355 * It does not remove the child, it uninitializes it, reclaiming the