Home
last modified time | relevance | path

Searched refs:sc_mem_rman (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/powerpc/psim/
H A Diobus.c62 struct rman sc_mem_rman; member
211 sc->sc_mem_rman.rm_type = RMAN_ARRAY; in iobus_attach()
212 sc->sc_mem_rman.rm_descr = "IOBus Device Memory"; in iobus_attach()
213 if (rman_init(&sc->sc_mem_rman) != 0) { in iobus_attach()
218 rman_manage_region(&sc->sc_mem_rman, 0, sc->sc_size); in iobus_attach()
314 return (&sc->sc_mem_rman); in iobus_get_rman()
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c140 struct rman sc_mem_rman; member
339 sc->sc_mem_rman.rm_type = RMAN_ARRAY; in ps3bus_attach()
340 sc->sc_mem_rman.rm_descr = "PS3Bus Memory Mapped I/O"; in ps3bus_attach()
343 rman_init(&sc->sc_mem_rman); in ps3bus_attach()
408 ps3bus_resources_init_by_type(&sc->sc_mem_rman, bus_index, in ps3bus_attach()
434 ps3bus_resources_init_by_type(&sc->sc_mem_rman, bus_index, in ps3bus_attach()
463 ps3bus_resources_init(&sc->sc_mem_rman, bus_index, in ps3bus_attach()
541 return (&sc->sc_mem_rman); in ps3bus_get_rman()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c211 sc->sc_mem_rman.rm_type = RMAN_ARRAY; in ofw_pcib_init()
212 sc->sc_mem_rman.rm_descr = "PCI Non Prefetchable Memory"; in ofw_pcib_init()
213 error = rman_init(&sc->sc_mem_rman); in ofw_pcib_init()
247 error = rman_manage_region(&sc->sc_mem_rman, in ofw_pcib_init()
269 rman_fini(&sc->sc_mem_rman); in ofw_pcib_init()
288 rman_fini(&sc->sc_mem_rman); in ofw_pcib_fini()
719 return (&sc->sc_mem_rman); in ofw_pcib_get_rman()
H A Dofwpci.h69 struct rman sc_mem_rman; member
/freebsd/sys/powerpc/powermac/
H A Dmacio.c67 struct rman sc_mem_rman; member
354 sc->sc_mem_rman.rm_type = RMAN_ARRAY; in macio_attach()
355 sc->sc_mem_rman.rm_descr = "MacIO Device Memory"; in macio_attach()
356 error = rman_init(&sc->sc_mem_rman); in macio_attach()
361 error = rman_manage_region(&sc->sc_mem_rman, 0, sc->sc_size); in macio_attach()
516 return (&sc->sc_mem_rman); in macio_get_rman()
H A Duninorth.c310 sc->sc_mem_rman.rm_type = RMAN_ARRAY; in unin_chip_attach()
311 sc->sc_mem_rman.rm_descr = "UniNorth Device Memory"; in unin_chip_attach()
313 error = rman_init(&sc->sc_mem_rman); in unin_chip_attach()
320 error = rman_manage_region(&sc->sc_mem_rman, sc->sc_physaddr, in unin_chip_attach()
473 return (&sc->sc_mem_rman); in unin_chip_get_rman()
H A Duninorthvar.h48 struct rman sc_mem_rman; member
/freebsd/sys/powerpc/powernv/
H A Dopal_pci.c491 rman_manage_region(&sc->ofw_sc.sc_mem_rman, rp->pci, in opalpci_attach()