Searched refs:SYS_RES_IOPORT (Results 26 - 50 of 188) sorted by relevance

12345678

/freebsd-13-stable/sys/dev/fdc/
H A Dfdc_isa.c93 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 Dpbio.c174 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 Disa_common.c204 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 Dsolo.c842 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 Dnfsmb.c187 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 Dproto_core.c59 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 Dmss.c295 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 Dsbc.c288 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 Drccgpio.c287 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 Diobus.c317 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 Dnexus.c233 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 Dnexus.c233 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 Damdsbwd.c441 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 Dichwd.c689 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 Dobio.c130 case SYS_RES_IOPORT:
/freebsd-13-stable/sys/dev/sbni/
H A Dif_sbni_isa.c85 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT,
/freebsd-13-stable/sys/arm64/arm64/
H A Dnexus.c253 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 Disa_pci.c182 case SYS_RES_IOPORT:
215 case SYS_RES_IOPORT:
/freebsd-13-stable/sys/dev/ichsmb/
H A Dichsmb_pci.c274 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 Dif_ndis_pci.c206 case SYS_RES_IOPORT:
209 SYS_RES_IOPORT, &sc->ndis_io_rid,
/freebsd-13-stable/sys/dev/intpm/
H A Dintpm.c148 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 Dipmi_isa.c139 bus_delete_resource(dev, SYS_RES_IOPORT, i);
211 type = SYS_RES_IOPORT;
H A Dipmi_pci.c126 type = SYS_RES_IOPORT;
228 type = SYS_RES_IOPORT;
/freebsd-13-stable/sys/dev/viapm/
H A Dviapm.c230 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 Dofwpci.c502 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:

Completed in 339 milliseconds

12345678