D | mtk_adsp_load.py | 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 [all …]
|