Searched refs:cr_res (Results 1 – 3 of 3) sorted by relevance
| /freebsd/sys/dev/bhnd/cores/chipc/ |
| H A D | chipc_subr.c | 335 cr->cr_res = NULL; in chipc_alloc_region() 376 if (cr->cr_res != NULL) { in chipc_free_region() 377 bhnd_release_resource(sc->dev, cr->cr_res); in chipc_free_region() 460 KASSERT(cr->cr_res == NULL, in chipc_retain_region() 470 cr->cr_res = bhnd_alloc_resource(sc->dev, in chipc_retain_region() 473 if (cr->cr_res == NULL) { in chipc_retain_region() 490 error = bhnd_activate_resource(sc->dev, cr->cr_res); in chipc_retain_region() 527 KASSERT(cr->cr_res != NULL, ("release on NULL region resource")); in chipc_release_region() 536 error = bhnd_deactivate_resource(sc->dev, cr->cr_res); in chipc_release_region() 549 error = bhnd_release_resource(sc->dev, cr->cr_res); in chipc_release_region() [all …]
|
| H A D | chipc_private.h | 103 struct bhnd_resource *cr_res; /**< bus resource, or NULL */ member
|
| H A D | chipc.c | 196 sc->core = sc->core_region->cr_res; in chipc_attach() 986 if (cr->cr_res->direct) { in chipc_try_activate_resource() 987 error = chipc_init_child_resource(r, cr->cr_res->res, in chipc_try_activate_resource()
|