Searched refs:iwcard (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/sound/isa/gus/ |
H A D | interwave.c | 210 static int snd_interwave_detect_stb(struct snd_interwave *iwcard, snd_interwave_detect_stb() argument 216 struct snd_card *card = iwcard->card; snd_interwave_detect_stb() 228 if ((iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)")) != NULL) snd_interwave_detect_stb() 233 iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)"); snd_interwave_detect_stb() 235 if (iwcard->i2c_res == NULL) { snd_interwave_detect_stb() 252 static int snd_interwave_detect(struct snd_interwave *iwcard, snd_interwave_detect() argument 292 return snd_interwave_detect_stb(iwcard, gus, dev, rbus); snd_interwave_detect() 301 struct snd_interwave *iwcard = dev_id; snd_interwave_interrupt() local 307 if (inb(iwcard->gus_status_reg)) { snd_interwave_interrupt() 309 snd_gus_interrupt(irq, iwcard->gus); snd_interwave_interrupt() 312 if (inb(iwcard->pcm_status_reg) & 0x01) { /* IRQ bit is set? */ snd_interwave_interrupt() 314 snd_wss_interrupt(irq, iwcard->wss); snd_interwave_interrupt() 554 static int snd_interwave_pnp(int dev, struct snd_interwave *iwcard, snd_interwave_pnp() argument 561 iwcard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_interwave_pnp() 562 if (iwcard->dev == NULL) snd_interwave_pnp() 566 iwcard->devtc = pnp_request_card_device(card, id->devs[1].id, NULL); snd_interwave_pnp() 567 if (iwcard->devtc == NULL) snd_interwave_pnp() 571 pdev = iwcard->dev; snd_interwave_pnp() 595 pdev = iwcard->devtc; snd_interwave_pnp() 611 struct snd_interwave *iwcard = card->private_data; snd_interwave_free() local 613 if (iwcard == NULL) snd_interwave_free() 616 release_and_free_resource(iwcard->i2c_res); snd_interwave_free() 618 if (iwcard->irq >= 0) snd_interwave_free() 619 free_irq(iwcard->irq, (void *)iwcard); snd_interwave_free() 626 struct snd_interwave *iwcard; snd_interwave_card_new() local 633 iwcard = card->private_data; snd_interwave_card_new() 634 iwcard->card = card; snd_interwave_card_new() 635 iwcard->irq = -1; snd_interwave_card_new() 644 struct snd_interwave *iwcard = card->private_data; snd_interwave_probe() local 664 if ((err = snd_interwave_detect(iwcard, gus, dev snd_interwave_probe() 671 iwcard->gus_status_reg = gus->gf1.reg_irqstat; snd_interwave_probe() 672 iwcard->pcm_status_reg = gus->gf1.port + 0x10c + 2; snd_interwave_probe() 680 "InterWave", iwcard)) { snd_interwave_probe() 684 iwcard->irq = xirq; snd_interwave_probe() 767 iwcard->wss = wss; snd_interwave_probe() 768 iwcard->gus = gus; snd_interwave_probe()
|
Completed in 47 milliseconds