Home
last modified time | relevance | path

Searched refs:fw_bytes (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/tools/
Dacetool.py272 def setup_dma_mem(fw_bytes): argument
274 mem[0:len(fw_bytes)] = fw_bytes
277 % (phys_addr, len(fw_bytes)))
362 fw_bytes = open(fw_file, "rb").read()
364 if len(fw_bytes) < 512 * 1024:
365 fw_bytes += b'\x00' * (512 * 1024 - len(fw_bytes))
371 (magic, sz) = struct.unpack("4sI", fw_bytes[0:8])
374 fw_bytes = fw_bytes[sz:len(fw_bytes)]
418 (buf_list_addr, num_bufs) = setup_dma_mem(fw_bytes)
426 sd.CBL = len(fw_bytes)
[all …]
Dcavstool.py262 def setup_dma_mem(fw_bytes): argument
264 mem[0:len(fw_bytes)] = fw_bytes
267 % (phys_addr, len(fw_bytes)))
360 fw_bytes = open(fw_file, "rb").read()
366 (magic, sz) = struct.unpack("4sI", fw_bytes[0:8])
369 fw_bytes = fw_bytes[sz:len(fw_bytes)]
390 (buf_list_addr, num_bufs) = setup_dma_mem(fw_bytes)
398 sd.CBL = len(fw_bytes)
407 hda.SD_SPIB = len(fw_bytes)