Searched refs:SYS_RES_IOPORT (Results 51 - 75 of 188) sorted by relevance

12345678

/freebsd-13-stable/sys/dev/sound/pci/
H A Dvibes.c742 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 Dnexus.c311 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 Data-acerlabs.c126 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 Data-via.c165 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 Dif_le_pci.c312 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 Dmake_device_driver.sh353 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 Dpci_host_generic.c289 case SYS_RES_IOPORT:
340 case SYS_RES_IOPORT:
357 space = SYS_RES_IOPORT;
479 case SYS_RES_IOPORT:
H A Dpci_pci.c164 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 Dahc_pci.c195 regs_type = SYS_RES_IOPORT;
/freebsd-13-stable/sys/dev/amdpm/
H A Damdpm.c169 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 Dobio.c148 case SYS_RES_IOPORT:
/freebsd-13-stable/sys/powerpc/psim/
H A Data_iobus.c159 if (type == SYS_RES_IOPORT) {
/freebsd-13-stable/sys/dev/sbni/
H A Dif_sbni_pci.c98 sc->io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
/freebsd-13-stable/sys/dev/mlx/
H A Dmlx_pci.c166 sc->mlx_mem_type = SYS_RES_IOPORT;
/freebsd-13-stable/sys/arm64/cavium/
H A Dthunder_pcie_common.c186 if (((type == SYS_RES_IOPORT) || (type == SYS_RES_MEMORY)) &&
/freebsd-13-stable/sys/mips/nlm/
H A Dxlp_simplebus.c221 case SYS_RES_IOPORT:
280 if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
/freebsd-13-stable/sys/isa/
H A Dvga_isa.c181 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 Duhci_pci.c288 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 Dacpi_ec.c313 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 Dglxiic.c329 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 Dsuperio.c476 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 Dmpt_pci.c436 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 Dnctgpio.c473 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 Dmacio.c497 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 Duninorth.c478 case SYS_RES_IOPORT:
588 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {
615 if ((type == SYS_RES_MEMORY) || (type == SYS_RES_IOPORT)) {

Completed in 343 milliseconds

12345678