| /Linux-v5.4/arch/mips/pmcs-msp71xx/ |
| D | msp_hwbutton.c | 46 int eirq; /* Extended IRQ number (0-7) */ member 95 .eirq = 0, 105 .eirq = 1, 118 if (CIC_EXT_IS_ACTIVE_HI(cic_ext, hirq->eirq)) { in hwbutton_handler() 120 CIC_EXT_SET_ACTIVE_LO(cic_ext, hirq->eirq); in hwbutton_handler() 124 CIC_EXT_SET_ACTIVE_HI(cic_ext, hirq->eirq); in hwbutton_handler() 145 CIC_EXT_SET_TRIGGER_LEVEL(cic_ext, hirq->eirq); in msp_hwbutton_register() 147 CIC_EXT_SET_ACTIVE_LO(cic_ext, hirq->eirq); in msp_hwbutton_register() 149 CIC_EXT_SET_ACTIVE_HI(cic_ext, hirq->eirq); in msp_hwbutton_register()
|
| /Linux-v5.4/arch/mips/include/asm/mach-pmcs-msp71xx/ |
| D | msp_regs.h | 595 #define EXT_INT_POL(eirq) (1 << (eirq + 8)) argument 596 #define EXT_INT_EDGE(eirq) (1 << eirq) argument 598 #define CIC_EXT_SET_TRIGGER_LEVEL(reg, eirq) (reg &= ~EXT_INT_EDGE(eirq)) argument 599 #define CIC_EXT_SET_TRIGGER_EDGE(reg, eirq) (reg |= EXT_INT_EDGE(eirq)) argument 600 #define CIC_EXT_SET_ACTIVE_HI(reg, eirq) (reg |= EXT_INT_POL(eirq)) argument 601 #define CIC_EXT_SET_ACTIVE_LO(reg, eirq) (reg &= ~EXT_INT_POL(eirq)) argument 605 #define CIC_EXT_IS_TRIGGER_LEVEL(reg, eirq) \ argument 606 ((reg & EXT_INT_EDGE(eirq)) == 0) 607 #define CIC_EXT_IS_TRIGGER_EDGE(reg, eirq) (reg & EXT_INT_EDGE(eirq)) argument 608 #define CIC_EXT_IS_ACTIVE_HI(reg, eirq) (reg & EXT_INT_POL(eirq)) argument [all …]
|
| /Linux-v5.4/drivers/acpi/ |
| D | irq.c | 183 struct acpi_resource_extended_irq *eirq; in acpi_irq_parse_one_cb() local 199 eirq = &ares->data.extended_irq; in acpi_irq_parse_one_cb() 200 if (eirq->producer_consumer == ACPI_PRODUCER) in acpi_irq_parse_one_cb() 202 if (ctx->index >= eirq->interrupt_count) { in acpi_irq_parse_one_cb() 203 ctx->index -= eirq->interrupt_count; in acpi_irq_parse_one_cb() 206 fwnode = acpi_get_irq_source_fwhandle(&eirq->resource_source); in acpi_irq_parse_one_cb() 207 acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index], in acpi_irq_parse_one_cb() 208 eirq->triggering, eirq->polarity, in acpi_irq_parse_one_cb() 209 eirq->shareable, ctx); in acpi_irq_parse_one_cb()
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | leon_kernel.c | 59 unsigned int eirq; in leon_handle_ext_irq() local 63 eirq = leon_eirq_get(cpu); in leon_handle_ext_irq() 64 p = irq_map[eirq]; in leon_handle_ext_irq() 65 if ((eirq & 0x10) && p && p->irq) /* bit4 tells if IRQ happened */ in leon_handle_ext_irq() 70 static void leon_eirq_setup(unsigned int eirq) in leon_eirq_setup() argument 75 if (eirq < 1 || eirq > 0xf) { in leon_eirq_setup() 76 printk(KERN_ERR "LEON EXT IRQ NUMBER BAD: %d\n", eirq); in leon_eirq_setup() 80 veirq = leon_build_device_irq(eirq, leon_handle_ext_irq, "extirq", 0); in leon_eirq_setup() 87 mask = 1 << eirq; in leon_eirq_setup() 90 sparc_leon_eirq = eirq; in leon_eirq_setup() [all …]
|
| /Linux-v5.4/arch/m68k/coldfire/ |
| D | intc-simr.c | 179 int irq, eirq; in init_IRQ() local 188 eirq = MCFINT_VECBASE + 64 + (MCFINTC1_ICR0 ? 64 : 0) + in init_IRQ() 190 for (irq = MCFINT_VECBASE; (irq < eirq); irq++) { in init_IRQ()
|
| /Linux-v5.4/drivers/dma/ |
| D | nbpfaxi.c | 229 unsigned int eirq; member 1293 int ret, irq, eirq, i; in nbpf_probe() local 1350 eirq = irqbuf[0]; in nbpf_probe() 1355 eirq = platform_get_irq_byname(pdev, "error"); in nbpf_probe() 1356 if (eirq < 0) in nbpf_probe() 1357 return eirq; in nbpf_probe() 1365 if (irqbuf[i] == eirq) in nbpf_probe() 1374 if (irqbuf[0] == eirq) in nbpf_probe() 1384 ret = devm_request_irq(dev, eirq, nbpf_err_irq, in nbpf_probe() 1388 nbpf->eirq = eirq; in nbpf_probe() [all …]
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | renesas_sdhi_core.c | 831 goto eirq; in renesas_sdhi_probe() 837 goto eirq; in renesas_sdhi_probe() 844 goto eirq; in renesas_sdhi_probe() 850 goto eirq; in renesas_sdhi_probe() 860 eirq: in renesas_sdhi_probe()
|
| /Linux-v5.4/arch/powerpc/platforms/8xx/ |
| D | cpm1.c | 137 unsigned int sirq = 0, hwirq, eirq; in cpm_pic_init() local 186 eirq = irq_of_parse_and_map(np, 0); in cpm_pic_init() 187 if (!eirq) in cpm_pic_init() 190 if (setup_irq(eirq, &cpm_error_irqaction)) in cpm_pic_init()
|
| /Linux-v5.4/drivers/staging/olpc_dcon/ |
| D | olpc_dcon.c | 622 goto eirq; in dcon_probe() 665 eirq: in dcon_probe()
|