Lines Matching defs:type
246 const char *type;
251 if ((type = ofw_bus_get_type(child)) == NULL)
252 type = "(unknown)";
253 device_printf(dev, "<%s, %s>", type, ofw_bus_get_name(child));
264 macgpio_alloc_resource(device_t bus, device_t child, int type, int *rid,
271 if (type != SYS_RES_IRQ)
274 return (resource_list_alloc(&dinfo->mdi_resources, bus, child, type,
279 macgpio_activate_resource(device_t bus, device_t child, int type, int rid,
289 if (type != SYS_RES_IRQ)
298 return (bus_activate_resource(bus, type, rid, res));
303 macgpio_deactivate_resource(device_t bus, device_t child, int type, int rid,
313 if (type != SYS_RES_IRQ)
322 return (bus_deactivate_resource(bus, type, rid, res));