Lines Matching refs:ES1688P

44 		if ((inb(ES1688P(chip, STATUS)) & 0x80) == 0) {  in snd_es1688_dsp_command()
45 outb(val, ES1688P(chip, COMMAND)); in snd_es1688_dsp_command()
59 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) in snd_es1688_dsp_get_byte()
60 return inb(ES1688P(chip, READ)); in snd_es1688_dsp_get_byte()
61 …snd_printd("es1688 get byte failed: 0x%lx = 0x%x!!!\n", ES1688P(chip, DATA_AVAIL), inb(ES1688P(chi… in snd_es1688_dsp_get_byte()
86 outb(reg, ES1688P(chip, MIXER_ADDR)); in snd_es1688_mixer_write()
88 outb(data, ES1688P(chip, MIXER_DATA)); in snd_es1688_mixer_write()
96 outb(reg, ES1688P(chip, MIXER_ADDR)); in snd_es1688_mixer_read()
98 result = inb(ES1688P(chip, MIXER_DATA)); in snd_es1688_mixer_read()
107 outb(3, ES1688P(chip, RESET)); /* valid only for ESS chips, SB -> 1 */ in snd_es1688_reset()
109 outb(0, ES1688P(chip, RESET)); in snd_es1688_reset()
111 for (i = 0; i < 1000 && !(inb(ES1688P(chip, DATA_AVAIL)) & 0x80); i++); in snd_es1688_reset()
112 if (inb(ES1688P(chip, READ)) != 0xaa) { in snd_es1688_reset()
132 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
133 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
134 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
135 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
136 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
137 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
138 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
139 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
140 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe()
141 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe()
142 inb(ES1688P(chip, ENABLE0)); /* ENABLE0 */ in snd_es1688_probe()
145 snd_printdd("ESS: [0x%lx] reset failed... 0x%x\n", chip->port, inb(ES1688P(chip, READ))); in snd_es1688_probe()
152 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) { in snd_es1688_probe()
154 major = inb(ES1688P(chip, READ)); in snd_es1688_probe()
156 minor = inb(ES1688P(chip, READ)); in snd_es1688_probe()
499 inb(ES1688P(chip, DATA_AVAIL)); /* ack interrupt */ in snd_es1688_interrupt()