Searched refs:iores (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/sys/dev/advansys/
H A Dadv_pci.c143 struct resource *iores, *irqres; local
160 iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
162 if (iores == NULL)
165 if (adv_find_signature(iores) == 0) {
166 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
170 adv = adv_alloc(dev, iores, 0);
172 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
197 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
222 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
232 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores);
[all...]
H A Dadv_isa.c116 struct resource *iores, *irqres; local
168 iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
170 if (iores == NULL)
173 if (adv_find_signature(iores) == 0) {
174 bus_release_resource(dev, SYS_RES_IOPORT, 0, iores);
182 adv = adv_alloc(dev, iores, 0);
184 bus_release_resource(dev, SYS_RES_IOPORT, 0, iores);
248 bus_release_resource(dev, SYS_RES_IOPORT, 0, iores);
273 iores);
283 iores);
[all...]
/freebsd-10.0-release/sys/dev/ips/
H A Dips_pci.c99 sc->iores = NULL;
106 sc->iores = bus_alloc_resource_any(dev, sc->iotype, &sc->rid,
108 if(!sc->iores){
112 sc->iores = bus_alloc_resource_any(dev, sc->iotype,
115 if(sc->iores == NULL){
119 sc->bustag = rman_get_bustag(sc->iores);
120 sc->bushandle = rman_get_bushandle(sc->iores);
185 if(sc->iores)
186 bus_release_resource(sc->dev, sc->iotype, sc->rid, sc->iores);
H A Dips.h116 struct resource * iores; member in struct:ips_softc
/freebsd-10.0-release/sys/pci/
H A Dviapm.c77 ((u_char)bus_read_1(viapm->iores, port))
79 (bus_write_1(viapm->iores, port, (u_char)(val)))
97 struct resource *iores; member in struct:viapm_softc
350 if (!(viapm->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
407 if (viapm->iores)
408 bus_release_resource(dev, SYS_RES_IOPORT, viapm->iorid, viapm->iores);
424 if (!(viapm->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
441 if (viapm->iores)
443 viapm->iorid, viapm->iores);
458 if (viapm->iores)
[all...]
/freebsd-10.0-release/sys/dev/trm/
H A Dtrm.h244 struct resource *iores, *irq; member in struct:_ACB
H A Dtrm.c3345 pACB->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
3347 if (pACB->iores == NULL) {
3363 pACB->tag = rman_get_bustag(pACB->iores);
3364 pACB->bsh = rman_get_bushandle(pACB->iores);
3490 if (pACB->iores)
3492 pACB->iores);
3613 if (pACB->iores)
3615 pACB->iores);
3677 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), pACB->iores);

Completed in 86 milliseconds