Searched refs:ICEMT (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
D | ice1712.c | 115 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 …]
|
D | ice1712.h | 135 #define ICEMT(ice, x) ((ice)->profi_port + ICE1712_MT_##x) macro
|