Home
last modified time | relevance | path

Searched refs:dwa_count (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h208 size_t dwa_count; /**< number of dynamic windows available. */ member
226 bit_ffs(br->dwa_freelist, br->dwa_count, &bit); in bhndb_dw_all_free()
241 bit_ffc(br->dwa_freelist, br->dwa_count, &bit); in bhndb_dw_next_free()
H A Dbhndb_subr.c344 r->dwa_count = bhndb_regwin_count(cfg->register_windows, in bhndb_alloc_resources()
346 if (r->dwa_count >= INT_MAX) { in bhndb_alloc_resources()
352 r->dw_alloc = malloc(sizeof(r->dw_alloc[0]) * r->dwa_count, M_BHND, in bhndb_alloc_resources()
358 r->dwa_freelist = bit_alloc(r->dwa_count, M_BHND, M_NOWAIT); in bhndb_alloc_resources()
417 for (size_t i = 0; i < r->dwa_count; i++) { in bhndb_alloc_resources()
576 for (int i = 0; i < br->dwa_count; i++) { in bhndb_free_resources()
605 for (size_t i = 0; i < br->dwa_count; i++) { in bhndb_free_resources()
1198 for (size_t i = 0; i < br->dwa_count; i++) { in bhndb_dw_find_resource()
1233 for (size_t i = 0; i < br->dwa_count; i++) { in bhndb_dw_find_mapping()
1387 if (br->dwa_count == 0) in bhndb_dw_steal()
H A Dbhndb.c411 if (prio_total <= br->dwa_count) { in bhndb_init_region_cfg()
415 } else if (prio_default + prio_high <= br->dwa_count) { in bhndb_init_region_cfg()
672 for (size_t i = 0; i < bus_res->dwa_count; i++) { in bhndb_generic_resume()
1659 for (size_t i = 0; i < br->dwa_count; i++) { in bhndb_io_resource_get_window()