Lines Matching refs:sd
263 sd = Regs(hdamem + 0x0080 + (hda_ostream_id * 0x20))
264 sd.CTL = 0x00
265 sd.CBL = 0x08
266 sd.LVI = 0x0c
267 sd.BDPL = 0x18
268 sd.BDPU = 0x1c
269 sd.freeze()
302 return (hda, sd, dsp, hda_ostream_id)
429 sd.CTL = 1
430 while (sd.CTL & 1) == 0: pass
431 sd.CTL = 0
432 while (sd.CTL & 1) == 1: pass
433 sd.CTL = 1 << 20 # Set stream ID to anything non-zero
434 sd.BDPU = (buf_list_addr >> 32) & 0xffffffff
435 sd.BDPL = buf_list_addr & 0xffffffff
436 sd.CBL = len(fw_bytes)
437 sd.LVI = num_bufs - 1
480 sd.CTL |= 2 # START flag
491 sd.CTL &= ~2 # clear START
493 sd.CTL |= 1
554 sd.CTL = 1
555 while (sd.CTL & 1) == 0: pass
556 sd.CTL = 0
557 while (sd.CTL & 1) == 1: pass
558 sd.CTL |= (1 << 20) # Set stream ID to anything non-zero
559 sd.BDPU = (buf_list_addr >> 32) & 0xffffffff
560 sd.BDPL = buf_list_addr & 0xffffffff
561 sd.CBL = len(fw_bytes)
562 sd.LVI = num_bufs - 1
601 sd.CTL |= 2 # START flag
612 sd.CTL &= ~2 # clear START
614 sd.CTL |= 1
939 global hda, sd, dsp, hda_ostream_id, hda_streams
942 (hda, sd, dsp, hda_ostream_id) = map_regs(args.log_only)