Home
last modified time | relevance | path

Searched refs:ICEMT (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/ice1712/
Dice1712.c115 return (inb(ICEMT(ice, RATE)) & ICE1712_SPDIF_MASTER) ? 1 : 0; in is_spdif_master()
198 old_cmd = inb(ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_write()
205 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_write()
206 outw(val, ICEMT(ice, AC97_DATA)); in snd_ice1712_pro_ac97_write()
208 outb(old_cmd | ICE1712_AC97_WRITE, ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_write()
210 if ((inb(ICEMT(ice, AC97_CMD)) & ICE1712_AC97_WRITE) == 0) in snd_ice1712_pro_ac97_write()
223 old_cmd = inb(ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_read()
230 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_read()
231 outb(old_cmd | ICE1712_AC97_READ, ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_read()
233 if ((inb(ICEMT(ice, AC97_CMD)) & ICE1712_AC97_READ) == 0) in snd_ice1712_pro_ac97_read()
[all …]
Dice1712.h135 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) macro