Lines Matching refs:region
52 …def __init__(self, start: int, length: int, region: 'MemRegions.MemRegDef', section: Optional[str]…
55 self.region = region
95 for region in self.chip_mem_regions: # type: ignore
96 if region.primary_addr <= start < region.primary_addr + region.length:
97 return (region, length)
98 …if region.secondary_addr and region.secondary_addr <= start < region.secondary_addr + region.lengt…
99 return (region, length)
107 (region, cur_len) = self._get_first_region(start, length)
108 if region is None:
113 ret.append(MemRegions.Region(start, cur_len, region, name))
559 … return x.region.type in (MemRegions.DRAM_ID, MemRegions.IRAM_ID) and x.region.secondary_addr > 0
562 … return x.region.type == MemRegions.DRAM_ID and x.region.secondary_addr == 0 # type: ignore
565 … return x.region.type == MemRegions.IRAM_ID and x.region.secondary_addr == 0 # type: ignore