Home
last modified time | relevance | path

Searched refs:irqs (Results 1 – 25 of 80) sorted by relevance

1234

/arch/powerpc/platforms/powernv/
Dpci-cxl.c77 void pnv_cxl_release_hwirq_ranges(struct cxl_irq_ranges *irqs, in pnv_cxl_release_hwirq_ranges() argument
85 if (!irqs->range[i]) in pnv_cxl_release_hwirq_ranges()
88 i, irqs->offset[i], in pnv_cxl_release_hwirq_ranges()
89 irqs->range[i]); in pnv_cxl_release_hwirq_ranges()
90 hwirq = irqs->offset[i] - phb->msi_base; in pnv_cxl_release_hwirq_ranges()
92 irqs->range[i]); in pnv_cxl_release_hwirq_ranges()
97 int pnv_cxl_alloc_hwirq_ranges(struct cxl_irq_ranges *irqs, in pnv_cxl_alloc_hwirq_ranges() argument
104 memset(irqs, 0, sizeof(struct cxl_irq_ranges)); in pnv_cxl_alloc_hwirq_ranges()
118 irqs->offset[i] = phb->msi_base + hwirq; in pnv_cxl_alloc_hwirq_ranges()
119 irqs->range[i] = try; in pnv_cxl_alloc_hwirq_ranges()
[all …]
Dopal-irqchip.c186 const __be32 *irqs; in opal_event_init() local
213 irqs = of_get_property(opal_node, "opal-interrupts", &irqlen); in opal_event_init()
214 opal_irq_count = irqs ? (irqlen / 4) : 0; in opal_event_init()
219 for (i = 0; irqs && i < opal_irq_count; i++, irqs++) { in opal_event_init()
223 irq = be32_to_cpup(irqs); in opal_event_init()
/arch/powerpc/platforms/ps3/
Dspu.c263 0, &spu->irqs[0]); in setup_interrupts()
269 1, &spu->irqs[1]); in setup_interrupts()
275 2, &spu->irqs[2]); in setup_interrupts()
283 ps3_spe_irq_destroy(spu->irqs[1]); in setup_interrupts()
285 ps3_spe_irq_destroy(spu->irqs[0]); in setup_interrupts()
287 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = 0; in setup_interrupts()
333 ps3_spe_irq_destroy(spu->irqs[2]); in ps3_destroy_spu()
334 ps3_spe_irq_destroy(spu->irqs[1]); in ps3_destroy_spu()
335 ps3_spe_irq_destroy(spu->irqs[0]); in ps3_destroy_spu()
337 spu->irqs[0] = spu->irqs[1] = spu->irqs[2] = 0; in ps3_destroy_spu()
/arch/powerpc/platforms/cell/
Dspu_base.c407 if (spu->irqs[0]) { in spu_request_irqs()
410 ret = request_irq(spu->irqs[0], spu_irq_class_0, in spu_request_irqs()
415 if (spu->irqs[1]) { in spu_request_irqs()
418 ret = request_irq(spu->irqs[1], spu_irq_class_1, in spu_request_irqs()
423 if (spu->irqs[2]) { in spu_request_irqs()
426 ret = request_irq(spu->irqs[2], spu_irq_class_2, in spu_request_irqs()
434 if (spu->irqs[1]) in spu_request_irqs()
435 free_irq(spu->irqs[1], spu); in spu_request_irqs()
437 if (spu->irqs[0]) in spu_request_irqs()
438 free_irq(spu->irqs[0], spu); in spu_request_irqs()
[all …]
Dspu_manage.c103 spu->irqs[0] = irq_create_mapping(NULL, IIC_IRQ_CLASS_0 | isrc); in spu_map_interrupts_old()
104 spu->irqs[1] = irq_create_mapping(NULL, IIC_IRQ_CLASS_1 | isrc); in spu_map_interrupts_old()
105 spu->irqs[2] = irq_create_mapping(NULL, IIC_IRQ_CLASS_2 | isrc); in spu_map_interrupts_old()
108 if (!spu->irqs[2]) in spu_map_interrupts_old()
196 spu->irqs[i] = irq_create_of_mapping(&oirq); in spu_map_interrupts()
197 if (!spu->irqs[i]) { in spu_map_interrupts()
208 if (spu->irqs[i]) in spu_map_interrupts()
209 irq_dispose_mapping(spu->irqs[i]); in spu_map_interrupts()
/arch/ia64/kernel/
DMakefile54 arch/$(SRCARCH)/kernel/nr-irqs.s: arch/$(SRCARCH)/kernel/nr-irqs.c
58 include/generated/nr-irqs.h: arch/$(SRCARCH)/kernel/nr-irqs.s FORCE
/arch/arm/boot/dts/
Dmmp2.dtsi47 mrvl,intc-nr-irqs = <64>;
57 mrvl,intc-nr-irqs = <2>;
67 mrvl,intc-nr-irqs = <2>;
78 mrvl,intc-nr-irqs = <3>;
88 mrvl,intc-nr-irqs = <5>;
98 mrvl,intc-nr-irqs = <15>;
108 mrvl,intc-nr-irqs = <2>;
118 mrvl,intc-nr-irqs = <2>;
/arch/s390/include/asm/
Dirq.h70 unsigned int irqs[NR_ARCH_IRQS]; member
77 __this_cpu_inc(irq_stat.irqs[irq]); in inc_irq_stat()
/arch/powerpc/include/asm/
Dpnv-pci.h41 int pnv_cxl_alloc_hwirq_ranges(struct cxl_irq_ranges *irqs,
43 void pnv_cxl_release_hwirq_ranges(struct cxl_irq_ranges *irqs,
/arch/arm/mach-cns3xxx/
Dpcie.c30 unsigned int irqs[2]; member
134 int irq = cnspci->irqs[!!dev->bus->number]; in cns3xxx_pcie_map_irq()
160 .irqs = { IRQ_CNS3XXX_PCIE0_RC, IRQ_CNS3XXX_PCIE0_DEVICE, },
179 .irqs = { IRQ_CNS3XXX_PCIE1_RC, IRQ_CNS3XXX_PCIE1_DEVICE, },
/arch/x86/kernel/
Dirqinit.c99 x86_init.irqs.intr_init(); in init_IRQ()
172 x86_init.irqs.pre_vector_init(); in native_init_IRQ()
Dx86_init.c54 .irqs = {
/arch/arc/kernel/
Dintc-arcv2.c31 unsigned int pad:3, firq:1, prio:4, exts:8, irqs:8, ver:8; in arc_init_IRQ() member
33 unsigned int ver:8, irqs:8, exts:8, prio:4, firq:1, pad:3; in arc_init_IRQ()
/arch/sparc/include/asm/
Ddevice.h26 unsigned int irqs[PROMINTR_MAX]; member
Dparport.h119 op->archdata.irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe()
169 op->archdata.irqs[0], in ecpp_probe()
/arch/blackfin/kernel/
Dipipe.c103 idesc = &this_domain->irqs[irq]; in __ipipe_handle_irq()
110 idesc = &next_domain->irqs[irq]; in __ipipe_handle_irq()
127 idesc = &next_domain->irqs[irq]; in __ipipe_handle_irq()
/arch/sparc/kernel/
Dpower.c39 unsigned int irq = op->archdata.irqs[0]; in power_probe()
Dpci_schizo.c861 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in tomatillo_register_error_handlers()
868 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in tomatillo_register_error_handlers()
876 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers()
879 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers()
887 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in tomatillo_register_error_handlers()
956 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in schizo_register_error_handlers()
963 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in schizo_register_error_handlers()
971 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers()
974 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers()
982 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in schizo_register_error_handlers()
Dleon_pci_grpci2.c727 priv->irq = ofdev->archdata.irqs[0]; /* BASE IRQ */ in grpci2_of_probe()
825 priv->virq_dma = ofdev->archdata.irqs[1]; in grpci2_of_probe()
838 leon_update_virq_handling(ofdev->archdata.irqs[i], in grpci2_of_probe()
841 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe()
845 priv->virq_dma = ofdev->archdata.irqs[4]; in grpci2_of_probe()
Dpci_sabre.c345 err = request_irq(op->archdata.irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); in sabre_register_error_handlers()
355 err = request_irq(op->archdata.irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); in sabre_register_error_handlers()
359 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, 0, in sabre_register_error_handlers()
/arch/arm/mach-rockchip/
Dsleep.S29 setmode PSR_I_BIT | PSR_F_BIT | SVC_MODE, r1 @ set svc, irqs off
/arch/arm/mach-omap2/
Dprm_common.c181 if (!strcmp(prcm_irq_setup->irqs[i].name, name)) in omap_prcm_event_to_irq()
183 prcm_irq_setup->irqs[i].offset; in omap_prcm_event_to_irq()
306 offset = irq_setup->irqs[i].offset; in omap_prcm_register_chain_handler()
308 if (irq_setup->irqs[i].priority) in omap_prcm_register_chain_handler()
/arch/x86/xen/
Dirq.c136 x86_init.irqs.intr_init = xen_init_IRQ; in xen_init_irq_ops()
/arch/x86/include/asm/
Dx86_init.h123 struct x86_init_irqs irqs; member
/arch/arc/boot/dts/
Dnsim_hs_idu.dts57 * upstream irqs to core intc - downstream these are

1234