/freebsd-13-stable/sys/dev/fdc/ |
H A D | fdc_isa.c | 93 res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &newrid, 103 bus_release_resource(dev, SYS_RES_IOPORT, newrid, res); 121 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &newrid, port,
|
/freebsd-13-stable/sys/dev/pbio/ |
H A D | pbio.c | 174 scp->res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 195 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->res); 202 bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->res); 209 bus_release_resource(dev, SYS_RES_IOPORT, rid, scp->res); 229 sc->res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
|
/freebsd-13-stable/sys/isa/ |
H A D | isa_common.c | 204 bus_delete_resource(child, SYS_RES_IOPORT, i); 229 bus_set_resource(child, SYS_RES_IOPORT, i, 232 SYS_RES_IOPORT, &i, 255 bus_release_resource(child, SYS_RES_IOPORT, 641 retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx"); 687 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); 695 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); 703 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); 711 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); 943 if (type != SYS_RES_IOPORT [all...] |
/freebsd-13-stable/sys/dev/sound/pci/ |
H A D | solo.c | 842 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(0), sc->io); 847 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(1), sc->sb); 852 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(2), sc->vc); 857 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(3), sc->mpu); 862 bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(4), sc->gp); 887 sc->io = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 890 sc->sb = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 893 sc->vc = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 896 sc->mpu = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 899 sc->gp = bus_alloc_resource_any(dev, SYS_RES_IOPORT, [all...] |
/freebsd-13-stable/sys/dev/nfsmb/ |
H A D | nfsmb.c | 187 nfsmbsub_sc->res = bus_alloc_resource_any(parent, SYS_RES_IOPORT, 193 SYS_RES_IOPORT, &nfsmbsub_sc->rid, RF_ACTIVE); 221 nfsmb_sc->res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 228 SYS_RES_IOPORT, &nfsmb_sc->rid, RF_ACTIVE); 290 bus_release_resource(parent, SYS_RES_IOPORT, nfsmbsub_sc->rid, 314 bus_release_resource(dev, SYS_RES_IOPORT, nfsmb_sc->rid,
|
/freebsd-13-stable/sys/dev/proto/ |
H A D | proto_core.c | 59 SYS_RES_IOPORT != PROTO_RES_UNUSED); 63 SYS_RES_IOPORT != PROTO_RES_PCICFG); 67 SYS_RES_IOPORT != PROTO_RES_BUSDMA); 198 case SYS_RES_IOPORT: 202 (r->r_type == SYS_RES_IOPORT) ? "io" : "mem"); 256 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/dev/sound/isa/ |
H A D | mss.c | 295 bus_release_resource(dev, SYS_RES_IOPORT, mss->io_rid, 300 bus_release_resource(dev, SYS_RES_IOPORT, mss->conf_rid, 305 bus_release_resource(dev, SYS_RES_IOPORT, mss->indir_rid, 323 mss->io_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 333 mss->conf_base = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 717 alt = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 726 bus_release_resource(dev, SYS_RES_IOPORT, rid, alt); 1288 mss->io_base = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, 1295 bus_set_resource(dev, SYS_RES_IOPORT, mss->io_rid, 1297 mss->io_base = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, [all...] |
H A D | sbc.c | 288 io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 317 bad2: bus_release_resource(dev, SYS_RES_IOPORT, rid, io); 549 case SYS_RES_IOPORT: 587 case SYS_RES_IOPORT: 655 SYS_RES_IOPORT, 698 bus_release_resource(scp->dev, SYS_RES_IOPORT, scp->io_rid[i], scp->io[i]);
|
/freebsd-13-stable/sys/dev/rccgpio/ |
H A D | rccgpio.c | 287 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 315 bus_release_resource(dev, SYS_RES_IOPORT, sc->sc_io_rid, 338 bus_release_resource(dev, SYS_RES_IOPORT, sc->sc_io_rid,
|
/freebsd-13-stable/sys/powerpc/psim/ |
H A D | iobus.c | 317 case SYS_RES_IOPORT: 376 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) { 396 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {
|
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | nexus.c | 233 case SYS_RES_IOPORT: 307 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) { 357 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | nexus.c | 233 case SYS_RES_IOPORT: 357 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) { 396 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
|
/freebsd-13-stable/sys/dev/amdsbwd/ |
H A D | amdsbwd.c | 441 rc = bus_set_resource(dev, SYS_RES_IOPORT, 0, AMDSB_PMIO_INDEX, 448 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 468 bus_release_resource(dev, SYS_RES_IOPORT, rid, res); 469 bus_delete_resource(dev, SYS_RES_IOPORT, rid);
|
/freebsd-13-stable/sys/dev/ichwd/ |
H A D | ichwd.c | 689 rc = bus_set_resource(dev, SYS_RES_IOPORT, 0, 768 sc->tco_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->tco_rid, 802 sc->smi_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->smi_rid, 840 sc->smi_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->smi_rid, 849 sc->tco_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->tco_rid, 910 bus_release_resource(dev, SYS_RES_IOPORT, 913 bus_release_resource(dev, SYS_RES_IOPORT, 949 bus_release_resource(dev, SYS_RES_IOPORT, sc->tco_rid, sc->tco_res); 950 bus_release_resource(dev, SYS_RES_IOPORT, sc->smi_rid, sc->smi_res);
|
/freebsd-13-stable/sys/mips/malta/ |
H A D | obio.c | 130 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/dev/sbni/ |
H A D | if_sbni_isa.c | 85 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT,
|
/freebsd-13-stable/sys/arm64/arm64/ |
H A D | nexus.c | 253 case SYS_RES_IOPORT: 360 case SYS_RES_IOPORT: 411 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) { 440 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/dev/pci/ |
H A D | isa_pci.c | 182 case SYS_RES_IOPORT: 215 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/dev/ichsmb/ |
H A D | ichsmb_pci.c | 274 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, 277 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT,
|
/freebsd-13-stable/sys/dev/if_ndis/ |
H A D | if_ndis_pci.c | 206 case SYS_RES_IOPORT: 209 SYS_RES_IOPORT, &sc->ndis_io_rid,
|
/freebsd-13-stable/sys/dev/intpm/ |
H A D | intpm.c | 148 rc = bus_set_resource(dev, SYS_RES_IOPORT, rid, AMDSB_PMIO_INDEX, 154 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 178 bus_release_resource(dev, SYS_RES_IOPORT, rid, res); 179 bus_delete_resource(dev, SYS_RES_IOPORT, rid); 187 rc = bus_set_resource(dev, SYS_RES_IOPORT, sc->io_rid, addr, 193 sc->io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->io_rid, 215 bus_release_resource(dev, SYS_RES_IOPORT, sc->io_rid, 261 sc->io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->io_rid,
|
/freebsd-13-stable/sys/dev/ipmi/ |
H A D | ipmi_isa.c | 139 bus_delete_resource(dev, SYS_RES_IOPORT, i); 211 type = SYS_RES_IOPORT;
|
H A D | ipmi_pci.c | 126 type = SYS_RES_IOPORT; 228 type = SYS_RES_IOPORT;
|
/freebsd-13-stable/sys/dev/viapm/ |
H A D | viapm.c | 230 if (bus_set_resource(dev, SYS_RES_IOPORT, viapm->iorid, 320 if (bus_set_resource(dev, SYS_RES_IOPORT, viapm->iorid, 348 if (!(viapm->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 406 bus_release_resource(dev, SYS_RES_IOPORT, viapm->iorid, viapm->iores); 422 if (!(viapm->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 440 bus_release_resource(dev, SYS_RES_IOPORT, 457 bus_release_resource(dev, SYS_RES_IOPORT, viapm->iorid, 474 bus_release_resource(dev, SYS_RES_IOPORT, viapm->iorid, viapm->iores);
|
/freebsd-13-stable/sys/dev/ofw/ |
H A D | ofwpci.c | 502 space = SYS_RES_IOPORT; 535 if (type != SYS_RES_IOPORT && type != SYS_RES_MEMORY) { 552 space = SYS_RES_IOPORT; 603 if (type != SYS_RES_IOPORT && type != SYS_RES_MEMORY) { 703 case SYS_RES_IOPORT:
|