Lines Matching refs:rid
144 bus_alloc_resource(device_t dev, int type, int *rid, unsigned long start,
155 "0x%" B_PRIx32 ")\n", type, *rid, start, end, count, flags);
163 if (*rid == 0) {
167 // msi or msi-x interrupt at index *rid - 1
171 res->r_bushandle = info->u.h0.interrupt_line + *rid - 1;
177 result = bus_alloc_mem_resource(dev, res, *rid);
179 result = bus_alloc_ioport_resource(dev, res, *rid);
192 bus_release_resource(device_t dev, int type, int rid, struct resource *res)
213 resourceSpec[i].type, &resourceSpec[i].rid, resourceSpec[i].flags);
238 bus_release_resource(dev, resourceSpec[i].type, resourceSpec[i].rid,