Home
last modified time | relevance | path

Searched refs:resource_specs (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c205 for (u_int i = 0; hr->resource_specs[i].type != -1; i++) { in bhndb_host_resource_for_range()
208 if (hr->resource_specs[i].type != type) in bhndb_host_resource_for_range()
239 rspecs = hr->resource_specs; in bhndb_host_resource_for_regwin()
453 for (u_int i = 0; r->res->resource_specs[i].type != -1; i++) { in bhndb_alloc_resources()
457 if (r->res->resource_specs[i].type != SYS_RES_MEMORY) in bhndb_alloc_resources()
662 hr->resource_specs = NULL; in bhndb_alloc_host_resources()
669 for (size_t i = 0; hwcfg->resource_specs[i].type != -1; i++) in bhndb_alloc_host_resources()
716 hr->resource_specs = malloc(sizeof(hr->resource_specs[0]) * (nres + 1), in bhndb_alloc_host_resources()
721 hr->resource_specs[i] = hwcfg->resource_specs[i]; in bhndb_alloc_host_resources()
723 hr->resource_specs[nres].type = -1; in bhndb_alloc_host_resources()
[all …]
H A Dbhndb_pci_hwdata.c85 .resource_specs = (const struct resource_spec[]) {
118 .resource_specs = (const struct resource_spec[]) {
284 .resource_specs = (const struct resource_spec[]) {
366 .resource_specs = (const struct resource_spec[]) {
441 .resource_specs = (const struct resource_spec[]) {
521 .resource_specs = (const struct resource_spec[]) {
604 .resource_specs = (const struct resource_spec[]) {
H A Dbhndb.h111 const struct resource_spec *resource_specs; /**< resources required by our register windows */ member
H A Dbhndbvar.h165 struct resource_spec *resource_specs; /**< resource specification table */ member