Lines Matching defs:old_cmd
156 unsigned char old_cmd = 0;
159 old_cmd = inb(ICEREG(ice, AC97_CMD));
160 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ))
162 if (!(old_cmd & ICE1712_AC97_READY))
168 old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR);
169 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD));
180 unsigned char old_cmd = 0;
183 old_cmd = inb(ICEREG(ice, AC97_CMD));
184 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ))
186 if (!(old_cmd & ICE1712_AC97_READY))
191 outb(old_cmd | ICE1712_AC97_READ, ICEREG(ice, AC97_CMD));
210 unsigned char old_cmd = 0;
213 old_cmd = inb(ICEMT(ice, AC97_CMD));
214 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ))
216 if (!(old_cmd & ICE1712_AC97_READY))
222 old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR);
223 outb(old_cmd | ICE1712_AC97_WRITE, ICEMT(ice, AC97_CMD));
235 unsigned char old_cmd = 0;
238 old_cmd = inb(ICEMT(ice, AC97_CMD));
239 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ))
241 if (!(old_cmd & ICE1712_AC97_READY))
246 outb(old_cmd | ICE1712_AC97_READ, ICEMT(ice, AC97_CMD));