Lines Matching refs:stream_id
53 def __init__(self, stream_id: int):
54 self.stream_id = stream_id
55 self.base = hdamem + 0x0080 + (stream_id * 0x20)
68 self.hda.SPIB = 0x0708 + stream_id*0x08
85 self.dbg0 = Regs(hdamem + 0x0084 + (0x20*stream_id))
102 …self.regs.CTL = ((self.stream_id & 0xFF) << 20) | (1 << 18) # must be set to something other than …
117 self.hda.SPBFCTL |= (1 << self.stream_id)
134 (mem, phys_addr, hugef) = map_phys_mem(self.stream_id)
160 … self.stream_id, (hda.PPCTL >> self.stream_id) & 1, self.regs.CTL, self.regs.LPIB, self.regs.BDPU,
195 self.hda.PPCTL |= (1 << self.stream_id)
328 def map_phys_mem(stream_id): argument
340 hugef_name = HUGEPAGE_FILE + str(stream_id)
832 stream_id = ext_data & 0xff
833 if stream_id in hda_streams:
834 hda_streams[stream_id].reset()
836 hda_str = HDAStream(stream_id)
837 hda_streams[stream_id] = hda_str
839 stream_id = ext_data & 0xFF
841 hda_str = hda_streams[stream_id]
844 stream_id = ext_data & 0xFF
845 hda_streams[stream_id].start()
846 hda_streams[stream_id].mem.seek(0)
849 stream_id = ext_data & 0xFF
850 hda_streams[stream_id].stop()
852 stream_id = ext_data & 0xFF
853 hda_str = hda_streams[stream_id]
866 stream_id = ext_data & 0xff
870 hda_streams[stream_id].write(buf)
872 stream_id = ext_data & 0xFF
874 hda_str = hda_streams[stream_id]