Searched refs:sc_rtype (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/sys/dev/quicc/ |
| H A D | quicc_core.c | 112 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_attach() 129 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, in quicc_bfe_attach() 183 resource_list_add(&qd->qd_rlist, sc->sc_rtype, 0, start, in quicc_bfe_attach() 212 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in quicc_bfe_detach() 229 sc->sc_rtype = SYS_RES_MEMORY; in quicc_bfe_probe() 230 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_probe() 234 sc->sc_rtype = SYS_RES_IOPORT; in quicc_bfe_probe() 235 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, in quicc_bfe_probe() 250 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-14.2/sys/dev/scc/ |
| H A D | scc_core.c | 133 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_attach() 179 resource_list_add(&ch->ch_rlist, sc->sc_rtype, 0, start, in scc_bfe_attach() 181 rle = resource_list_find(&ch->ch_rlist, sc->sc_rtype, 0); in scc_bfe_attach() 300 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_attach() 342 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_detach() 381 sc->sc_rtype = SYS_RES_MEMORY; in scc_bfe_probe() 382 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_probe() 386 sc->sc_rtype = SYS_RES_IOPORT; in scc_bfe_probe() 387 sc->sc_rres = bus_alloc_resource_anywhere(dev, sc->sc_rtype, in scc_bfe_probe() 405 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_probe()
|
| H A D | scc_bfe.h | 127 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ member
|
| /freebsd-14.2/sys/dev/uart/ |
| H A D | uart_core.c | 531 sc->sc_rtype = SYS_RES_IOPORT; in uart_bus_probe() 532 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_probe() 536 sc->sc_rtype = SYS_RES_MEMORY; in uart_bus_probe() 537 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, in uart_bus_probe() 568 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_probe() 615 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_attach() 761 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_attach() 795 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_detach()
|
| H A D | uart_bus.h | 84 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */ member
|