Searched refs:sc_rtype (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/quicc/ |
H A D | quicc_core.c | 111 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_attach() 128 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, in quicc_bfe_attach() 182 resource_list_add(&qd->qd_rlist, sc->sc_rtype, 0, start, in quicc_bfe_attach() 211 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in quicc_bfe_detach() 228 sc->sc_rtype = SYS_RES_MEMORY; in quicc_bfe_probe() 229 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_probe() 233 sc->sc_rtype = SYS_RES_IOPORT; in quicc_bfe_probe() 234 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, in quicc_bfe_probe() 249 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in quicc_bfe_probe()
|
H A D | quicc_bfe.h | 41 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ member
|
/freebsd/sys/dev/scc/ |
H A D | scc_core.c | 132 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_attach() 178 resource_list_add(&ch->ch_rlist, sc->sc_rtype, 0, start, in scc_bfe_attach() 180 rle = resource_list_find(&ch->ch_rlist, sc->sc_rtype, 0); in scc_bfe_attach() 299 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_attach() 341 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_detach() 380 sc->sc_rtype = SYS_RES_MEMORY; in scc_bfe_probe() 381 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_probe() 385 sc->sc_rtype = SYS_RES_IOPORT; in scc_bfe_probe() 386 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_probe() 404 bus_release_resource(dev, sc->sc_rtype, s in scc_bfe_probe() [all...] |
H A D | scc_bfe.h | 127 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ member
|
/freebsd/sys/dev/uart/ |
H A D | uart_core.c | 530 sc->sc_rtype = SYS_RES_IOPORT; in uart_bus_probe() 531 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_probe() 535 sc->sc_rtype = SYS_RES_MEMORY; in uart_bus_probe() 536 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, in uart_bus_probe() 573 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_probe() 620 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_attach() 771 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_attach() 805 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_detach()
|
H A D | uart_bus.h | 86 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ member
|