Searched refs:dwa (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c373 struct bhndb_dw_alloc *dwa; local
401 dwa = &r->dw_alloc[rnid];
402 dwa->win = win;
403 dwa->parent_res = NULL;
404 dwa->rnid = rnid;
405 dwa->target = 0x0;
407 LIST_INIT(&dwa->refs);
423 struct bhndb_dw_alloc *dwa; local
426 dwa = &r->dw_alloc[i];
427 win = dwa
571 struct bhndb_dw_alloc *dwa; local
1168 bhndb_dw_find_resource_entry(struct bhndb_dw_alloc *dwa, struct resource *r) argument
1203 struct bhndb_dw_alloc *dwa; local
1270 bhndb_dw_retain(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, struct resource *res) argument
1303 bhndb_dw_release(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, struct resource *r) argument
1338 bhndb_dw_set_addr(device_t dev, struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, bus_addr_t addr, bus_size_t size) argument
1420 bhndb_dw_return_stolen(device_t dev, struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, bus_addr_t saved) argument
[all...]
H A Dbhndb.c681 struct bhndb_dw_alloc *dwa; local
692 dwa = &bus_res->dw_alloc[i];
695 if (bhndb_dw_is_free(bus_res, dwa) && dwa->target == 0x0)
700 error = BHNDB_SET_WINDOW_ADDR(dev, dwa->win, dwa->target);
724 struct bhndb_dw_alloc *dwa; local
733 dwa = bhndb_dw_find_resource(sc->bus_res, r);
734 if (dwa == NULL) {
744 bhndb_dw_release(sc->bus_res, dwa,
1249 struct bhndb_dw_alloc *dwa; local
1316 struct bhndb_dw_alloc *dwa; local
1462 struct bhndb_dw_alloc *dwa; local
1667 struct bhndb_dw_alloc *dwa; local
1750 struct bhndb_dw_alloc *dwa; local
[all...]
H A Dbhndb_private.h115 struct bhndb_dw_alloc *dwa,
120 struct bhndb_dw_alloc *dwa,
125 struct bhndb_dw_alloc *dwa,
133 struct bhndb_dw_alloc *dwa,
258 * @param br The resource state owning @p dwa.
259 * @param dwa The dynamic window allocation record to be checked.
262 bhndb_dw_is_free(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa) argument
264 bool is_free = LIST_EMPTY(&dwa->refs);
266 KASSERT(is_free == !bit_test(br->dwa_freelist, dwa->rnid),

Completed in 118 milliseconds