/freebsd-11-stable/sys/dev/advansys/ |
H A D | adv_pci.c | 143 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 D | adv_isa.c | 116 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-11-stable/sys/dev/ips/ |
H A D | ips.h | 59 #define ips_read_1(sc,offset) bus_read_1(sc->iores, offset) 60 #define ips_read_2(sc,offset) bus_read_2(sc->iores, offset) 61 #define ips_read_4(sc,offset) bus_read_4(sc->iores, offset) 63 #define ips_write_1(sc,offset,value) bus_write_1(sc->iores, offset, value) 64 #define ips_write_2(sc,offset,value) bus_write_2(sc->iores, offset, value) 65 #define ips_write_4(sc,offset,value) bus_write_4(sc->iores, offset, value) 116 struct resource * iores; member in struct:ips_softc
|
H A D | ips_pci.c | 91 sc->iores = NULL; 98 sc->iores = bus_alloc_resource_any(dev, sc->iotype, &sc->rid, 100 if(!sc->iores){ 104 sc->iores = bus_alloc_resource_any(dev, sc->iotype, 107 if(sc->iores == NULL){ 173 if(sc->iores) 174 bus_release_resource(sc->dev, sc->iotype, sc->rid, sc->iores);
|
/freebsd-11-stable/sys/dev/viapm/ |
H A D | viapm.c | 77 ((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-11-stable/sys/dev/trm/ |
H A D | trm.h | 244 struct resource *iores, *irq; member in struct:_ACB
|
H A D | trm.c | 3196 pACB->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 3198 if (pACB->iores == NULL) { 3214 pACB->tag = rman_get_bustag(pACB->iores); 3215 pACB->bsh = rman_get_bushandle(pACB->iores); 3341 if (pACB->iores) 3343 pACB->iores); 3462 if (pACB->iores) 3464 pACB->iores); 3524 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), pACB->iores);
|