Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb.c552 sc->bus_res = bhndb_alloc_resources(sc->dev, sc->parent_dev, hwcfg); in bhndb_attach()
553 if (sc->bus_res == NULL) { in bhndb_attach()
581 error = bhndb_init_region_cfg(sc, erom, sc->bus_res, cores, ncores, in bhndb_attach()
598 if (sc->bus_res != NULL) in bhndb_attach()
599 bhndb_free_resources(sc->bus_res); in bhndb_attach()
632 bhndb_free_resources(sc->bus_res); in bhndb_generic_detach()
661 struct bhndb_resources *bus_res; in bhndb_generic_resume() local
666 bus_res = sc->bus_res; in bhndb_generic_resume()
672 for (size_t i = 0; i < bus_res->dwa_count; i++) { in bhndb_generic_resume()
673 dwa = &bus_res->dw_alloc[i]; in bhndb_generic_resume()
[all …]
H A Dbhndbvar.h187 struct bhndb_resources *bus_res; /**< bus resource state */ member
H A Dbhndb_pci.c579 bres = sc->bhndb.bus_res; in bhndb_pci_sprom_regwin()
599 r = bhndb_host_resource_for_regwin(sc->bhndb.bus_res->res, sprom_win); in bhndb_pci_sprom_addr()
674 win = bhndb_regwin_find_core(sc->bhndb.bus_res->cfg->register_windows, in bhndb_pci_get_core_regs()
682 r = bhndb_host_resource_for_regwin(sc->bhndb.bus_res->res, win); in bhndb_pci_get_core_regs()
/freebsd/sys/dev/acpica/
H A Dacpi_pcib_acpi.c296 struct resource *bus_res; in acpi_pcib_acpi_attach() local
426 bus_res = pci_domain_alloc_bus(sc->ap_segment, dev, &rid, 0, in acpi_pcib_acpi_attach()
428 if (bus_res == NULL) { in acpi_pcib_acpi_attach()
434 sc->ap_bus = rman_get_start(bus_res); in acpi_pcib_acpi_attach()
435 pci_domain_release_bus(sc->ap_segment, dev, bus_res); in acpi_pcib_acpi_attach()