Lines Matching defs:child

446 impl_xlate_intrs(dev_info_t *child, int *in,
470 if ((ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
491 DEVI(child)->devi_name,
492 DEVI(child)->devi_instance, level, vec);
522 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
529 DEVI(child)->devi_name,
530 DEVI(child)->devi_instance, n,
549 DEVI(child)->devi_name,
550 DEVI(child)->devi_instance, level, vec);
607 make_ddi_ppd(dev_info_t *child, struct ddi_parent_private_data **ppd)
619 if ((get_prop_int_array(child, "reg", &reg_prop, &reg_len) ==
633 if (get_prop_int_array(child, "ranges", &rng_prop, &rng_len)
647 if (get_prop_int_array(child, "intr", &intr_prop, &intr_len)
656 if (get_prop_int_array(child, "interrupts", &irupts_prop,
708 if (impl_xlate_intrs(child, out, pdptr) != DDI_SUCCESS) {
711 DEVI(child)->devi_binding_name,
712 DEVI(child)->devi_instance);
719 * Name a child
722 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen)
728 if (ddi_get_parent_data(child) == NULL) {
730 make_ddi_ppd(child, &pdptr);
731 ddi_set_parent_data(child, pdptr);
735 if (sparc_pd_getnreg(child) > 0) {
737 (uint_t)sparc_pd_getreg(child, 0)->regspec_bustype,
738 (uint_t)sparc_pd_getreg(child, 0)->regspec_addr);
758 impl_ddi_sunbus_initchild(dev_info_t *child)
764 * Name the child, also makes parent private data
766 (void) impl_sunbus_name_child(child, name, MAXNAMELEN);
767 ddi_set_name_addr(child, name);
773 if ((ndi_dev_is_persistent_node(child) == 0) &&
774 (ndi_merge_node(child, impl_sunbus_name_child) == DDI_SUCCESS)) {
778 impl_ddi_sunbus_removechild(child);