Lines Matching refs:hda

58         self.hda = Regs(hdamem)
59 self.hda.GCAP = 0x0000
60 self.hda.GCTL = 0x0008
61 self.hda.DPLBASE = 0x0070
62 self.hda.DPUBASE = 0x0074
63 self.hda.SPBFCH = 0x0700
64 self.hda.SPBFCTL = 0x0704
65 self.hda.PPCH = 0x0800
66 self.hda.PPCTL = 0x0804
67 self.hda.PPSTS = 0x0808
68 self.hda.SPIB = 0x0708 + stream_id*0x08
69 self.hda.freeze()
117 self.hda.SPBFCTL |= (1 << self.stream_id)
118 self.hda.SPIB += bufl
160 … self.stream_id, (hda.PPCTL >> self.stream_id) & 1, self.regs.CTL, self.regs.LPIB, self.regs.BDPU,
187 self.hda.SPBFCTL = 0
188 self.hda.SPIB = 0
195 self.hda.PPCTL |= (1 << self.stream_id)
253 hda = Regs(hdamem)
254 hda.GCAP = 0x0000
255 hda.GCTL = 0x0008
256 hda.SPBFCTL = 0x0704
257 hda.PPCTL = 0x0804
260 hda_ostream_id = (hda.GCAP >> 8) & 0x0f # number of input streams
262 hda.SD_SPIB = 0x0708 + (8 * hda_ostream_id)
263 hda.freeze()
306 return (hda, sd, dsp, hda_ostream_id)
414 hda.PPCTL |= (1 << 30) # GPROCEN, "global processing enable"
417 hda.GCTL = 0
418 while hda.GCTL & 1: pass
419 hda.GCTL = 1
420 while not hda.GCTL & 1: pass
442 hda.PPCTL |= (1 << hda_ostream_id)
448 hda.SPBFCTL |= (1 << hda_ostream_id)
449 hda.SD_SPIB = len(fw_bytes)
517 hda.PPCTL |= (1 << 30) # GPROCEN, "global processing enable"
520 hda.GCTL = 0
521 while hda.GCTL & 1: pass
522 hda.GCTL = 1
523 while not hda.GCTL & 1: pass
567 hda.PPCTL |= (1 << hda_ostream_id)
573 hda.SPBFCTL |= (1 << hda_ostream_id)
574 hda.SD_SPIB = len(fw_bytes)
943 global hda, sd, dsp, hda_ostream_id, hda_streams
946 (hda, sd, dsp, hda_ostream_id) = map_regs(args.log_only)