Home
last modified time | relevance | path

Searched refs:sc_rrid (Results 1 – 13 of 13) sorted by relevance

/NextBSD/sys/dev/tsec/
HDif_tsec_fdt.c123 sc->sc_rrid = 0; in tsec_fdt_probe()
124 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in tsec_fdt_probe()
137 bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, sc->sc_rres); in tsec_fdt_probe()
185 sc->sc_rrid = 0; in tsec_fdt_attach()
186 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in tsec_fdt_attach()
232 bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, sc->sc_rres); in tsec_fdt_attach()
306 error = bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, in tsec_fdt_detach()
HDif_tsec.h84 int sc_rrid; /* register rid */ member
/NextBSD/sys/dev/quicc/
HDquicc_core.c113 sc->sc_rres = bus_alloc_resource(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_attach()
130 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, in quicc_bfe_attach()
213 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in quicc_bfe_detach()
229 sc->sc_rrid = 0; in quicc_bfe_probe()
231 sc->sc_rres = bus_alloc_resource(dev, sc->sc_rtype, &sc->sc_rrid, in quicc_bfe_probe()
234 sc->sc_rrid = 0; in quicc_bfe_probe()
237 &sc->sc_rrid, 0, ~0, 0, RF_ACTIVE); in quicc_bfe_probe()
251 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in quicc_bfe_probe()
HDquicc_bfe.h40 int sc_rrid; member
/NextBSD/sys/dev/uart/
HDuart_core.c475 sc->sc_rrid = rid; in uart_bus_probe()
477 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_probe()
480 sc->sc_rrid = rid; in uart_bus_probe()
483 &sc->sc_rrid, RF_ACTIVE); in uart_bus_probe()
511 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_probe()
558 sc->sc_rres = bus_alloc_resource_any(dev, sc->sc_rtype, &sc->sc_rrid, in uart_bus_attach()
699 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_attach()
733 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_bus_detach()
HDuart_bus.h78 int sc_rrid; member
/NextBSD/sys/dev/scc/
HDscc_core.c132 sc->sc_rres = bus_alloc_resource(dev, sc->sc_rtype, &sc->sc_rrid, 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()
379 sc->sc_rrid = rid; in scc_bfe_probe()
381 sc->sc_rres = bus_alloc_resource(dev, sc->sc_rtype, &sc->sc_rrid, in scc_bfe_probe()
384 sc->sc_rrid = rid; in scc_bfe_probe()
387 &sc->sc_rrid, 0, ~0, cl->cl_channels * size, RF_ACTIVE); in scc_bfe_probe()
404 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in scc_bfe_probe()
HDscc_bfe.h126 int sc_rrid; member
/NextBSD/sys/arm/xscale/i8134x/
HDuart_bus_i81342.c77 sc->sc_rres = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->sc_rrid, in uart_i81342_probe()
84 bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); in uart_i81342_probe()
/NextBSD/sys/powerpc/powermac/
HDhrowpic.c150 sc->sc_rrid = 0; in hrowpic_attach()
151 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in hrowpic_attach()
HDhrowpicvar.h70 int sc_rrid; member
/NextBSD/sys/dev/sec/
HDsec.c211 sc->sc_rrid = 0; in sec_probe()
212 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in sec_probe()
223 bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, sc->sc_rres); in sec_probe()
274 sc->sc_rrid = 0; in sec_attach()
275 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in sec_attach()
408 bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, sc->sc_rres); in sec_attach()
472 error = bus_release_resource(dev, SYS_RES_MEMORY, sc->sc_rrid, in sec_detach()
HDsec.h204 int sc_rrid; /* register rid */ member