Home
last modified time | relevance | path

Searched refs:bus_alloc_resource (Results 1 – 25 of 88) sorted by relevance

1234

/dflybsd-src/sys/dev/misc/atkbdc_layer/
H A Datkbdc_isa.c83 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
158 port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_probe()
168 port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_probe()
261 sc->port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_attach()
268 sc->port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_attach()
/dflybsd-src/sys/dev/raid/dpt/
H A Ddpt_pci.c88 io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); in dpt_pci_attach()
94 io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); in dpt_pci_attach()
104 irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, in dpt_pci_attach()
/dflybsd-src/sys/dev/raid/mlx/
H A Dmlx_pci.c160 sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE); in mlx_pci_attach()
164 sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE); in mlx_pci_attach()
171 sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE); in mlx_pci_attach()
/dflybsd-src/sys/dev/misc/ipmi/
H A Dipmi_isa.c216 sc->ipmi_io_res[0] = bus_alloc_resource(dev, type, in ipmi_isa_attach()
226 sc->ipmi_io_res[i] = bus_alloc_resource(dev, type, in ipmi_isa_attach()
242 sc->ipmi_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, in ipmi_isa_attach()
/dflybsd-src/sys/dev/disk/nata/
H A Data-isa.c67 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe()
79 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe()
H A Data-card.c88 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_pccard_attach()
109 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_pccard_attach()
/dflybsd-src/sys/dev/powermng/wbsio/
H A Dwbsio.c52 DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
139 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, in wbsio_probe()
218 sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid, in wbsio_attach()
/dflybsd-src/sys/dev/disk/advansys/
H A Dadw_pci.c211 regs = bus_alloc_resource(dev, regs_type, in adw_pci_attach()
218 regs = bus_alloc_resource(dev, regs_type, in adw_pci_attach()
293 adw->irq = bus_alloc_resource(dev, adw->irq_res_type, &zero, in adw_pci_attach()
H A Dadv_pci.c165 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in adv_pci_attach()
287 irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &irqrid, 0, ~0, 1, in adv_pci_attach()
/dflybsd-src/sys/dev/pccard/pccbb/
H A Dpccbb_isa.c116 res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, i, i,
185 DEVMETHOD(bus_alloc_resource, cbb_alloc_resource),
/dflybsd-src/sys/bus/smbus/ichsmb/
H A Dichsmb_pci.c233 sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, in ichsmb_pci_attach()
236 sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, in ichsmb_pci_attach()
/dflybsd-src/sys/bus/pci/
H A Dhostb_pci.c109 return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); in pci_hostb_alloc_resource()
222 DEVMETHOD(bus_alloc_resource, pci_hostb_alloc_resource),
H A Dvga_pci.c310 vr->vr_res = bus_alloc_resource(dev, type, rid, start, in vga_pci_alloc_resource()
316 return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); in vga_pci_alloc_resource()
491 DEVMETHOD(bus_alloc_resource, vga_pci_alloc_resource),
H A Disa_pci.c68 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
/dflybsd-src/sys/bus/pci/x86_64/
H A Dmptable_pci.c165 DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource),
227 DEVMETHOD(bus_alloc_resource, pcib_alloc_resource),
H A Dlegacy.c77 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
267 DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource),
/dflybsd-src/sys/bus/isa/
H A Disa_common.c138 res[i] = bus_alloc_resource(child, in isa_find_memory()
202 res[i] = bus_alloc_resource(child, in isa_find_port()
287 res[i] = bus_alloc_resource(child, in isa_find_irq()
346 res[i] = bus_alloc_resource(child, in isa_find_drq()
1012 DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
H A Dvga_isa.c144 bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, in isavga_attach()
147 bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, in isavga_attach()
/dflybsd-src/sys/dev/powermng/viapm/
H A Dviapm.c327 if (!(viapm->iores = bus_alloc_resource(dev, SYS_RES_IOPORT, in viapm_pro_attach()
341 if (!(viapm->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, in viapm_pro_attach()
397 if (!(viapm->iores = bus_alloc_resource(dev, SYS_RES_IOPORT, in viapm_586b_attach()
886 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
922 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
/dflybsd-src/sys/dev/raid/ida/
H A Dida_pci.c253 ida->regs = bus_alloc_resource(dev, ida->regs_res_type, in ida_pci_attach()
274 ida->irq = bus_alloc_resource(dev, ida->irq_res_type, &rid, in ida_pci_attach()
/dflybsd-src/sys/dev/powermng/lm/
H A Dlm78_isa.c104 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, in lm_isa_probe()
189 sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid, in lm_isa_attach()
/dflybsd-src/sys/dev/sound/pci/
H A Dhdspe.c131 sc->cs = bus_alloc_resource(sc->dev, SYS_RES_MEMORY, in hdspe_alloc_resources()
144 sc->irq = bus_alloc_resource(sc->dev, SYS_RES_IRQ, &sc->irqid, in hdspe_alloc_resources()
/dflybsd-src/sys/dev/powermng/it/
H A Dit.c115 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, in it_probe()
143 sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid, in it_attach()
/dflybsd-src/sys/dev/misc/nsclpcsio/
H A Dnsclpcsio_isa.c268 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, 0ul, ~0ul, 8, RF_ACTIVE); in nsclpcsio_isa_probe()
294 sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid, 0ul, ~0ul, 8, RF_ACTIVE); in nsclpcsio_isa_attach()
325 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, in nsclpcsio_isa_attach()
/dflybsd-src/sys/bus/firewire/
H A Dfwohci_pci.c267 sc->bsr = bus_alloc_resource(self, SYS_RES_MEMORY, &rid, in fwohci_pci_attach()
278 sc->irq_res = bus_alloc_resource(self, SYS_RES_IRQ, &rid, 0, ~0, 1, in fwohci_pci_attach()

1234