/sound/oss/ |
D | trix.c | 135 switch(hw_config->irq) { in init_trix_wss() 149 printk(KERN_ERR "AudioTrix: Bad WSS IRQ %d\n", hw_config->irq); in init_trix_wss() 211 if (hw_config->irq > 9 && config & 0x80) in init_trix_wss() 213 printk(KERN_ERR "AudioTrix: Can't use IRQ%d with a 8 bit card slot\n", hw_config->irq); in init_trix_wss() 249 hw_config->irq, in init_trix_wss() 288 tmp = hw_config->irq; in probe_trix_sb() 305 conf |= irq_translate[hw_config->irq]; in probe_trix_sb() 337 if (hw_config->irq > 9) in probe_trix_mpu() 339 printk(KERN_ERR "AudioTrix: Bad MPU IRQ %d\n", hw_config->irq); in probe_trix_mpu() 342 if (irq_bits[hw_config->irq] == -1) in probe_trix_mpu() [all …]
|
D | kahlua.c | 62 u8 irq, dma8, dma16; in probe_one() local 97 irq = mixer_read(io, 0x80) & 0x0F; in probe_one() 126 if(irq & 1) in probe_one() 127 irq = 9; in probe_one() 128 else if(irq & 2) in probe_one() 129 irq = 5; in probe_one() 130 else if(irq & 4) in probe_one() 131 irq = 7; in probe_one() 132 else if(irq & 8) in probe_one() 133 irq = 10; in probe_one() [all …]
|
D | pas2_card.c | 91 static irqreturn_t pasintr(int irq, void *dev_id) in pasintr() argument 142 pas_irq = hw_config->irq; in config_pas_hw() 164 hw_config->irq=-1; in config_pas_hw() 175 hw_config->irq=-1; in config_pas_hw() 182 hw_config->irq=-1; in config_pas_hw() 266 if (!sb_irq_bits[sb_config->irq]) in config_pas_hw() 267 printk(KERN_ERR "PAS16 Warning: Invalid SB IRQ %d\n\n", sb_config->irq); in config_pas_hw() 270 sb_irq_bits[sb_config->irq]; in config_pas_hw() 327 pas_irq = hw_config->irq; in attach_pas_card() 367 if (hw_config->irq>0) in unload_pas() [all …]
|
D | sb_card.c | 44 static int __initdata irq = -1; variable 66 module_param(irq, int, 000); 67 MODULE_PARM_DESC(irq, "IRQ (5,7,9,10)"); 147 legacy->conf.irq = irq; in sb_init_legacy() 153 legacy->mpucnf.irq = -1; in sb_init_legacy() 170 scc->conf.irq = -1; in sb_dev2cfg() 174 scc->mpucnf.irq = -1; in sb_dev2cfg() 182 scc->conf.irq = pnp_irq(dev,0); in sb_dev2cfg() 190 scc->conf.irq = pnp_irq(dev,0); in sb_dev2cfg() 197 scc->conf.irq = pnp_irq(dev,0); in sb_dev2cfg() [all …]
|
D | sb_common.c | 136 uart401intr(devc->irq, devc->midi_irq_cookie); in sb_intr() 204 static irqreturn_t sbintr(int irq, void *dev_id) in sbintr() argument 401 if (hw_config->irq < 1 || hw_config->irq > 15 || jazz_irq_bits[hw_config->irq] == 0) in init_Jazz16() 403 printk(KERN_ERR "Jazz16: Invalid interrupt (IRQ%d)\n", hw_config->irq); in init_Jazz16() 430 if (!sb_dsp_command(devc, jazz_irq_bits[hw_config->irq])) in init_Jazz16() 528 devc->irq = hw_config->irq; in sb_dsp_detect() 672 if (!((devc->caps & SB_NO_AUDIO) && (devc->caps & SB_NO_MIDI)) && hw_config->irq > 0) in sb_dsp_init() 682 if (request_irq(hw_config->irq, sbintr, i, "soundblaster", devc) < 0) in sb_dsp_init() 684 printk(KERN_ERR "SB: Can't allocate IRQ%d\n", hw_config->irq); in sb_dsp_init() 691 if (!sb16_set_irq_hw(devc, devc->irq)) /* Unsupported IRQ */ in sb_dsp_init() [all …]
|
D | uart401.c | 36 int irq; member 100 irqreturn_t uart401intr(int irq, void *dev_id) in uart401intr() argument 317 devc->irq = hw_config->irq; in probe_uart401() 336 if (devc->irq < 0) { in probe_uart401() 338 devc->irq *= -1; in probe_uart401() 343 if (request_irq(devc->irq, uart401intr, 0, "MPU-401 UART", devc) < 0) { in probe_uart401() 344 printk(KERN_WARNING "uart401: Failed to allocate IRQ%d\n", devc->irq); in probe_uart401() 392 free_irq(devc->irq, devc); in probe_uart401() 419 free_irq(devc->irq, devc); in unload_uart401() 438 static int irq = -1; variable [all …]
|
D | uart6850.c | 107 static irqreturn_t m6850intr(int irq, void *dev_id) in m6850intr() argument 264 uart6850_irq = hw_config->irq; in attach_uart6850() 297 uart6850_irq = hw_config->irq; in probe_uart6850() 309 free_irq(hw_config->irq, NULL); in unload_uart6850() 316 static int __initdata irq = -1; variable 319 module_param(irq, int, 0); 324 cfg_mpu.irq = irq; in init_uart6850() 326 if (cfg_mpu.io_base == -1 || cfg_mpu.irq == -1) { in init_uart6850() 355 irq = ints[2]; in setup_uart6850()
|
D | msnd_pinnacle.c | 1095 static irqreturn_t intr(int irq, void *dev_id) in intr() argument 1196 dev.irq, in probe_multisound() 1405 if ((err = request_irq(dev.irq, intr, 0, dev.name, &dev)) < 0) { in attach_multisound() 1406 printk(KERN_ERR LOGNAME ": Couldn't grab IRQ %d\n", dev.irq); in attach_multisound() 1410 free_irq(dev.irq, &dev); in attach_multisound() 1417 free_irq(dev.irq, &dev); in attach_multisound() 1424 free_irq(dev.irq, &dev); in attach_multisound() 1432 free_irq(dev.irq, &dev); in attach_multisound() 1441 free_irq(dev.irq, &dev); in attach_multisound() 1447 disable_irq(dev.irq); in attach_multisound() [all …]
|
/sound/pci/ |
D | cs5530.c | 112 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local 176 irq = snd_cs5530_mixer_read(sb_base, 0x80) & 0x0F; in snd_cs5530_create() 203 if (irq & 1) in snd_cs5530_create() 204 irq = 9; in snd_cs5530_create() 205 else if (irq & 2) in snd_cs5530_create() 206 irq = 5; in snd_cs5530_create() 207 else if (irq & 4) in snd_cs5530_create() 208 irq = 7; in snd_cs5530_create() 209 else if (irq & 8) in snd_cs5530_create() 210 irq = 10; in snd_cs5530_create() [all …]
|
/sound/isa/gus/ |
D | gus_main.c | 112 if (gus->gf1.irq >= 0) in snd_gus_free() 113 free_irq(gus->gf1.irq, (void *) gus); in snd_gus_free() 134 int irq, int dma1, int dma2, in snd_gus_create() argument 159 gus->gf1.irq = -1; in snd_gus_create() 184 if (irq >= 0 && request_irq(irq, snd_gus_interrupt, 0, "GUS GF1", (void *) gus)) { in snd_gus_create() 185 snd_printk(KERN_ERR "gus: can't grab irq %d\n", irq); in snd_gus_create() 189 gus->gf1.irq = irq; in snd_gus_create() 274 int irq, dma1, dma2; in snd_gus_init_dma_irq() local 304 irq = gus->gf1.irq; in snd_gus_init_dma_irq() 305 irq = abs(irq); in snd_gus_init_dma_irq() [all …]
|
D | gusclassic.c | 47 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,5,9,11,12,15 */ variable 63 module_param_array(irq, int, NULL, 0444); 64 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver."); 91 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_gusclassic_create() 92 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_gusclassic_create() 93 if (irq[n] < 0) { in snd_gusclassic_create() 114 return snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 120 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 196 gus->gf1.port, gus->gf1.irq, gus->gf1.dma1); in snd_gusclassic_probe()
|
D | gusmax.c | 45 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,3,5,9,11,12,15 */ variable 61 module_param_array(irq, int, NULL, 0444); 62 MODULE_PARM_DESC(irq, "IRQ # for GUS MAX driver."); 75 int irq; member 105 static irqreturn_t snd_gusmax_interrupt(int irq, void *dev_id) in snd_gusmax_interrupt() argument 115 snd_gus_interrupt(irq, maxcard->gus); in snd_gusmax_interrupt() 120 snd_wss_interrupt(irq, maxcard->wss); in snd_gusmax_interrupt() 198 if (maxcard->irq >= 0) in snd_gusmax_free() 199 free_irq(maxcard->irq, (void *)maxcard); in snd_gusmax_free() 224 maxcard->irq = -1; in snd_gusmax_probe() [all …]
|
D | gusextreme.c | 53 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable 75 module_param_array(irq, int, NULL, 0444); 76 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver."); 107 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_gusextreme_es1688_create() 108 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_gusextreme_es1688_create() 109 if (irq[n] < 0) { in snd_gusextreme_es1688_create() 124 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create() 130 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create() 329 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8); in snd_gusextreme_probe()
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 26 static irqreturn_t psc_dma_status_irq(int irq, void *_psc_dma) in psc_dma_status_irq() argument 72 static irqreturn_t psc_dma_bcom_irq(int irq, void *_psc_dma_stream) in psc_dma_bcom_irq() argument 378 int size, irq, rc; in mpc5200_audio_dma_create() local 384 irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5200_audio_dma_create() 412 psc_dma->irq = irq; in mpc5200_audio_dma_create() 459 psc_dma->playback.irq = in mpc5200_audio_dma_create() 461 psc_dma->capture.irq = in mpc5200_audio_dma_create() 464 rc = request_irq(psc_dma->irq, &psc_dma_status_irq, IRQF_SHARED, in mpc5200_audio_dma_create() 466 rc |= request_irq(psc_dma->capture.irq, &psc_dma_bcom_irq, IRQF_SHARED, in mpc5200_audio_dma_create() 468 rc |= request_irq(psc_dma->playback.irq, &psc_dma_bcom_irq, IRQF_SHARED, in mpc5200_audio_dma_create() [all …]
|
/sound/isa/msnd/ |
D | msnd_pinnacle.c | 167 static irqreturn_t snd_msnd_interrupt(int irq, void *dev_id) in snd_msnd_interrupt() argument 243 chip->irq, in snd_msnd_probe() 304 chip->irq, in snd_msnd_probe() 546 err = request_irq(chip->irq, snd_msnd_interrupt, 0, card->shortname, in snd_msnd_attach() 549 printk(KERN_ERR LOGNAME ": Couldn't grab IRQ %d\n", chip->irq); in snd_msnd_attach() 553 free_irq(chip->irq, chip); in snd_msnd_attach() 562 free_irq(chip->irq, chip); in snd_msnd_attach() 617 disable_irq(chip->irq); in snd_msnd_attach() 632 free_irq(chip->irq, chip); in snd_msnd_attach() 644 free_irq(chip->irq, chip); in snd_msnd_unload() [all …]
|
/sound/drivers/mpu401/ |
D | mpu401.c | 43 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* MPU-401 IRQ */ variable 58 module_param_array(irq, int, NULL, 0444); 59 MODULE_PARM_DESC(irq, "IRQ # for MPU-401 device."); 82 if (irq[dev] >= 0) { in snd_mpu401_create() 83 sprintf(card->longname + strlen(card->longname), "irq %d", irq[dev]); in snd_mpu401_create() 89 irq[dev], NULL); in snd_mpu401_create() 113 if (irq[dev] == SNDRV_AUTO_IRQ) { in snd_mpu401_probe() 178 irq[dev] = -1; in snd_mpu401_pnp() 180 irq[dev] = pnp_irq(device, 0); in snd_mpu401_pnp()
|
D | mpu401_uart.c | 135 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id) in snd_mpu401_uart_interrupt() argument 156 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id) in snd_mpu401_uart_interrupt_tx() argument 504 if (mpu->irq >= 0) in snd_mpu401_uart_free() 505 free_irq(mpu->irq, (void *) mpu); in snd_mpu401_uart_free() 532 int irq, in snd_mpu401_uart_new() argument 561 mpu->irq = -1; in snd_mpu401_uart_new() 585 if (irq >= 0) { in snd_mpu401_uart_new() 586 if (request_irq(irq, snd_mpu401_uart_interrupt, 0, in snd_mpu401_uart_new() 589 "unable to grab IRQ %d\n", irq); in snd_mpu401_uart_new() 594 if (irq < 0 && !(info_flags & MPU401_INFO_IRQ_HOOK)) in snd_mpu401_uart_new() [all …]
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 74 static int irq = SNDRV_DEFAULT_IRQ1; /* 5,7,9,10,11 */ variable 97 module_param(irq, int, 0444); 98 MODULE_PARM_DESC(irq, "WSS irq # for opti9xx driver."); 147 int irq; member 199 chip->irq = -1; in snd_opti9xx_init() 341 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument 444 switch (irq) { in snd_opti9xx_configure() 463 snd_printk(KERN_WARNING "WSS irq # %d not valid\n", irq); in snd_opti9xx_configure() 647 static irqreturn_t snd_opti93x_interrupt(int irq, void *dev_id) in snd_opti93x_interrupt() argument 782 irq = pnp_irq(pdev, 0); [all …]
|
/sound/isa/es1688/ |
D | es1688.c | 60 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable 78 module_param_array(irq, int, NULL, 0444); 81 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver."); 108 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_es1688_legacy_create() 109 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_es1688_legacy_create() 110 if (irq[n] < 0) { in snd_es1688_legacy_create() 125 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create() 131 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create() 156 chip->irq, chip->dma8); in snd_es1688_probe() 255 irq[n] = pnp_irq(pdev, 0); in snd_card_es968_pnp() [all …]
|
/sound/drivers/ |
D | serial-u16550.c | 74 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,4,5,7,9,10,11,14,15 */ variable 90 module_param_array(irq, int, NULL, 0444); 91 MODULE_PARM_DESC(irq, "IRQ # for UART16550A chip."); 130 int irq; member 272 if (uart->irq < 0 && uart->buff_in_count > 0) in snd_uart16550_io_loop() 296 static irqreturn_t snd_uart16550_interrupt(int irq, void *dev_id) in snd_uart16550_interrupt() argument 441 if (uart->irq < 0) { in snd_uart16550_do_open() 468 if (uart->irq < 0) in snd_uart16550_do_close() 606 if (uart->irq < 0) /* polling mode */ in snd_uart16550_write_buffer() 665 if (uart->irq < 0) /* polling */ in snd_uart16550_output_write() [all …]
|
/sound/isa/sb/ |
D | sb8.c | 41 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable 52 module_param_array(irq, int, NULL, 0444); 53 MODULE_PARM_DESC(irq, "IRQ # for SB8 driver."); 62 static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id) in snd_sb8_interrupt() argument 86 if (irq[dev] == SNDRV_AUTO_IRQ) { in snd_sb8_match() 116 if ((err = snd_sbdsp_create(card, port[dev], irq[dev], in snd_sb8_probe() 131 irq[dev], in snd_sb8_probe() 193 irq[dev], dma8[dev]); in snd_sb8_probe()
|
D | sb_common.c | 189 if (chip->irq >= 0) in snd_sbdsp_free() 190 free_irq(chip->irq, (void *) chip); in snd_sbdsp_free() 213 int irq, in snd_sbdsp_create() argument 236 chip->irq = -1; in snd_sbdsp_create() 241 if (request_irq(irq, irq_handler, in snd_sbdsp_create() 246 snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); in snd_sbdsp_create() 250 chip->irq = irq; in snd_sbdsp_create()
|
/sound/pci/cs5535audio/ |
D | cs5535audio.c | 215 static irqreturn_t snd_cs5535audio_interrupt(int irq, void *dev_id) in snd_cs5535audio_interrupt() argument 255 synchronize_irq(cs5535au->irq); in snd_cs5535audio_free() 258 if (cs5535au->irq >= 0) in snd_cs5535audio_free() 259 free_irq(cs5535au->irq, cs5535au); in snd_cs5535audio_free() 304 cs5535au->irq = -1; in snd_cs5535audio_create() 313 if (request_irq(pci->irq, snd_cs5535audio_interrupt, in snd_cs5535audio_create() 315 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); in snd_cs5535audio_create() 320 cs5535au->irq = pci->irq; in snd_cs5535audio_create() 376 cs5535au->port, cs5535au->irq); in snd_cs5535audio_probe()
|
/sound/pci/vx222/ |
D | vx222.c | 121 if (chip->irq >= 0) in snd_vx222_free() 122 free_irq(chip->irq, (void*)chip); in snd_vx222_free() 171 if (request_irq(pci->irq, snd_vx_irq_handler, IRQF_SHARED, in snd_vx222_create() 173 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); in snd_vx222_create() 177 chip->irq = pci->irq; in snd_vx222_create() 231 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe() 233 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
|
/sound/isa/ad1848/ |
D | ad1848.c | 48 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */ variable 60 module_param_array(irq, int, NULL, 0444); 61 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver."); 76 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_ad1848_match() 98 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe() 118 pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
|