Lines Matching +full:0 +full:x0808
31 return 0; in stk1160_ac97_wait_transfer_complete()
46 stk1160_write_reg(dev, STK1160_AC97_CMD, value & 0xff); in stk1160_write_ac97()
47 stk1160_write_reg(dev, STK1160_AC97_CMD + 1, (value & 0xff00) >> 8); in stk1160_write_ac97()
50 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8c); in stk1160_write_ac97()
59 u8 vall = 0; in stk1160_read_ac97()
60 u8 valh = 0; in stk1160_read_ac97()
66 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8b); in stk1160_read_ac97()
69 if (stk1160_ac97_wait_transfer_complete(dev) < 0) in stk1160_read_ac97()
70 return 0; in stk1160_read_ac97()
84 value = stk1160_read_ac97(dev, 0x12); /* CD volume */ in stk1160_ac97_dump_regs()
85 stk1160_dbg("0x12 == 0x%04x", value); in stk1160_ac97_dump_regs()
87 value = stk1160_read_ac97(dev, 0x10); /* Line-in volume */ in stk1160_ac97_dump_regs()
88 stk1160_dbg("0x10 == 0x%04x", value); in stk1160_ac97_dump_regs()
90 value = stk1160_read_ac97(dev, 0x0e); /* MIC volume (mono) */ in stk1160_ac97_dump_regs()
91 stk1160_dbg("0x0e == 0x%04x", value); in stk1160_ac97_dump_regs()
93 value = stk1160_read_ac97(dev, 0x16); /* Aux volume */ in stk1160_ac97_dump_regs()
94 stk1160_dbg("0x16 == 0x%04x", value); in stk1160_ac97_dump_regs()
96 value = stk1160_read_ac97(dev, 0x1a); /* Record select */ in stk1160_ac97_dump_regs()
97 stk1160_dbg("0x1a == 0x%04x", value); in stk1160_ac97_dump_regs()
99 value = stk1160_read_ac97(dev, 0x02); /* Master volume */ in stk1160_ac97_dump_regs()
100 stk1160_dbg("0x02 == 0x%04x", value); in stk1160_ac97_dump_regs()
102 value = stk1160_read_ac97(dev, 0x1c); /* Record gain */ in stk1160_ac97_dump_regs()
103 stk1160_dbg("0x1c == 0x%04x", value); in stk1160_ac97_dump_regs()
136 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x94); in stk1160_ac97_setup()
137 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8c); in stk1160_ac97_setup()
140 stk1160_write_reg(dev, STK1160_AC97CTL_1 + 2, 0x01); in stk1160_ac97_setup()
141 stk1160_write_reg(dev, STK1160_AC97CTL_1 + 3, 0x00); in stk1160_ac97_setup()
144 stk1160_write_ac97(dev, 0x12, 0x8808); /* CD volume */ in stk1160_ac97_setup()
145 stk1160_write_ac97(dev, 0x10, 0x0808); /* Line-in volume */ in stk1160_ac97_setup()
146 stk1160_write_ac97(dev, 0x0e, 0x0008); /* MIC volume (mono) */ in stk1160_ac97_setup()
147 stk1160_write_ac97(dev, 0x16, 0x0808); /* Aux volume */ in stk1160_ac97_setup()
148 stk1160_write_ac97(dev, 0x1a, 0x0404); /* Record select */ in stk1160_ac97_setup()
149 stk1160_write_ac97(dev, 0x02, 0x0000); /* Master volume */ in stk1160_ac97_setup()
150 stk1160_write_ac97(dev, 0x1c, 0x0808); /* Record gain */ in stk1160_ac97_setup()