/linux-2.6.39/drivers/pcmcia/ |
D | sa1100_cerf.c | 22 static struct pcmcia_irqs irqs[] = { variable 32 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cerf_pcmcia_hw_init() 37 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cerf_pcmcia_hw_shutdown() 81 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cerf_pcmcia_socket_init() 86 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cerf_pcmcia_socket_suspend()
|
D | sa1100_assabet.c | 22 static struct pcmcia_irqs irqs[] = { variable 32 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in assabet_pcmcia_hw_init() 40 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in assabet_pcmcia_hw_shutdown() 103 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in assabet_pcmcia_socket_init() 111 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in assabet_pcmcia_socket_suspend()
|
D | pxa2xx_trizeps4.c | 32 static struct pcmcia_irqs irqs[] = { variable 69 for (i = 0; i < ARRAY_SIZE(irqs); i++) { in trizeps_pcmcia_hw_init() 70 if (irqs[i].sock != skt->nr) in trizeps_pcmcia_hw_init() 72 if (gpio_request(irq_to_gpio(irqs[i].irq), irqs[i].str) < 0) { in trizeps_pcmcia_hw_init() 74 __func__, skt->nr, irq_to_gpio(irqs[i].irq)); in trizeps_pcmcia_hw_init() 78 if (gpio_direction_input(irq_to_gpio(irqs[i].irq)) < 0) { in trizeps_pcmcia_hw_init() 80 __func__, skt->nr, irq_to_gpio(irqs[i].irq)); in trizeps_pcmcia_hw_init() 85 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in trizeps_pcmcia_hw_init() 89 gpio_free(irq_to_gpio(irqs[i].irq)); in trizeps_pcmcia_hw_init() 99 for (i = 0; i < ARRAY_SIZE(irqs); i++) in trizeps_pcmcia_hw_shutdown() [all …]
|
D | sa1100_h3600.c | 22 static struct pcmcia_irqs irqs[] = { variable 47 irqs[0].irq = gpio_to_irq(H3XXX_GPIO_PCMCIA_CD0); in h3600_pcmcia_hw_init() 73 err = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in h3600_pcmcia_hw_init() 92 irqs[1].irq = gpio_to_irq(H3XXX_GPIO_PCMCIA_CD1); in h3600_pcmcia_hw_init() 94 err = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in h3600_pcmcia_hw_init() 116 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in h3600_pcmcia_hw_shutdown() 190 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in h3600_pcmcia_socket_init() 195 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in h3600_pcmcia_socket_suspend()
|
D | sa1100_shannon.c | 18 static struct pcmcia_irqs irqs[] = { variable 33 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in shannon_pcmcia_hw_init() 38 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in shannon_pcmcia_hw_shutdown() 97 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in shannon_pcmcia_socket_init() 102 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in shannon_pcmcia_socket_suspend()
|
D | sa1100_simpad.c | 22 static struct pcmcia_irqs irqs[] = { variable 33 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in simpad_pcmcia_hw_init() 38 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in simpad_pcmcia_hw_shutdown() 107 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in simpad_pcmcia_socket_init() 112 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in simpad_pcmcia_socket_suspend()
|
D | pxa2xx_stargate2.c | 37 static struct pcmcia_irqs irqs[] = { variable 44 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sg2_pcmcia_hw_init() 49 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sg2_pcmcia_hw_shutdown() 93 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sg2_pcmcia_socket_init() 98 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sg2_pcmcia_socket_suspend()
|
D | sa1111_generic.c | 32 static struct pcmcia_irqs irqs[] = { variable 41 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sa1111_pcmcia_hw_init() 46 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sa1111_pcmcia_hw_shutdown() 119 soc_pcmcia_enable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sa1111_pcmcia_socket_init() 124 soc_pcmcia_disable_irqs(skt, irqs, ARRAY_SIZE(irqs)); in sa1111_pcmcia_socket_suspend() 176 irqs[0].irq = dev->irq[IDX_IRQ_S0_CD_VALID]; in pcmcia_probe() 177 irqs[1].irq = dev->irq[IDX_IRQ_S0_BVD1_STSCHG]; in pcmcia_probe() 178 irqs[2].irq = dev->irq[IDX_IRQ_S1_CD_VALID]; in pcmcia_probe() 179 irqs[3].irq = dev->irq[IDX_IRQ_S1_BVD1_STSCHG]; in pcmcia_probe()
|
D | pxa2xx_cm_x270.c | 30 static struct pcmcia_irqs irqs[] = { variable 42 ret = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx270_pcmcia_hw_init() 51 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx270_pcmcia_shutdown()
|
D | soc_common.c | 529 struct pcmcia_irqs *irqs, int nr) in soc_pcmcia_request_irqs() argument 534 if (irqs[i].sock != skt->nr) in soc_pcmcia_request_irqs() 536 res = request_irq(irqs[i].irq, soc_common_pcmcia_interrupt, in soc_pcmcia_request_irqs() 537 IRQF_DISABLED, irqs[i].str, skt); in soc_pcmcia_request_irqs() 540 irq_set_irq_type(irqs[i].irq, IRQ_TYPE_NONE); in soc_pcmcia_request_irqs() 545 irqs[i].irq, res); in soc_pcmcia_request_irqs() 548 if (irqs[i].sock == skt->nr) in soc_pcmcia_request_irqs() 549 free_irq(irqs[i].irq, skt); in soc_pcmcia_request_irqs() 556 struct pcmcia_irqs *irqs, int nr) in soc_pcmcia_free_irqs() argument 561 if (irqs[i].sock == skt->nr) in soc_pcmcia_free_irqs() [all …]
|
D | pxa2xx_balloon3.c | 36 static struct pcmcia_irqs irqs[] = { variable 52 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in balloon3_pcmcia_hw_init() 57 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in balloon3_pcmcia_hw_shutdown()
|
D | pxa2xx_cm_x255.c | 35 static struct pcmcia_irqs irqs[] = { variable 48 ret = soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx255_pcmcia_hw_init() 57 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in cmx255_pcmcia_shutdown()
|
D | pxa2xx_viper.c | 35 static struct pcmcia_irqs irqs[] = { variable 53 irqs[0].irq = gpio_to_irq(pdata->cd_gpio); in viper_pcmcia_hw_init() 75 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in viper_pcmcia_hw_init() 95 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in viper_pcmcia_hw_shutdown()
|
D | pxa2xx_mainstone.c | 33 static struct pcmcia_irqs irqs[] = { variable 48 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); in mst_pcmcia_hw_init() 53 soc_pcmcia_free_irqs(skt, irqs, ARRAY_SIZE(irqs)); in mst_pcmcia_hw_shutdown()
|
D | soc_common.h | 130 extern int soc_pcmcia_request_irqs(struct soc_pcmcia_socket *skt, struct pcmcia_irqs *irqs, int nr); 131 extern void soc_pcmcia_free_irqs(struct soc_pcmcia_socket *skt, struct pcmcia_irqs *irqs, int nr); 132 extern void soc_pcmcia_disable_irqs(struct soc_pcmcia_socket *skt, struct pcmcia_irqs *irqs, int nr… 133 extern void soc_pcmcia_enable_irqs(struct soc_pcmcia_socket *skt, struct pcmcia_irqs *irqs, int nr);
|
/linux-2.6.39/arch/arm/mach-shmobile/ |
D | setup-sh7377.c | 42 .irqs = { evt2irq(0xc00), evt2irq(0xc00), 61 .irqs = { evt2irq(0xc20), evt2irq(0xc20), 80 .irqs = { evt2irq(0xc40), evt2irq(0xc40), 99 .irqs = { evt2irq(0xc60), evt2irq(0xc60), 118 .irqs = { evt2irq(0xd20), evt2irq(0xd20), 137 .irqs = { evt2irq(0xd40), evt2irq(0xd40), 156 .irqs = { intcs_evt2irq(0x1a80), intcs_evt2irq(0x1a80), 175 .irqs = { evt2irq(0xd60), evt2irq(0xd60),
|
D | setup-sh7367.c | 41 .irqs = { evt2irq(0xc00), evt2irq(0xc00), 60 .irqs = { evt2irq(0xc20), evt2irq(0xc20), 79 .irqs = { evt2irq(0xc40), evt2irq(0xc40), 98 .irqs = { evt2irq(0xc60), evt2irq(0xc60), 117 .irqs = { evt2irq(0xd20), evt2irq(0xd20), 136 .irqs = { evt2irq(0xd40), evt2irq(0xd40), 155 .irqs = { evt2irq(0xd60), evt2irq(0xd60),
|
D | setup-sh73a0.c | 42 .irqs = { gic_spi(72), gic_spi(72), 60 .irqs = { gic_spi(73), gic_spi(73), 78 .irqs = { gic_spi(74), gic_spi(74), 96 .irqs = { gic_spi(75), gic_spi(75), 114 .irqs = { gic_spi(78), gic_spi(78), 132 .irqs = { gic_spi(79), gic_spi(79), 150 .irqs = { gic_spi(156), gic_spi(156), 168 .irqs = { gic_spi(143), gic_spi(143), 186 .irqs = { gic_spi(80), gic_spi(80),
|
/linux-2.6.39/arch/powerpc/platforms/ps3/ |
D | spu.c | 262 0, &spu->irqs[0]); in setup_interrupts() 268 1, &spu->irqs[1]); in setup_interrupts() 274 2, &spu->irqs[2]); in setup_interrupts() 282 ps3_spe_irq_destroy(spu->irqs[1]); in setup_interrupts() 284 ps3_spe_irq_destroy(spu->irqs[0]); in setup_interrupts() 286 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = NO_IRQ; in setup_interrupts() 332 ps3_spe_irq_destroy(spu->irqs[2]); in ps3_destroy_spu() 333 ps3_spe_irq_destroy(spu->irqs[1]); in ps3_destroy_spu() 334 ps3_spe_irq_destroy(spu->irqs[0]); in ps3_destroy_spu() 336 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = NO_IRQ; in ps3_destroy_spu()
|
/linux-2.6.39/arch/m68k/sun3/ |
D | sun3ints.c | 55 if (!(kstat_cpu(0).irqs[irq] % 2000)) in sun3_int7() 56 sun3_leds(led_pattern[(kstat_cpu(0).irqs[irq] % 16000) / 2000]); in sun3_int7() 71 if (!(kstat_cpu(0).irqs[irq] % 20)) in sun3_int5() 72 sun3_leds(led_pattern[(kstat_cpu(0).irqs[irq] % 160) / 20]); in sun3_int5()
|
/linux-2.6.39/arch/arm/kernel/ |
D | pmu.c | 107 int i, irqs, err = 0; in init_cpu_pmu() local 113 irqs = pdev->num_resources; in init_cpu_pmu() 119 if (irqs == 1 && !irq_can_set_affinity(platform_get_irq(pdev, 0))) in init_cpu_pmu() 122 for (i = 0; i < irqs; ++i) { in init_cpu_pmu()
|
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | spu_base.c | 440 if (spu->irqs[0] != NO_IRQ) { in spu_request_irqs() 443 ret = request_irq(spu->irqs[0], spu_irq_class_0, in spu_request_irqs() 449 if (spu->irqs[1] != NO_IRQ) { in spu_request_irqs() 452 ret = request_irq(spu->irqs[1], spu_irq_class_1, in spu_request_irqs() 458 if (spu->irqs[2] != NO_IRQ) { in spu_request_irqs() 461 ret = request_irq(spu->irqs[2], spu_irq_class_2, in spu_request_irqs() 470 if (spu->irqs[1] != NO_IRQ) in spu_request_irqs() 471 free_irq(spu->irqs[1], spu); in spu_request_irqs() 473 if (spu->irqs[0] != NO_IRQ) in spu_request_irqs() 474 free_irq(spu->irqs[0], spu); in spu_request_irqs() [all …]
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 1543 res_lists.irqs = NULL; in board_added() 2394 struct irq_mapping irqs; in configure_new_function() local 2474 if (!resources->irqs) { in configure_new_function() 2475 irqs.barber_pole = 0; in configure_new_function() 2476 irqs.interrupt[0] = 0; in configure_new_function() 2477 irqs.interrupt[1] = 0; in configure_new_function() 2478 irqs.interrupt[2] = 0; in configure_new_function() 2479 irqs.interrupt[3] = 0; in configure_new_function() 2480 irqs.valid_INT = 0; in configure_new_function() 2482 irqs.barber_pole = resources->irqs->barber_pole; in configure_new_function() [all …]
|
/linux-2.6.39/drivers/input/serio/ |
D | i8042-sparcio.h | 61 unsigned int irq = kbd->archdata.irqs[0]; in sparc_i8042_probe() 63 irq = op->archdata.irqs[0]; in sparc_i8042_probe() 71 unsigned int irq = ms->archdata.irqs[0]; in sparc_i8042_probe() 73 irq = op->archdata.irqs[0]; in sparc_i8042_probe()
|
/linux-2.6.39/drivers/net/wan/ |
D | z85230.c | 711 struct z8530_irqhandler *irqs; in z8530_interrupt() local 735 irqs=dev->chanA.irqs; in z8530_interrupt() 740 irqs->rx(&dev->chanA); in z8530_interrupt() 742 irqs->tx(&dev->chanA); in z8530_interrupt() 744 irqs->status(&dev->chanA); in z8530_interrupt() 747 irqs=dev->chanB.irqs; in z8530_interrupt() 752 irqs->rx(&dev->chanB); in z8530_interrupt() 754 irqs->tx(&dev->chanB); in z8530_interrupt() 756 irqs->status(&dev->chanB); in z8530_interrupt() 798 c->irqs = &z8530_sync; in z8530_sync_open() [all …]
|