Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/sound/pci/
Dcs5530.c82 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local
124 irq = snd_cs5530_mixer_read(sb_base, 0x80) & 0x0F; in snd_cs5530_create()
149 if (irq & 1) in snd_cs5530_create()
150 irq = 9; in snd_cs5530_create()
151 else if (irq & 2) in snd_cs5530_create()
152 irq = 5; in snd_cs5530_create()
153 else if (irq & 4) in snd_cs5530_create()
154 irq = 7; in snd_cs5530_create()
155 else if (irq & 8) in snd_cs5530_create()
156 irq = 10; in snd_cs5530_create()
[all …]
/sound/isa/gus/
Dgus_main.c97 if (gus->gf1.irq >= 0) in snd_gus_free()
98 free_irq(gus->gf1.irq, (void *) gus); in snd_gus_free()
119 int irq, int dma1, int dma2, in snd_gus_create() argument
144 gus->gf1.irq = -1; in snd_gus_create()
171 if (irq >= 0 && request_irq(irq, snd_gus_interrupt, 0, "GUS GF1", (void *) gus)) { in snd_gus_create()
172 snd_printk(KERN_ERR "gus: can't grab irq %d\n", irq); in snd_gus_create()
176 gus->gf1.irq = irq; in snd_gus_create()
177 card->sync_irq = irq; in snd_gus_create()
263 int irq, dma1, dma2; in snd_gus_init_dma_irq() local
293 irq = gus->gf1.irq; in snd_gus_init_dma_irq()
[all …]
Dgusclassic.c31 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,5,9,11,12,15 */ variable
47 module_param_hw_array(irq, int, irq, NULL, 0444);
48 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver.");
75 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_gusclassic_create()
76 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_gusclassic_create()
77 if (irq[n] < 0) { in snd_gusclassic_create()
98 return snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create()
104 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create()
182 gus->gf1.port, gus->gf1.irq, gus->gf1.dma1); in snd_gusclassic_probe()
Dgusextreme.c37 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable
59 module_param_hw_array(irq, int, irq, NULL, 0444);
60 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver.");
61 module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
63 module_param_hw_array(gf1_irq, int, irq, NULL, 0444);
91 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_gusextreme_es1688_create()
92 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_gusextreme_es1688_create()
93 if (irq[n] < 0) { in snd_gusextreme_es1688_create()
108 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create()
114 irq[n], mpu_irq[n], dma8[n], ES1688_HW_1688); in snd_gusextreme_es1688_create()
[all …]
Dgusmax.c29 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 2,3,5,9,11,12,15 */ variable
45 module_param_hw_array(irq, int, irq, NULL, 0444);
46 MODULE_PARM_DESC(irq, "IRQ # for GUS MAX driver.");
59 int irq; member
91 static irqreturn_t snd_gusmax_interrupt(int irq, void *dev_id) in snd_gusmax_interrupt() argument
101 snd_gus_interrupt(irq, maxcard->gus); in snd_gusmax_interrupt()
106 snd_wss_interrupt(irq, maxcard->wss); in snd_gusmax_interrupt()
203 maxcard->irq = -1; in snd_gusmax_probe()
205 xirq = irq[dev]; in snd_gusmax_probe()
279 maxcard->irq = xirq; in snd_gusmax_probe()
[all …]
/sound/isa/cs423x/
Dcs4231.c32 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */ variable
47 module_param_hw_array(irq, int, irq, NULL, 0444);
48 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver.");
49 module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
65 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_cs4231_match()
86 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], in snd_cs4231_probe()
103 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_cs4231_probe()
107 chip->pcm->name, chip->port, irq[n], dma1[n], dma2[n]); in snd_cs4231_probe()
/sound/pcmcia/pdaudiocf/
Dpdaudiocf.c50 free_irq(link->irq, link->priv); in pdacf_release()
150 static int snd_pdacf_assign_resources(struct snd_pdacf *pdacf, int port, int irq) in snd_pdacf_assign_resources() argument
155 snd_printdd(KERN_DEBUG "pdacf assign resources: port = 0x%x, irq = %d\n", port, irq); in snd_pdacf_assign_resources()
157 pdacf->irq = irq; in snd_pdacf_assign_resources()
167 card->shortname, port, irq); in snd_pdacf_assign_resources()
214 ret = request_threaded_irq(link->irq, pdacf_interrupt, in pdacf_config()
225 link->irq) < 0) in pdacf_config()
228 pdacf->card->sync_irq = link->irq; in pdacf_config()
232 free_irq(link->irq, link->priv); in pdacf_config()
/sound/drivers/mpu401/
Dmpu401.c28 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* MPU-401 IRQ */ variable
43 module_param_hw_array(irq, int, irq, NULL, 0444);
44 MODULE_PARM_DESC(irq, "IRQ # for MPU-401 device.");
69 if (irq[dev] >= 0) { in snd_mpu401_create()
70 sprintf(card->longname + strlen(card->longname), "irq %d", irq[dev]); in snd_mpu401_create()
76 irq[dev], NULL); in snd_mpu401_create()
96 if (irq[dev] == SNDRV_AUTO_IRQ) { in snd_mpu401_probe()
150 irq[dev] = -1; in snd_mpu401_pnp()
152 irq[dev] = pnp_irq(device, 0); in snd_mpu401_pnp()
Dmpu401_uart.c120 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id) in snd_mpu401_uart_interrupt() argument
141 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id) in snd_mpu401_uart_interrupt_tx() argument
491 if (mpu->irq >= 0) in snd_mpu401_uart_free()
492 free_irq(mpu->irq, (void *) mpu); in snd_mpu401_uart_free()
519 int irq, in snd_mpu401_uart_new() argument
548 mpu->irq = -1; in snd_mpu401_uart_new()
572 if (irq >= 0) { in snd_mpu401_uart_new()
573 if (request_irq(irq, snd_mpu401_uart_interrupt, 0, in snd_mpu401_uart_new()
576 "unable to grab IRQ %d\n", irq); in snd_mpu401_uart_new()
581 if (irq < 0 && !(info_flags & MPU401_INFO_IRQ_HOOK)) in snd_mpu401_uart_new()
[all …]
/sound/isa/es1688/
Des1688.c40 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable
58 module_param_hw_array(irq, int, irq, NULL, 0444);
61 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver.");
62 module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
88 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_es1688_legacy_create()
89 irq[n] = snd_legacy_find_free_irq(possible_irqs); in snd_es1688_legacy_create()
90 if (irq[n] < 0) { in snd_es1688_legacy_create()
105 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create()
111 irq[n], mpu_irq[n], dma8[n], ES1688_HW_AUTO); in snd_es1688_legacy_create()
135 chip->irq, chip->dma8); in snd_es1688_probe()
[all …]
/sound/soc/fsl/
Dmpc5200_dma.c30 static irqreturn_t psc_dma_status_irq(int irq, void *_psc_dma) in psc_dma_status_irq() argument
76 static irqreturn_t psc_dma_bcom_irq(int irq, void *_psc_dma_stream) in psc_dma_bcom_irq() argument
318 int size, irq, rc; in mpc5200_audio_dma_create() local
324 irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5200_audio_dma_create()
352 psc_dma->irq = irq; in mpc5200_audio_dma_create()
399 psc_dma->playback.irq = in mpc5200_audio_dma_create()
401 psc_dma->capture.irq = in mpc5200_audio_dma_create()
404 rc = request_irq(psc_dma->irq, &psc_dma_status_irq, IRQF_SHARED, in mpc5200_audio_dma_create()
406 rc |= request_irq(psc_dma->capture.irq, &psc_dma_bcom_irq, IRQF_SHARED, in mpc5200_audio_dma_create()
408 rc |= request_irq(psc_dma->playback.irq, &psc_dma_bcom_irq, IRQF_SHARED, in mpc5200_audio_dma_create()
[all …]
Dfsl_aud2htx.c181 static irqreturn_t fsl_aud2htx_isr(int irq, void *dev_id) in fsl_aud2htx_isr() argument
191 int ret, irq; in fsl_aud2htx_probe() local
210 irq = platform_get_irq(pdev, 0); in fsl_aud2htx_probe()
211 if (irq < 0) in fsl_aud2htx_probe()
212 return irq; in fsl_aud2htx_probe()
214 ret = devm_request_irq(&pdev->dev, irq, fsl_aud2htx_isr, 0, in fsl_aud2htx_probe()
217 dev_err(&pdev->dev, "failed to claim irq %u: %d\n", irq, ret); in fsl_aud2htx_probe()
/sound/isa/ad1848/
Dad1848.c30 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,11,12,15 */ variable
42 module_param_hw_array(irq, int, irq, NULL, 0444);
43 MODULE_PARM_DESC(irq, "IRQ # for " CRD_NAME " driver.");
58 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_ad1848_match()
79 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe()
101 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
105 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
/sound/isa/sb/
Dsb8.c25 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 5,7,9,10 */ variable
36 module_param_hw_array(irq, int, irq, NULL, 0444);
37 MODULE_PARM_DESC(irq, "IRQ # for SB8 driver.");
46 static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id) in snd_sb8_interrupt() argument
61 if (irq[dev] == SNDRV_AUTO_IRQ) { in snd_sb8_match()
95 err = snd_sbdsp_create(card, port[dev], irq[dev], in snd_sb8_probe()
108 irq[dev], in snd_sb8_probe()
170 irq[dev], dma8[dev]); in snd_sb8_probe()
Djazz16.c39 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; variable
54 module_param_hw_array(irq, int, irq, NULL, 0444);
55 MODULE_PARM_DESC(irq, "IRQ # for jazz16 driver.");
56 module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
73 static irqreturn_t jazz16_interrupt(int irq, void *chip) in jazz16_interrupt() argument
164 jazz_irq_bits[chip->irq] == 0) in jazz16_configure_board()
176 jazz_irq_bits[chip->irq] | in jazz16_configure_board()
236 xirq = irq[dev]; in snd_jazz16_probe()
269 err = snd_sbdsp_create(card, port[dev], irq[dev], in snd_jazz16_probe()
Dsb_common.c173 int irq, in snd_sbdsp_create() argument
193 chip->irq = -1; in snd_sbdsp_create()
198 if (devm_request_irq(card->dev, irq, irq_handler, in snd_sbdsp_create()
203 snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); in snd_sbdsp_create()
206 chip->irq = irq; in snd_sbdsp_create()
207 card->sync_irq = chip->irq; in snd_sbdsp_create()
/sound/pcmcia/vx/
Dvxpocket.c49 free_irq(link->irq, link->priv); in vxpocket_release()
148 static int snd_vxpocket_assign_resources(struct vx_core *chip, int port, int irq) in snd_vxpocket_assign_resources() argument
154 snd_printdd(KERN_DEBUG "vxpocket assign resources: port = 0x%x, irq = %d\n", port, irq); in snd_vxpocket_assign_resources()
159 card->shortname, port, irq); in snd_vxpocket_assign_resources()
161 chip->irq = irq; in snd_vxpocket_assign_resources()
162 card->sync_irq = chip->irq; in snd_vxpocket_assign_resources()
198 ret = request_threaded_irq(link->irq, snd_vx_irq_handler, in vxpocket_config()
211 link->irq) < 0) in vxpocket_config()
217 free_irq(link->irq, link->priv); in vxpocket_config()
/sound/isa/msnd/
Dmsnd_pinnacle.c155 static irqreturn_t snd_msnd_interrupt(int irq, void *dev_id) in snd_msnd_interrupt() argument
232 chip->irq, in snd_msnd_probe()
293 chip->irq, in snd_msnd_probe()
527 err = devm_request_irq(card->dev, chip->irq, snd_msnd_interrupt, 0, in snd_msnd_attach()
530 printk(KERN_ERR LOGNAME ": Couldn't grab IRQ %d\n", chip->irq); in snd_msnd_attach()
533 card->sync_irq = chip->irq; in snd_msnd_attach()
591 disable_irq(chip->irq); in snd_msnd_attach()
640 static int snd_msnd_write_cfg_irq(int cfg, int num, u16 irq) in snd_msnd_write_cfg_irq() argument
644 if (snd_msnd_write_cfg(cfg, IREG_IRQ_NUMBER, LOBYTE(irq))) in snd_msnd_write_cfg_irq()
679 u16 io1, u16 irq, int mem) in snd_msnd_write_cfg_logical() argument
[all …]
/sound/isa/opti9xx/
Dopti92x-ad1848.c56 static int irq = SNDRV_DEFAULT_IRQ1; /* 5,7,9,10,11 */ variable
79 module_param_hw(irq, int, irq, 0444);
80 MODULE_PARM_DESC(irq, "WSS irq # for opti9xx driver.");
81 module_param_hw(mpu_irq, int, irq, 0444);
129 int irq; member
177 chip->irq = -1; in snd_opti9xx_init()
324 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument
432 switch (irq) { in snd_opti9xx_configure()
451 snd_printk(KERN_WARNING "WSS irq # %d not valid\n", irq); in snd_opti9xx_configure()
635 static irqreturn_t snd_opti93x_interrupt(int irq, void *dev_id) in snd_opti93x_interrupt() argument
[all …]
/sound/drivers/
Dserial-u16550.c59 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* 3,4,5,7,9,10,11,14,15 */ variable
75 module_param_hw_array(irq, int, irq, NULL, 0444);
76 MODULE_PARM_DESC(irq, "IRQ # for UART16550A chip.");
115 int irq; member
255 if (uart->irq < 0 && uart->buff_in_count > 0) in snd_uart16550_io_loop()
279 static irqreturn_t snd_uart16550_interrupt(int irq, void *dev_id) in snd_uart16550_interrupt() argument
423 if (uart->irq < 0) { in snd_uart16550_do_open()
450 if (uart->irq < 0) in snd_uart16550_do_close()
588 if (uart->irq < 0) /* polling mode */ in snd_uart16550_write_buffer()
647 if (uart->irq < 0) /* polling */ in snd_uart16550_output_write()
[all …]
/sound/pci/vx222/
Dvx222.c132 if (devm_request_threaded_irq(&pci->dev, pci->irq, snd_vx_irq_handler, in snd_vx222_create()
135 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); in snd_vx222_create()
138 chip->irq = pci->irq; in snd_vx222_create()
139 card->sync_irq = chip->irq; in snd_vx222_create()
186 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
188 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
/sound/isa/
Dcmi8328.c41 static int irq[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_IRQ}; variable
57 module_param_hw_array(irq, int, irq, NULL, 0444);
58 MODULE_PARM_DESC(irq, "IRQ # for CMI8328 driver.");
66 module_param_hw_array(mpuirq, int, irq, NULL, 0444);
251 if (irq[ndev] == SNDRV_AUTO_IRQ) { in snd_cmi8328_probe()
252 irq[ndev] = snd_legacy_find_free_irq(irqs); in snd_cmi8328_probe()
253 if (irq[ndev] < 0) { in snd_cmi8328_probe()
273 pos = array_find(irqs, irq[ndev]); in snd_cmi8328_probe()
275 snd_printk(KERN_ERR "invalid IRQ %d\n", irq[ndev]); in snd_cmi8328_probe()
306 err = snd_wss_create(card, port + 4, -1, irq[ndev], dma1[ndev], in snd_cmi8328_probe()
[all …]
/sound/soc/dwc/
Ddwc-i2s.c68 u32 i, irq; in i2s_disable_irqs() local
72 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs()
73 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x30); in i2s_disable_irqs()
77 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs()
78 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x03); in i2s_disable_irqs()
86 u32 i, irq; in i2s_enable_irqs() local
90 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_enable_irqs()
91 i2s_write_reg(dev->i2s_base, IMR(i), irq & ~0x30); in i2s_enable_irqs()
95 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_enable_irqs()
96 i2s_write_reg(dev->i2s_base, IMR(i), irq & ~0x03); in i2s_enable_irqs()
[all …]
/sound/soc/spear/
Dspdif_in.c41 int irq; member
178 static irqreturn_t spdif_in_irq(int irq, void *arg) in spdif_in_irq() argument
222 host->irq = platform_get_irq(pdev, 0); in spdif_in_probe()
223 if (host->irq < 0) { in spdif_in_probe()
224 dev_warn(&pdev->dev, "failed to get IRQ: %d\n", host->irq); in spdif_in_probe()
225 return host->irq; in spdif_in_probe()
246 ret = devm_request_irq(&pdev->dev, host->irq, spdif_in_irq, 0, in spdif_in_probe()
/sound/pci/cs5535audio/
Dcs5535audio.c201 static irqreturn_t snd_cs5535audio_interrupt(int irq, void *dev_id) in snd_cs5535audio_interrupt() argument
263 cs5535au->irq = -1; in snd_cs5535audio_create()
271 if (devm_request_irq(&pci->dev, pci->irq, snd_cs5535audio_interrupt, in snd_cs5535audio_create()
273 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); in snd_cs5535audio_create()
277 cs5535au->irq = pci->irq; in snd_cs5535audio_create()
278 card->sync_irq = cs5535au->irq; in snd_cs5535audio_create()
323 cs5535au->port, cs5535au->irq); in __snd_cs5535audio_probe()

12345678910>>...15