Lines Matching refs:region

466 			    "could not register host memory region with "
565 struct bhndb_region *region, *r_next;
615 STAILQ_FOREACH_SAFE(region, &br->bus_regions, link, r_next) {
616 STAILQ_REMOVE(&br->bus_regions, region, bhndb_region, link);
617 free(region, M_BHND);
1029 /* Check for a static region */
1051 * Add a bus region entry to @p r for the given base @p addr and @p size.
1053 * @param br The resource state to which the bus region entry will be added.
1054 * @param addr The base address of this region.
1055 * @param size The size of this region.
1057 * made within this bus region.
1060 * bus region entry. If not available, NULL.
1063 * @retval non-zero if adding the bus region fails.
1092 * one contiguous bus region, or by multiple discontiguous regions.
1102 struct bhndb_region *region;
1106 while ((region = bhndb_find_resource_region(br, r_addr, 1)) != NULL) {
1108 if (region->static_regwin == NULL)
1112 r_addr += region->size;
1124 * Find the bus region that maps @p size bytes at @p addr.
1130 * @retval bhndb_region A region that fully contains the requested range.
1131 * @retval NULL If no mapping region can be found.
1137 struct bhndb_region *region;
1139 STAILQ_FOREACH(region, &br->bus_regions, link) {
1140 /* Request must fit within the region's mapping */
1141 if (addr < region->addr)
1144 if (addr + size > region->addr + region->size)
1147 return (region);
1185 * Find the dynamic region allocated for @p r, if any.
1223 * @retval NULL If no mapping region can be found.
1485 * @param region The required region.
1494 int unit, bhnd_port_type port_type, u_int port, u_int region,
1503 /* Match on core, port, and region attributes */
1519 if (rw->d.core.region != region)
1553 * @param region The required region.
1563 u_int region, bus_size_t offset, bus_size_t min_size)
1569 port, region, offset, min_size);
1633 * @param region The required region.
1638 u_int region)
1654 if (pp->region != region)