| /freebsd-10-stable/sys/dev/altera/atse/ |
| D | if_atse_nexus.c | 174 sc->atse_rx_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, in atse_attach_nexus() 179 sc->atse_rx_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in atse_attach_nexus() 187 sc->atse_rxc_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in atse_attach_nexus() 201 sc->atse_tx_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, in atse_attach_nexus() 206 sc->atse_tx_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in atse_attach_nexus() 214 sc->atse_txc_mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in atse_attach_nexus()
|
| /freebsd-10-stable/sys/dev/atkbdc/ |
| D | atkbdc_ebus.c | 69 DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource), 138 port0 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, 1, in atkbdc_ebus_probe() 153 port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, 1, in atkbdc_ebus_probe() 206 sc->port0 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, in atkbdc_ebus_attach() 221 sc->port1 = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, start, start, in atkbdc_ebus_attach()
|
| /freebsd-10-stable/sys/dev/ata/ |
| D | ata-isa.c | 72 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe() 84 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe() 112 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_attach() 124 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_attach()
|
| D | ata-cbus.c | 78 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_cbus_probe() 109 if (!(ctlr->io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_cbus_attach() 115 bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, in ata_cbus_attach() 123 if (!(ctlr->bankio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, in ata_cbus_attach() 240 DEVMETHOD(bus_alloc_resource, ata_cbus_alloc_resource),
|
| D | ata-card.c | 101 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_pccard_attach() 122 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_pccard_attach()
|
| /freebsd-10-stable/sys/dev/cy/ |
| D | cy_isa.c | 83 mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &mem_rid, in cy_isa_probe() 115 mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &mem_rid, in cy_isa_attach() 130 irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &irq_rid, 0ul, ~0ul, 0ul, in cy_isa_attach()
|
| D | cy_pci.c | 117 ioport_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &ioport_rid, 126 mem_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &mem_rid, 141 irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &irq_rid, 0ul, ~0ul, 0ul,
|
| /freebsd-10-stable/sys/dev/sound/isa/ |
| D | gusc.c | 189 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, base + 0x100, in gusisa_probe() 238 res2 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid2, base, base, 1, in gusisa_probe() 504 scp->io[i] = bus_alloc_resource(scp->dev, SYS_RES_IOPORT, &scp->io_rid[i], in alloc_resource() 507 scp->io[i] = bus_alloc_resource(scp->dev, SYS_RES_IOPORT, &scp->io_rid[i], in alloc_resource() 537 scp->drq[i] = bus_alloc_resource(scp->dev, SYS_RES_DRQ, &scp->drq_rid[i], in alloc_resource() 549 scp->io[0] = bus_alloc_resource(scp->dev, SYS_RES_IOPORT, &scp->io_rid[0], in alloc_resource() 559 scp->io[0] = bus_alloc_resource(scp->dev, SYS_RES_IOPORT, &scp->io_rid[0], in alloc_resource() 647 DEVMETHOD(bus_alloc_resource, gusc_alloc_resource),
|
| /freebsd-10-stable/sys/dev/terasic/mtl/ |
| D | terasic_mtl_nexus.c | 116 sc->mtl_reg_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in terasic_mtl_nexus_attach() 127 sc->mtl_pixel_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in terasic_mtl_nexus_attach() 138 sc->mtl_text_res = bus_alloc_resource(dev, SYS_RES_MEMORY, in terasic_mtl_nexus_attach()
|
| /freebsd-10-stable/sys/dev/ipmi/ |
| D | ipmi_isa.c | 217 sc->ipmi_io_res[0] = bus_alloc_resource(dev, type, in ipmi_isa_attach() 227 sc->ipmi_io_res[i] = bus_alloc_resource(dev, type, in ipmi_isa_attach() 243 sc->ipmi_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, in ipmi_isa_attach()
|
| /freebsd-10-stable/sys/x86/pci/ |
| D | qpi.c | 194 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), 276 DEVMETHOD(bus_alloc_resource, qpi_pcib_alloc_resource), 280 DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
|
| /freebsd-10-stable/sys/dev/cm/ |
| D | if_cm_isa.c | 64 sc->port_res = bus_alloc_resource( 75 sc->mem_res = bus_alloc_resource(
|
| /freebsd-10-stable/sys/dev/aha/ |
| D | aha_isa.c | 123 aha->port = bus_alloc_resource(dev, SYS_RES_IOPORT, &port_rid, in aha_isa_probe() 194 aha->port = bus_alloc_resource(dev, SYS_RES_IOPORT, &aha->portrid, in aha_isa_attach() 324 aha.port = bus_alloc_resource(parent, SYS_RES_IOPORT, &rid, in aha_isa_identify()
|
| /freebsd-10-stable/sys/dev/rp/ |
| D | rp_isa.c | 197 ctlp->io[0] = bus_alloc_resource(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0, ~0, 0x40, RF_ACTIVE); in rp_probe() 200 ctlp->io[0] = bus_alloc_resource(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0, ~0, 0x44, RF_ACTIVE); in rp_probe() 386 …MudbacCtlP->io[ISACTL(CtlP)->MBaseIO] = bus_alloc_resource(MudbacCtlP->dev, SYS_RES_IOPORT, &CtlP-… in sInitController() 426 …CtlP->io[i] = bus_alloc_resource(CtlP->dev, SYS_RES_IOPORT, &CtlP->io_rid[i], aiop_base, aiop_base… in sInitController()
|
| /freebsd-10-stable/sys/mips/sibyte/ |
| D | sb_zbpci.c | 97 res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, in zbpci_attach() 119 res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, CFG_PADDR_BASE, in zbpci_attach() 129 res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, in zbpci_attach() 437 DEVMETHOD(bus_alloc_resource, zbpci_alloc_resource),
|
| /freebsd-10-stable/sys/dev/digi/ |
| D | digi_isa.c | 280 sc->res.io = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->res.iorid, in digi_isa_probe() 294 sc->res.mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->res.mrid, in digi_isa_probe() 345 sc->res.io = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->res.iorid, in digi_isa_attach() 359 sc->res.mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->res.mrid, in digi_isa_attach()
|
| /freebsd-10-stable/sys/dev/pccbb/ |
| D | pccbb_isa.c | 147 res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, i, i, in cbb_isa_activate() 231 DEVMETHOD(bus_alloc_resource, cbb_alloc_resource),
|
| /freebsd-10-stable/sys/dev/ichsmb/ |
| D | ichsmb_pci.c | 226 sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, in ichsmb_pci_attach() 229 sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, in ichsmb_pci_attach()
|
| /freebsd-10-stable/sys/pc98/cbus/ |
| D | pcrtc.c | 159 if (!(sc->port_res1 = bus_alloc_resource(dev, SYS_RES_IOPORT, in pcrtc_attach() 164 if (!(sc->port_res2 = bus_alloc_resource(dev, SYS_RES_IOPORT, in pcrtc_attach()
|
| /freebsd-10-stable/sys/dev/pci/ |
| D | isa_pci.c | 71 DEVMETHOD(bus_alloc_resource, isab_pci_alloc_resource), 193 sc->isab_pci_res[bar].ip_res = bus_alloc_resource(dev, type, in isab_pci_alloc_resource()
|
| D | hostb_pci.c | 108 return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); in pci_hostb_alloc_resource() 237 DEVMETHOD(bus_alloc_resource, pci_hostb_alloc_resource),
|
| /freebsd-10-stable/sys/x86/x86/ |
| D | mptable_pci.c | 171 DEVMETHOD(bus_alloc_resource, mptable_hostb_alloc_resource), 174 DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource),
|
| /freebsd-10-stable/sys/dev/fdc/ |
| D | fdc_isa.c | 92 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &newrid, in fdc_isa_alloc_resources() 120 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &newrid, port, in fdc_isa_alloc_resources()
|
| /freebsd-10-stable/sys/dev/snc/ |
| D | if_snc.c | 74 res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, in snc_alloc_port() 97 res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, in snc_alloc_memory()
|
| /freebsd-10-stable/sys/mips/cavium/ |
| D | ciu.c | 127 sc->ciu_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, CIU_IRQ_HARD, in ciu_attach() 185 return (bus_alloc_resource(device_get_parent(bus), type, rid, in ciu_alloc_resource() 467 DEVMETHOD(bus_alloc_resource, ciu_alloc_resource),
|