Searched refs:old_cmd (Results 1 – 2 of 2) sorted by relevance
135 unsigned char old_cmd = 0; in snd_ice1712_ac97_write() local138 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()139 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_write()141 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_write()147 old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR); in snd_ice1712_ac97_write()148 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()159 unsigned char old_cmd = 0; in snd_ice1712_ac97_read() local162 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read()163 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_read()165 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_read()[all …]
106 unsigned char old_cmd; in snd_vt1724_ac97_ready() local109 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready()110 if (old_cmd & (VT1724_AC97_WRITE | VT1724_AC97_READ)) in snd_vt1724_ac97_ready()112 if (!(old_cmd & VT1724_AC97_READY)) in snd_vt1724_ac97_ready()114 return old_cmd; in snd_vt1724_ac97_ready()117 return old_cmd; in snd_vt1724_ac97_ready()135 unsigned char old_cmd; in snd_vt1724_ac97_write() local137 old_cmd = snd_vt1724_ac97_ready(ice); in snd_vt1724_ac97_write()138 old_cmd &= ~VT1724_AC97_ID_MASK; in snd_vt1724_ac97_write()139 old_cmd |= ac97->num; in snd_vt1724_ac97_write()[all …]