Lines Matching refs:ES1688P
29 if ((inb(ES1688P(chip, STATUS)) & 0x80) == 0) { in snd_es1688_dsp_command()
30 outb(val, ES1688P(chip, COMMAND)); in snd_es1688_dsp_command()
44 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) in snd_es1688_dsp_get_byte()
45 return inb(ES1688P(chip, READ)); in snd_es1688_dsp_get_byte()
46 …snd_printd("es1688 get byte failed: 0x%lx = 0x%x!!!\n", ES1688P(chip, DATA_AVAIL), inb(ES1688P(chi… in snd_es1688_dsp_get_byte()
71 outb(reg, ES1688P(chip, MIXER_ADDR)); in snd_es1688_mixer_write()
73 outb(data, ES1688P(chip, MIXER_DATA)); in snd_es1688_mixer_write()
81 outb(reg, ES1688P(chip, MIXER_ADDR)); in snd_es1688_mixer_read()
83 result = inb(ES1688P(chip, MIXER_DATA)); in snd_es1688_mixer_read()
92 outb(3, ES1688P(chip, RESET)); /* valid only for ESS chips, SB -> 1 */ in snd_es1688_reset()
94 outb(0, ES1688P(chip, RESET)); in snd_es1688_reset()
96 for (i = 0; i < 1000 && !(inb(ES1688P(chip, DATA_AVAIL)) & 0x80); i++); in snd_es1688_reset()
97 if (inb(ES1688P(chip, READ)) != 0xaa) { in snd_es1688_reset()
117 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
118 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
119 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
120 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
121 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
122 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
123 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
124 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
125 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
126 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
127 inb(ES1688P(chip, ENABLE0)); /* ENABLE0 */ in snd_es1688_probe()
130 snd_printdd("ESS: [0x%lx] reset failed... 0x%x\n", chip->port, inb(ES1688P(chip, READ))); in snd_es1688_probe()
137 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) { in snd_es1688_probe()
139 major = inb(ES1688P(chip, READ)); in snd_es1688_probe()
141 minor = inb(ES1688P(chip, READ)); in snd_es1688_probe()
465 inb(ES1688P(chip, DATA_AVAIL)); /* ack interrupt */ in snd_es1688_interrupt()