Home
last modified time | relevance | path

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

1234567891011

/freebsd-10-stable/sys/dev/altera/atse/
Dif_atse_nexus.c174 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/
Datkbdc_ebus.c69 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/
Data-isa.c72 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()
Data-cbus.c78 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),
Data-card.c101 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/
Dcy_isa.c83 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()
Dcy_pci.c117 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/
Dgusc.c189 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/
Dterasic_mtl_nexus.c116 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/
Dipmi_isa.c217 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/
Dqpi.c194 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/
Dif_cm_isa.c64 sc->port_res = bus_alloc_resource(
75 sc->mem_res = bus_alloc_resource(
/freebsd-10-stable/sys/dev/aha/
Daha_isa.c123 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/
Drp_isa.c197 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/
Dsb_zbpci.c97 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/
Ddigi_isa.c280 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/
Dpccbb_isa.c147 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/
Dichsmb_pci.c226 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/
Dpcrtc.c159 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/
Disa_pci.c71 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()
Dhostb_pci.c108 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/
Dmptable_pci.c171 DEVMETHOD(bus_alloc_resource, mptable_hostb_alloc_resource),
174 DEVMETHOD(bus_alloc_resource, legacy_pcib_alloc_resource),
/freebsd-10-stable/sys/dev/fdc/
Dfdc_isa.c92 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/
Dif_snc.c74 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/
Dciu.c127 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),

1234567891011