/freebsd-13-stable/sys/dev/sound/pci/ |
H A D | vibes.c | 742 sc->enh_type = SYS_RES_IOPORT; 803 bus_get_resource(dev, SYS_RES_IOPORT, SV_PCI_MIDI, &midi_start, &count); 804 bus_get_resource(dev, SYS_RES_IOPORT, SV_PCI_GAMES, &games_start, &count); 829 bus_set_resource(dev, SYS_RES_IOPORT, SV_PCI_DMAA, sdmaa, SV_PCI_DMAA_SIZE); 830 bus_set_resource(dev, SYS_RES_IOPORT, SV_PCI_DMAC, sdmac, SV_PCI_DMAC_SIZE); 834 sc->dmaa_type = SYS_RES_IOPORT; 852 sc->dmac_type = SYS_RES_IOPORT;
|
/freebsd-13-stable/sys/x86/x86/ |
H A D | nexus.c | 311 retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx"); 359 case SYS_RES_IOPORT: 447 (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT)) { 471 (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT)) { 491 case SYS_RES_IOPORT: 516 case SYS_RES_IOPORT: 548 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/dev/ata/chipsets/ |
H A D | ata-acerlabs.c | 126 res->bars[i] = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, 131 bus_release_resource(dev, SYS_RES_IOPORT, 184 bus_release_resource(dev, SYS_RES_IOPORT,
|
H A D | ata-via.c | 165 ctlr->r_type2 = SYS_RES_IOPORT; 224 SYS_RES_IOPORT, 278 SYS_RES_IOPORT, rid, ch->r_io[ATA_CONTROL].res); local
|
/freebsd-13-stable/sys/dev/le/ |
H A D | if_le_pci.c | 312 lesc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 450 bus_release_resource(dev, SYS_RES_IOPORT, 474 bus_release_resource(dev, SYS_RES_IOPORT,
|
/freebsd-13-stable/share/examples/drivers/ |
H A D | make_device_driver.sh | 353 bus_set_resource(child, SYS_RES_IOPORT, 0, ioport, NUMPORTS); 448 error = bus_get_resource(device, SYS_RES_IOPORT, 0, 451 bus_set_resource(device, SYS_RES_IOPORT, 0, 744 scp->res_ioport = bus_alloc_resource(device, SYS_RES_IOPORT, 785 bus_deactivate_resource(device, SYS_RES_IOPORT, 787 bus_release_resource(device, SYS_RES_IOPORT,
|
/freebsd-13-stable/sys/dev/pci/ |
H A D | pci_host_generic.c | 289 case SYS_RES_IOPORT: 340 case SYS_RES_IOPORT: 357 space = SYS_RES_IOPORT; 479 case SYS_RES_IOPORT:
|
H A D | pci_pci.c | 164 case SYS_RES_IOPORT: 366 as->res[as->count] = bus_alloc_resource(as->sc->dev, SYS_RES_IOPORT, 393 bus_release_resource(sc->dev, SYS_RES_IOPORT, 435 if (type == SYS_RES_IOPORT && sc->bridgectl & PCIB_BCR_ISA_ENABLE) 506 pcib_alloc_window(sc, &sc->io, SYS_RES_IOPORT, 0, max); 593 pcib_release_window(sc, &sc->io, SYS_RES_IOPORT); 1918 if (type == SYS_RES_IOPORT && sc->bridgectl & PCIB_BCR_ISA_ENABLE && 1999 if (type == SYS_RES_IOPORT && sc->bridgectl & PCIB_BCR_ISA_ENABLE && 2035 if (type == SYS_RES_IOPORT && sc->bridgectl & PCIB_BCR_ISA_ENABLE && 2253 if ((type == SYS_RES_IOPORT [all...] |
/freebsd-13-stable/sys/dev/aic7xxx/ |
H A D | ahc_pci.c | 195 regs_type = SYS_RES_IOPORT;
|
/freebsd-13-stable/sys/dev/amdpm/ |
H A D | amdpm.c | 169 bus_set_resource(dev, SYS_RES_IOPORT, AMDPCI_PMBASE, 184 bus_set_resource(dev, SYS_RES_IOPORT, NFPCI_PMBASE, 209 amdpm_sc->res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 243 bus_release_resource(dev, SYS_RES_IOPORT, amdpm_sc->rid,
|
/freebsd-13-stable/sys/mips/cavium/ |
H A D | obio.c | 148 case SYS_RES_IOPORT:
|
/freebsd-13-stable/sys/powerpc/psim/ |
H A D | ata_iobus.c | 159 if (type == SYS_RES_IOPORT) {
|
/freebsd-13-stable/sys/dev/sbni/ |
H A D | if_sbni_pci.c | 98 sc->io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
|
/freebsd-13-stable/sys/dev/mlx/ |
H A D | mlx_pci.c | 166 sc->mlx_mem_type = SYS_RES_IOPORT;
|
/freebsd-13-stable/sys/arm64/cavium/ |
H A D | thunder_pcie_common.c | 186 if (((type == SYS_RES_IOPORT) || (type == SYS_RES_MEMORY)) &&
|
/freebsd-13-stable/sys/mips/nlm/ |
H A D | xlp_simplebus.c | 221 case SYS_RES_IOPORT: 280 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
|
/freebsd-13-stable/sys/isa/ |
H A D | vga_isa.c | 181 bus_set_resource(dev, SYS_RES_IOPORT, 0, 209 bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
|
/freebsd-13-stable/sys/dev/usb/controller/ |
H A D | uhci_pci.c | 288 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_IOPORT, &rid, 431 bus_release_resource(self, SYS_RES_IOPORT, PCI_UHCI_BASE_REG,
|
/freebsd-13-stable/sys/dev/acpica/ |
H A D | acpi_ec.c | 313 bus_set_resource(child, SYS_RES_IOPORT, 0, ecdt->Data.Address, 315 bus_set_resource(child, SYS_RES_IOPORT, 1, ecdt->Control.Address, 486 sc->ec_data_res = bus_alloc_resource_any(sc->ec_dev, SYS_RES_IOPORT, 496 sc->ec_csr_res = bus_alloc_resource_any(sc->ec_dev, SYS_RES_IOPORT, 546 bus_release_resource(sc->ec_dev, SYS_RES_IOPORT, sc->ec_csr_rid, 549 bus_release_resource(sc->ec_dev, SYS_RES_IOPORT, sc->ec_data_rid,
|
/freebsd-13-stable/sys/dev/glxiic/ |
H A D | glxiic.c | 329 sc->smb_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &sc->smb_rid, 338 sc->gpio_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 424 bus_release_resource(dev, SYS_RES_IOPORT, sc->smb_rid, 429 bus_release_resource(dev, SYS_RES_IOPORT, sc->gpio_rid, 466 bus_release_resource(dev, SYS_RES_IOPORT, sc->smb_rid, 471 bus_release_resource(dev, SYS_RES_IOPORT, sc->gpio_rid,
|
/freebsd-13-stable/sys/dev/superio/ |
H A D | superio.c | 476 error = bus_get_resource(dev, SYS_RES_IOPORT, 0, &port, &count); 492 res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 538 bus_release_resource(dev, SYS_RES_IOPORT, rid, res); 600 bus_set_resource(child, SYS_RES_IOPORT, 0, ports_table[i], 2); 690 bus_release_resource(dev, SYS_RES_IOPORT, sc->io_rid, sc->io_res); 800 if (resource_list_release_active(rl, dev, child, SYS_RES_IOPORT) != 0)
|
/freebsd-13-stable/sys/dev/mpt/ |
H A D | mpt_pci.c | 436 mpt->pci_pio_reg = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 527 pci_disable_io(dev, SYS_RES_IOPORT); 588 bus_release_resource(mpt->dev, SYS_RES_IOPORT,
|
/freebsd-13-stable/sys/dev/nctgpio/ |
H A D | nctgpio.c | 473 err = bus_set_resource(dev, SYS_RES_IOPORT, sc->iorid, 476 sc->iores = bus_alloc_resource_any(dev, SYS_RES_IOPORT, 566 bus_release_resource(dev, SYS_RES_IOPORT, sc->iorid, sc->iores);
|
/freebsd-13-stable/sys/powerpc/powermac/ |
H A D | macio.c | 497 case SYS_RES_IOPORT: 605 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) { 625 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {
|
H A D | uninorth.c | 478 case SYS_RES_IOPORT: 588 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) { 615 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {
|