Lines Matching refs:res
380 struct resource *res;
382 res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
384 if (res) {
386 sc->port_res = res;
399 struct resource *res;
401 res = bus_alloc_resource_anywhere(dev, SYS_RES_MEMORY, &rid,
403 if (res) {
405 sc->mem_res = res;
419 struct resource *res;
421 res = bus_alloc_resource_anywhere(dev, SYS_RES_MEMORY, &rid,
423 if (res) {
425 sc->mem_aux_res = res;
440 struct resource *res;
442 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
444 if (res) {
446 sc->irq_res = res;