/dflybsd-src/sys/dev/misc/atkbdc_layer/ |
H A D | atkbdc_isa.c | 83 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 D | dpt_pci.c | 88 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 D | mlx_pci.c | 160 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 D | ipmi_isa.c | 216 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 D | ata-isa.c | 67 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 D | ata-card.c | 88 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 D | wbsio.c | 52 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 D | adw_pci.c | 211 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 D | adv_pci.c | 165 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 D | pccbb_isa.c | 116 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 D | ichsmb_pci.c | 233 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 D | hostb_pci.c | 109 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 D | vga_pci.c | 310 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 D | isa_pci.c | 68 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
|
/dflybsd-src/sys/bus/pci/x86_64/ |
H A D | mptable_pci.c | 165 DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource), 227 DEVMETHOD(bus_alloc_resource, pcib_alloc_resource),
|
H A D | legacy.c | 77 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 D | isa_common.c | 138 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 D | vga_isa.c | 144 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 D | viapm.c | 327 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 D | ida_pci.c | 253 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 D | lm78_isa.c | 104 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 D | hdspe.c | 131 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 D | it.c | 115 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 D | nsclpcsio_isa.c | 268 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 D | fwohci_pci.c | 267 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()
|