Lines Matching refs:base
55 self.base = hdamem + 0x0080 + (stream_id * 0x20)
71 self.regs = Regs(self.base)
205 base = WINDOW_BASE_ACE
208 base = WINDOW_BASE
211 return (base, stride)
642 ( base, stride ) = adsp_mem_window_config()
643 return base + stride * 3
648 def win_read(base, start, length): argument
650 return b''.join(bar4_mmap[base + x].to_bytes(1, 'little')
654 log.error("IndexError in bar4_mmap[%d + %d]", base, start)
658 def winstream_reg_hdr(base): argument
659 hdr = Regs(bar4_mem + base)
672 def winstream_read(base, last_seq): argument
674 hdr = winstream_reg_hdr(base)
690 result = win_read(base, 16 + copy, suffix)
692 result += win_read(base, 16, behind - suffix)
709 def winstream_write(base, msg): argument
710 hdr = winstream_reg_hdr(base)
733 bar4_mmap[base + 16 + end + c] = msg[c]
736 bar4_mmap[base + 16 + c] = msg[suffix + c]
741 ( base, stride ) = adsp_mem_window_config()
742 return base + stride * 2
797 ( base, stride ) = adsp_mem_window_config()
798 return base + stride
801 ( base, _ ) = adsp_mem_window_config()
802 return base + 4096