Home
last modified time | relevance | path

Searched refs:rman_manage_region (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/x86/x86/
H A Dnexus.c220 if (rman_manage_region(&irq_rman, irq, irq) != 0) in nexus_init_resources()
234 || rman_manage_region(&drq_rman, in nexus_init_resources()
248 || rman_manage_region(&port_rman, 0, 0xffff)) in nexus_init_resources()
256 || rman_manage_region(&mem_rman, 0, mem_rman.rm_end)) in nexus_init_resources()
582 if (rman_manage_region(&irq_rman, irq, irq) != 0) in nexus_add_irq()
/freebsd/sys/powerpc/powerpc/
H A Dnexus.c136 rman_manage_region(&intr_rman, 0, ~0) != 0 || in nexus_attach()
137 rman_manage_region(&mem_rman, 0, BUS_SPACE_MAXADDR) != 0) in nexus_attach()
/freebsd/sys/riscv/riscv/
H A Dnexus.c157 rman_manage_region(&mem_rman, 0, BUS_SPACE_MAXADDR)) in nexus_attach()
163 if (rman_init(&irq_rman) || rman_manage_region(&irq_rman, 0, ~0)) in nexus_attach()
/freebsd/sys/arm/arm/
H A Dnexus.c172 rman_manage_region(&mem_rman, 0, BUS_SPACE_MAXADDR)) in nexus_attach()
178 if (rman_init(&irq_rman) || rman_manage_region(&irq_rman, 0, ~0)) in nexus_attach()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c237 error = rman_manage_region(&sc->sc_io_rman, rp->pci, in ofw_pcib_init()
244 error = rman_manage_region(&sc->sc_pmem_rman, in ofw_pcib_init()
247 error = rman_manage_region(&sc->sc_mem_rman, in ofw_pcib_init()
255 "rman_manage_region(%x, %#jx, %#jx) failed. " in ofw_pcib_init()
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c250 rman_manage_region(rm, paddr, paddr + len - 1); in ps3bus_resources_init()
321 rman_manage_region(rm, paddr, paddr + len - 1); in ps3bus_resources_init_by_type()
345 rman_manage_region(&sc->sc_intr_rman, 0, ~0); in ps3bus_attach()
/freebsd/sys/sys/
H A Drman.h145 int rman_manage_region(struct rman *rm, rman_res_t start, rman_res_t end);
/freebsd/sys/arm64/arm64/
H A Dnexus.c171 rman_manage_region(&mem_rman, 0, BUS_SPACE_MAXADDR)) in nexus_attach()
177 if (rman_init(&irq_rman) || rman_manage_region(&irq_rman, 0, ~0)) in nexus_attach()
/freebsd/sys/dev/vmd/
H A Dvmd.c322 error = rman_manage_region(&bus->rman, sc->vmd_bus_start, in vmd_attach()
339 error = rman_manage_region(&w->rman, in vmd_attach()
346 error = rman_manage_region(&w->rman, in vmd_attach()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c318 error = rman_manage_region(&r->br_mem_rman, 0, BUS_SPACE_MAXADDR_32BIT); in bhndb_alloc_resources()
336 error = rman_manage_region(&r->br_irq_rman, 0, RM_MAX_END); in bhndb_alloc_resources()
462 error = rman_manage_region(&r->ht_mem_rman, in bhndb_alloc_resources()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc.c322 error = rman_manage_region(rm, start, end); in dpaa2_mc_alloc_resource()
479 error = rman_manage_region(rm, (rman_res_t) dpaa2_dev, in dpaa2_mc_manage_dev()
/freebsd/sys/dev/pci/
H A Dpci_subr.c322 error = rman_manage_region(&d->pd_bus_rman, 0, PCI_BUSMAX); in pci_find_domain()
H A Dpci_pci.c305 error = rman_manage_region(&w->rman, rman_get_start(res[i]), in pcib_add_window_resources()
670 error = rman_manage_region(&bus->rman, rman_get_start(bus->res), in pcib_setup_secbus()
738 error = rman_manage_region(&bus->rman, old_end + 1, in pcib_grow_subbus()
1836 error = rman_manage_region(&w->rman, base, w->base - 1); in pcib_expand_window()
1839 error = rman_manage_region(&w->rman, w->limit + 1, limit); in pcib_expand_window()
H A Dpci_iov.c365 return (rman_manage_region(&iov->rman, start, end)); in pci_iov_alloc_bar()
571 return (rman_manage_region(&iov->rman, start, end)); in pci_iov_alloc_bar_ea()
H A Dpci_host_generic.c222 error = rman_manage_region(rm, pci_base, pci_base + size - 1); in pci_host_generic_core_attach()
/freebsd/sys/dev/puc/
H A Dpuc.c118 error = rman_manage_region(rm, start, end); in puc_get_bar()
263 error = rman_manage_region(&sc->sc_irq, 1, sc->sc_nports); in puc_bfe_attach()
/freebsd/sys/powerpc/psim/
H A Diobus.c218 rman_manage_region(&sc->sc_mem_rman, 0, sc->sc_size); in iobus_attach()
/freebsd/sys/x86/xen/
H A Dhvm.c592 error = rman_manage_region(mem, start, end); in xen_arch_init_physmem()
/freebsd/sys/dev/quicc/
H A Dquicc_core.c125 error = rman_manage_region(&sc->sc_rman, start, in quicc_bfe_attach()
/freebsd/sys/kern/
H A Dsubr_rman.c152 rman_manage_region(struct rman *rm, rman_res_t start, rman_res_t end) in rman_manage_region() function
236 return (rman_manage_region(rm, r->__r_i->r_start, r->__r_i->r_end)); in rman_init_from_resource()
/freebsd/sys/dev/mvs/
H A Dmvs_soc.c154 if ((error = rman_manage_region(&ctlr->sc_iomem, in mvs_attach()
/freebsd/sys/powerpc/powernv/
H A Dopal_pci.c491 rman_manage_region(&sc->ofw_sc.sc_mem_rman, rp->pci, in opalpci_attach()
/freebsd/sys/powerpc/powermac/
H A Dcpcht.c197 rman_manage_region(&sc->pci_sc.sc_io_rman, 0, CPCHT_IOPORT_SIZE - 1); in cpcht_attach()
H A Duninorth.c320 error = rman_manage_region(&sc->sc_mem_rman, sc->sc_physaddr, in unin_chip_attach()
324 "rman_manage_region() failed. error = %d\n", in unin_chip_attach()
H A Dmacio.c361 error = rman_manage_region(&sc->sc_mem_rman, 0, sc->sc_size); in macio_attach()
364 "rman_manage_region() failed. error = %d\n", error); in macio_attach()

12