Lines Matching defs:res
54 struct resource *res;
59 res = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid, fdc_iat, 3,
61 if (res == NULL) {
65 isa_load_resourcev(res, fdc_iat, 3);
67 fdc->resio[i] = res;
70 fdc->ioh[i] = rman_get_bushandle(res);
72 fdc->iot = rman_get_bustag(res);
76 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
77 if (res == NULL) {
81 fdc->resio[3] = res;
84 fdc->ioh[3] = rman_get_bushandle(res);
89 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
90 if (res == NULL) {
94 fdc->resio[4] = res;
97 fdc->ioh[4] = rman_get_bushandle(res);