Lines Matching full:maps
40 maps = {} variable
63 maps = {n: (regs[2 * i], regs[2 * i + 1]) for i, n in enumerate(rnames)}
69 maps[f"dram{i}"] = (addr, sz)
71 return maps
76 def __init__(self, maps): argument
78 r = Regs(ctypes.addressof(ctypes.c_int.from_buffer(maps["cfg"])))
104 def __init__(self, maps): argument
106 cfg_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["cfg"]))
107 sec_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["sec"]))
137 def __init__(self, maps): argument
138 cfg_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["cfg"]))
139 sec_base = ctypes.addressof(ctypes.c_int.from_buffer(maps["sec"]))
176 dram = maps["dram1"]
234 maps[mp] = mmap.mmap(
243 dev = MT8195(maps)
245 dev = MT818x(maps)
247 dev = MT8196(maps)
267 maps["sram"][i] = sram[i]
269 # maps["sram"][i] = 0
271 maps["dram1"][i] = dram[i]
273 maps["dram1"][i] = 0
282 mm = maps[sys.argv[2]]