Lines Matching defs:type
225 obio_alloc_resource(device_t bus, device_t child, int type, int *rid,
241 return (BUS_ALLOC_RESOURCE(device_get_parent(bus), child, type,
250 rle = resource_list_find(&ivar->resources, type, *rid);
261 switch (type) {
269 printf("%s: unknown resource type %d\n", __func__, type);
282 if (bus_activate_resource(child, type, *rid, rv)) {
293 obio_activate_resource(device_t bus, device_t child, int type, int rid,
301 if (type == SYS_RES_MEMORY) {
314 obio_deactivate_resource(device_t bus, device_t child, int type, int rid,
322 obio_release_resource(device_t dev, device_t child, int type,
331 rle = resource_list_find(rl, type, rid);