Lines Matching refs:gus

159 static int __devinit snd_gusextreme_detect(struct snd_gus_card *gus,  in snd_gusextreme_detect()  argument
184 outb(gus->gf1.port & 0x040 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
186 outb(gus->gf1.port & 0x020 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
188 outb(gus->gf1.port & 0x010 ? 3 : 1, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
193 snd_gf1_i_write8(gus, SNDRV_GF1_GB_RESET, 0); /* reset GF1 */ in snd_gusextreme_detect()
194 if (((d = snd_gf1_i_look8(gus, SNDRV_GF1_GB_RESET)) & 0x07) != 0) { in snd_gusextreme_detect()
195 snd_printdd("[0x%lx] check 1 failed - 0x%x\n", gus->gf1.port, d); in snd_gusextreme_detect()
199 snd_gf1_i_write8(gus, SNDRV_GF1_GB_RESET, 1); /* release reset */ in snd_gusextreme_detect()
201 if (((d = snd_gf1_i_look8(gus, SNDRV_GF1_GB_RESET)) & 0x07) != 1) { in snd_gusextreme_detect()
202 snd_printdd("[0x%lx] check 2 failed - 0x%x\n", gus->gf1.port, d); in snd_gusextreme_detect()
238 struct snd_gus_card *gus; in snd_gusextreme_probe() local
263 error = snd_gusextreme_gus_card_create(card, dev, n, &gus); in snd_gusextreme_probe()
267 error = snd_gusextreme_detect(gus, es1688); in snd_gusextreme_probe()
271 gus->joystick_dac = joystick_dac[n]; in snd_gusextreme_probe()
273 error = snd_gus_initialize(gus); in snd_gusextreme_probe()
278 if (!gus->ess_flag) { in snd_gusextreme_probe()
280 "detected at 0x%lx\n", gus->gf1.port); in snd_gusextreme_probe()
283 gus->codec_flag = 1; in snd_gusextreme_probe()
296 error = snd_gf1_pcm_new(gus, 1, 1, NULL); in snd_gusextreme_probe()
301 error = snd_gf1_new_mixer(gus); in snd_gusextreme_probe()
328 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8); in snd_gusextreme_probe()