Lines Matching +full:- +full:qq
3 # SPDX-License-Identifier: Apache-2.0
27 # specific SOC anyway), so it really doesn't matter and we hard-code
30 # (For future reference: in /proc/device-tree on current ChromeOS
33 # that device node, and the two dram areas are "memory-region"
35 # nodes under "/reserved-memory").
46 compat = readfile(glob("/proc/device-tree/**/adsp@*/compatible", recursive=True)[0], "r")
47 m = re.match(r'.*(mt\d{4})-dsp', compat)
54 # also refers by reference to reserved-memory regions of system
60 path = glob("/proc/device-tree/**/adsp@*/", recursive=True)[0]
61 rnames = readfile(path + "reg-names", "r").split('\0')[:-1]
64 for i, ph in enumerate(struct.unpack(">II", readfile(path + "memory-region"))):
65 for rmem in glob("/proc/device-tree/reserved-memory/*/"):
68 (addr, sz) = struct.unpack(">QQ", readfile(rmem + "reg"))
83 r.EMI_MAP_ADDR = 0x981C # == host SRAM mapping - 0x40000000 (controls MMIO map?)
170 # Temporary logging protocol: watch the 1M null-terminated log
171 # stream at 0x60700000 -- the top of the linkable region of
262 # zero-fill SRAM, as that's been observed to reboot the host
265 # pylint: disable=consider-using-enumerate