Lines Matching defs:res
68 struct resource *res[MAX_ROMS];
90 struct resource *res;
109 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid,
111 if (res == NULL) {
116 bt = rman_get_bustag(res);
117 bh = rman_get_bushandle(res);
131 bus_release_resource(child, SYS_RES_MEMORY, rid, res);
141 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0);
142 if (res == NULL) {
148 sc->res[sc->rnum] = res;
169 sc->res[i]);