bus_alloc_resource
sc->bsr = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
sc->irq_res = bus_alloc_resource(self, SYS_RES_IRQ, &rid, 0, ~0, 1,
pcf->res_ioport = bus_alloc_resource(pcfdev, SYS_RES_IOPORT,
pcf->res_irq = bus_alloc_resource(pcfdev, SYS_RES_IRQ, &pcf->rid_irq,
DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
res[i] = bus_alloc_resource(child,
res[i] = bus_alloc_resource(child,
res[i] = bus_alloc_resource(child,
res[i] = bus_alloc_resource(child,
bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
r = bus_alloc_resource(dev, type, rid, start, end,
DEVMETHOD(bus_alloc_resource, pccard_alloc_resource),
r = bus_alloc_resource(bus, SYS_RES_IOPORT, &rid,
r = bus_alloc_resource(bus, SYS_RES_MEMORY, &rid,
pf->ccr_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0,
return (bus_alloc_resource(dev, type, rid, start, end, count, flags));
DEVMETHOD(bus_alloc_resource, pci_hostb_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
DEVMETHOD(bus_alloc_resource, pci_alloc_resource),
DEVMETHOD(bus_alloc_resource, pcib_alloc_resource),
vr->vr_res = bus_alloc_resource(dev, type, rid, start,
return (bus_alloc_resource(dev, type, rid, start, end, count, flags));
DEVMETHOD(bus_alloc_resource, vga_pci_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource),
DEVMETHOD(bus_alloc_resource, pcib_alloc_resource),
DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource),
DEVMETHOD(bus_alloc_resource, pcib_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT,
sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT,
DEVMETHOD(bus_alloc_resource, acpi_alloc_resource),
DEVMETHOD(bus_alloc_resource, acpi_cpu_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
sc->mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
DEVMETHOD(bus_alloc_resource, acpi_pcib_acpi_alloc_resource),
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &irqrid, 0, ~0, 1,
regs = bus_alloc_resource(dev, regs_type,
regs = bus_alloc_resource(dev, regs_type,
adw->irq = bus_alloc_resource(dev, adw->irq_res_type, &zero,
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
fdc->res_ioport = bus_alloc_resource(dev, SYS_RES_IOPORT,
fdc->res_ctl = bus_alloc_resource(dev, SYS_RES_IOPORT,
fdc->res_irq = bus_alloc_resource(dev, SYS_RES_IRQ,
fdc->res_drq = bus_alloc_resource(dev, SYS_RES_DRQ,
if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0,
if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0,
if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0,
if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0,
DEVMETHOD(bus_alloc_resource, ata_pci_alloc_resource),
np->reg_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &np->reg_rid,
np->sram_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
np->irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
res = bus_alloc_resource(dev, pmtype, &rid, 0ul, ~0ul, pmwidth,
port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
sc->port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
sc->port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
sc->smi_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->smi_rid,
sc->tco_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->tco_rid,
sc->ipmi_io_res[0] = bus_alloc_resource(dev, type,
sc->ipmi_io_res[i] = bus_alloc_resource(dev, type,
sc->ipmi_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ,
sc->ipmi_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ,
res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE);
res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
csc->irq[f] = bus_alloc_resource(self, SYS_RES_IRQ, &rid, 0, ~0,
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, 0ul, ~0ul, 8, RF_ACTIVE);
sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid, 0ul, ~0ul, 8, RF_ACTIVE);
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid,
ppc->res_ioport = bus_alloc_resource(dev, SYS_RES_IOPORT,
ppc->res_ioport = bus_alloc_resource(dev, SYS_RES_IOPORT,
ppc->res_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &ppc->rid_irq,
ppc->res_drq = bus_alloc_resource(dev, SYS_RES_DRQ, &ppc->rid_drq,
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
DEVMETHOD(bus_alloc_resource, puc_alloc_resource),
psc->sc_eeprom = bus_alloc_resource(dev, SYS_RES_MEMORY,
DEVMETHOD(bus_alloc_resource, siba_bwn_alloc_resource),
sc->devcfg_res = bus_alloc_resource(sc->dev,
sc->re_res = bus_alloc_resource(dev, sc->re_res_type, &sc->re_res_id,
sc->re_res = bus_alloc_resource(dev, sc->re_res_type, &sc->re_res_id,
sc->re_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
sc->mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->port_rid,
sc->iobase = bus_alloc_resource(dev, SYS_RES_IOPORT,
sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT,
sc->port_res = bus_alloc_resource(dev,
sc->ce2_port_res = bus_alloc_resource(dev, SYS_RES_IOPORT,
sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT,
r = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0,
res = bus_alloc_resource(cbdev, SYS_RES_MEMORY, rid, 0, ~0, size,
res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, i, i,
DEVMETHOD(bus_alloc_resource, cbb_alloc_resource),
DEVMETHOD(bus_alloc_resource, cbb_alloc_resource),
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid,
sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid,
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid,
sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid,
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid,
sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid,
if (!(viapm->iores = bus_alloc_resource(dev, SYS_RES_IOPORT,
if (!(viapm->irqres = bus_alloc_resource(dev, SYS_RES_IRQ,
if (!(viapm->iores = bus_alloc_resource(dev, SYS_RES_IOPORT,
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid,
sc->sc_iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_iorid,
DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
sc->aac_regs_res1 = bus_alloc_resource(sc->aac_dev,
acb->sys_res_arcmsr[0] = bus_alloc_resource(dev,SYS_RES_MEMORY, &rid0, 0ul, ~0ul, sizeof(struct HBE_MessageUnit), RF_ACTIVE);
sc->ha_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
sc->ha_mes_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE);
io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE);
hba->pcibar[index].res = bus_alloc_resource(hba->pcidev,
hba->pcibar[index].res = bus_alloc_resource(hba->pcidev,
if ((hba->irq_res = bus_alloc_resource(hba->pcidev,
if ((hba->irq_res = bus_alloc_resource(hba->pcidev, SYS_RES_IRQ,
if (!(pAdapter->mem_res = bus_alloc_resource(pAdapter->hpt_dev, SYS_RES_MEMORY, &rid,
if ((pAdapter->hpt_irq = bus_alloc_resource(pAdapter->hpt_dev, SYS_RES_IRQ, &rid, 0, ~0ul, 1, RF_SHAREABLE | RF_ACTIVE)) == NULL)
ida->regs = bus_alloc_resource(dev, ida->regs_res_type,
ida->irq = bus_alloc_resource(dev, ida->irq_res_type, &rid,
sc->mlx_irq = bus_alloc_resource(sc->mlx_dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_SHAREABLE | RF_ACTIVE);
sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE);
sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE);
sc->mlx_mem = bus_alloc_resource(dev, sc->mlx_mem_type, &sc->mlx_mem_rid, 0, ~0, 1, RF_ACTIVE);
if ((sc->reg_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
if ((sc->reg_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
if ((sc->irq_res = bus_alloc_resource(sc->bus_dev, SYS_RES_IRQ,
if ((sc->reg_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
if ((sc->mfa_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
com->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0ul, ~0ul, 1,
port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
sc->reg = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->regid, 0, ~0,
sc->reg = bus_alloc_resource(dev, sc->regtype, &sc->regid,
sc->reg = bus_alloc_resource(dev, sc->regtype, &sc->regid,
sc->mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->memid, 0,
sc->cs = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->ddma = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->ds = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->mt = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->irq = bus_alloc_resource(sc->dev, SYS_RES_IRQ, &sc->irqid,
sc->cs = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->mt = bus_alloc_resource(sc->dev, SYS_RES_IOPORT,
sc->irq = bus_alloc_resource(sc->dev, SYS_RES_IRQ, &sc->irqid,
DEVMETHOD(bus_alloc_resource, fm801_alloc_resource),
sc->cs = bus_alloc_resource(sc->dev, SYS_RES_MEMORY,
sc->irq = bus_alloc_resource(sc->dev, SYS_RES_IRQ, &sc->irqid,
sc->enh_reg = bus_alloc_resource(dev, sc->enh_type,
sc->irq = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irqid,
sc->dmaa_reg = bus_alloc_resource(dev, sc->dmaa_type,
sc->dmac_reg = bus_alloc_resource(dev, sc->dmac_type,
sc->mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
sc->irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
sc->iobase = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->iobase_rid,
DEVMETHOD(bus_alloc_resource, nexus_alloc_resource),
struct resource *bus_alloc_resource(device_t dev, int type, int *rid,
return (bus_alloc_resource(dev, type, rid, 0ul, ~0ul, 1, flags));