Lines Matching refs:child
74 uint64_t child;
191 phandle_t child, node;
340 for (child = OF_child(node); child != 0; child = OF_peer(child)) {
348 if (OF_getprop(child, "upa-portid", &portid,
351 "could not determine upa-portid of child 0x%lx\n",
352 (unsigned long)child);
357 "upa-portid %d of child 0x%lx invalid\n", portid,
358 (unsigned long)child);
361 if ((udi = upa_setup_dinfo(dev, sc, child, portid)) == NULL)
382 upa_print_child(device_t dev, device_t child)
386 rv = bus_print_child_header(dev, child);
387 rv += upa_print_res(device_get_ivars(child));
388 rv += bus_print_child_footer(dev, child);
393 upa_probe_nomatch(device_t dev, device_t child)
397 device_printf(dev, "<%s>", ofw_bus_get_name(child));
398 upa_print_res(device_get_ivars(child));
399 type = ofw_bus_get_type(child);
405 upa_alloc_resource(device_t dev, device_t child, int type, int *rid,
416 passthrough = (device_get_parent(child) != dev);
418 rl = BUS_GET_RESOURCE_LIST(dev, child);
422 return (resource_list_alloc(rl, dev, child, type, rid, start,
438 cstart = sc->sc_ranges[i].child;
446 rv = bus_generic_alloc_resource(dev, child, type, rid,
491 upa_setup_intr(device_t dev, device_t child, struct resource *ires, int flags,
507 return (bus_generic_setup_intr(dev, child, ires, flags, filt, func,
512 upa_adjust_resource(device_t bus __unused, device_t child __unused,
521 upa_get_resource_list(device_t dev, device_t child)
525 udi = device_get_ivars(child);
530 upa_get_devinfo(device_t dev, device_t child)
534 udi = device_get_ivars(child);