Home
last modified time | relevance | path

Searched refs:bus_set_resource (Results 1 – 25 of 35) sorted by relevance

12

/dflybsd-src/sys/bus/isa/
H A Disahint.c64 bus_set_resource(child, SYS_RES_IOPORT, 0, start, count, -1); in isahint_add_device()
71 bus_set_resource(child, SYS_RES_MEMORY, 0, start, count, -1); in isahint_add_device()
74 bus_set_resource(child, SYS_RES_IRQ, 0, start, 1, in isahint_add_device()
79 bus_set_resource(child, SYS_RES_DRQ, 0, start, 1, -1); in isahint_add_device()
H A Disa_common.c136 bus_set_resource(child, SYS_RES_MEMORY, i, in isa_find_memory()
200 bus_set_resource(child, SYS_RES_IOPORT, i, in isa_find_port()
285 bus_set_resource(child, SYS_RES_IRQ, i, in isa_find_irq()
344 bus_set_resource(child, SYS_RES_DRQ, i, in isa_find_drq()
1018 DEVMETHOD(bus_set_resource, isa_set_resource),
H A Dvga_isa.c118 bus_set_resource(dev, SYS_RES_IOPORT, 0, in isavga_probe()
120 bus_set_resource(dev, SYS_RES_MEMORY, 0, in isavga_probe()
/dflybsd-src/sys/dev/powermng/wbsio/
H A Dwbsio.c51 DEVMETHOD(bus_set_resource, bus_generic_set_resource),
118 if (bus_set_resource(child[i], SYS_RES_IOPORT, 0, in wbsio_identify()
261 if (bus_set_resource(child, SYS_RES_IOPORT, 0, iobase, 8, -1)) { in wbsio_attach()
/dflybsd-src/sys/dev/misc/orm/
H A Dorm.c105 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify()
137 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify()
/dflybsd-src/sys/dev/acpica/
H A Dacpi_resource.c515 bus_set_resource(dev, SYS_RES_IOPORT, cp->ar_nio++, base, length, -1); in acpi_res_set_ioport()
548 bus_set_resource(dev, SYS_RES_MEMORY, cp->ar_nmem++, base, length, -1); in acpi_res_set_memory()
577 bus_set_resource(dev, SYS_RES_IRQ, cp->ar_nirq++, *irq, 1, in acpi_res_set_irq()
599 bus_set_resource(dev, SYS_RES_IRQ, cp->ar_nirq++, *irq, 1, in acpi_res_set_ext_irq()
615 bus_set_resource(dev, SYS_RES_DRQ, cp->ar_ndrq++, *drq, 1, -1); in acpi_res_set_drq()
748 bus_set_resource(bus, type, acpi_sysres_rid++, start, count, -1); in acpi_sysres_attach()
H A Dacpi_hpet.c336 if (bus_set_resource(child, SYS_RES_MEMORY, 0, in acpi_hpet_identify()
374 if (bus_set_resource(child, SYS_RES_MEMORY, 0, in acpi_hpet_identify()
H A Dacpi_cpu.c78 DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
H A Dacpi_ec.c358 bus_set_resource(child, SYS_RES_IOPORT, 0, ecdt->Data.Address, in acpi_ec_ecdt_probe()
360 bus_set_resource(child, SYS_RES_IOPORT, 1, ecdt->Control.Address, in acpi_ec_ecdt_probe()
H A Dacpi_cpu_cstate.c185 DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
/dflybsd-src/sys/dev/misc/amdsbwd/
H A Damdsbwd.c417 rc = bus_set_resource(dev, SYS_RES_IOPORT, 0, AMDSB_PMIO_INDEX, in amdsbwd_probe()
449 rc = bus_set_resource(dev, SYS_RES_MEMORY, 0, addr + AMDSB_WD_CTRL, in amdsbwd_probe()
455 rc = bus_set_resource(dev, SYS_RES_MEMORY, 1, addr + AMDSB_WD_COUNT, in amdsbwd_probe()
/dflybsd-src/sys/dev/disk/nata/
H A Data-isa.c73 bus_set_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, in ata_isa_probe()
/dflybsd-src/sys/platform/pc64/x86_64/
H A Dnexus.c148 DEVMETHOD(bus_set_resource, nexus_set_resource),
682 error = bus_set_resource(dev, SYS_RES_MEMORY, rid, in ram_attach()
711 error = bus_set_resource(dev, SYS_RES_MEMORY, rid, in ram_attach()
/dflybsd-src/sys/dev/acpica/Osd/
H A DOsdInterrupt.c95 bus_set_resource(sc->acpi_dev, SYS_RES_IRQ, 0, InterruptNumber, 1, in AcpiOsInstallInterruptHandler()
/dflybsd-src/sys/dev/pccard/pccbb/
H A Dpccbb_isa.c124 bus_set_resource(dev, SYS_RES_IRQ, 0, i, 1);
/dflybsd-src/sys/dev/powermng/intpm/
H A Dintpm.c146 rc = bus_set_resource(dev, SYS_RES_IOPORT, rid, AMDSB_PMIO_INDEX, in sb8xx_attach()
185 rc = bus_set_resource(dev, SYS_RES_IOPORT, sc->io_rid, addr, in sb8xx_attach()
310 bus_set_resource(dev, SYS_RES_IRQ, rid, 9, 1, in intsmb_attach()
/dflybsd-src/sys/dev/powermng/amdpm/
H A Damdpm.c164 bus_set_resource(dev, SYS_RES_IOPORT, AMDPCI_PMBASE, in amdpm_probe()
179 bus_set_resource(dev, SYS_RES_IOPORT, NFPCI_PMBASE, in amdpm_probe()
/dflybsd-src/sys/bus/pci/x86_64/
H A Dlegacy.c266 DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
/dflybsd-src/sys/dev/powermng/viapm/
H A Dviapm.c218 if (bus_set_resource(dev, SYS_RES_IOPORT, viapm->iorid, in viapm_586b_probe()
297 if (bus_set_resource(dev, SYS_RES_IOPORT, viapm->iorid, in viapm_pro_probe()
/dflybsd-src/sys/dev/misc/atkbdc_layer/
H A Datkbdc_isa.c164 bus_set_resource(dev, SYS_RES_IOPORT, 1, in atkbdc_probe()
/dflybsd-src/sys/dev/sound/pci/
H A Dvibes.c827 bus_set_resource(dev, SYS_RES_IOPORT, SV_PCI_DMAA, sdmaa, SV_PCI_DMAA_SIZE, -1); in sv_attach()
828 bus_set_resource(dev, SYS_RES_IOPORT, SV_PCI_DMAC, sdmac, SV_PCI_DMAC_SIZE, -1); in sv_attach()
/dflybsd-src/sys/dev/powermng/aps/
H A Daps.c284 if (bus_set_resource(child, SYS_RES_IOPORT, 0, in aps_identify()
/dflybsd-src/sys/dev/misc/ichwd/
H A Dichwd.c477 rc = bus_set_resource(ich, SYS_RES_MEMORY, 0, in ichwd_identify()
/dflybsd-src/sys/sys/
H A Dbus.h334 int bus_set_resource(device_t dev, int type, int rid,
/dflybsd-src/share/man/man9/
H A DMakefile28 bus_set_resource.9 \

12