Lines Matching refs:bus
34 #include <sys/bus.h>
232 zbbus_hinted_child(device_t bus, const char *dname, int dunit)
241 child = BUS_ADD_CHILD(bus, 0, dname, dunit);
247 device_printf(bus, "Adding hinted child %s%d\n", dname, dunit);
255 device_printf(bus, "Assigning memory resource "
261 device_printf(bus, "Unable to set memory resource "
269 device_printf(bus, "Assigning irq resource %d to "
274 device_printf(bus, "Unable to set irq resource %d"
282 zbbus_alloc_resource(device_t bus, device_t child, int type, int *rid,
296 if (device_get_parent(child) == bus) {
348 res = bus_generic_alloc_resource(bus, child, type, rid,
367 if (res != NULL && rle == NULL && device_get_parent(child) == bus) {
375 KASSERT(device_get_parent(child) == bus,
405 zbbus_add_child(device_t bus, u_int order, const char *name, int unit)
410 child = device_add_child_ordered(bus, order, name, unit);