/linux-4.1.27/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-4.1.27/arch/mips/include/asm/mach-pmcs-msp71xx/ |
D | msp_regs.h | 607 #define EXT_INT_POL(eirq) (1 << (eirq + 8)) argument 608 #define EXT_INT_EDGE(eirq) (1 << eirq) argument 610 #define CIC_EXT_SET_TRIGGER_LEVEL(reg, eirq) (reg &= ~EXT_INT_EDGE(eirq)) argument 611 #define CIC_EXT_SET_TRIGGER_EDGE(reg, eirq) (reg |= EXT_INT_EDGE(eirq)) argument 612 #define CIC_EXT_SET_ACTIVE_HI(reg, eirq) (reg |= EXT_INT_POL(eirq)) argument 613 #define CIC_EXT_SET_ACTIVE_LO(reg, eirq) (reg &= ~EXT_INT_POL(eirq)) argument 617 #define CIC_EXT_IS_TRIGGER_LEVEL(reg, eirq) \ argument 618 ((reg & EXT_INT_EDGE(eirq)) == 0) 619 #define CIC_EXT_IS_TRIGGER_EDGE(reg, eirq) (reg & EXT_INT_EDGE(eirq)) argument 620 #define CIC_EXT_IS_ACTIVE_HI(reg, eirq) (reg & EXT_INT_POL(eirq)) argument [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | leon_kernel.c | 58 unsigned int eirq; in leon_handle_ext_irq() local 62 eirq = leon_eirq_get(cpu); in leon_handle_ext_irq() 63 p = irq_map[eirq]; in leon_handle_ext_irq() 64 if ((eirq & 0x10) && p && p->irq) /* bit4 tells if IRQ happened */ in leon_handle_ext_irq() 69 static void leon_eirq_setup(unsigned int eirq) in leon_eirq_setup() argument 74 if (eirq < 1 || eirq > 0xf) { in leon_eirq_setup() 75 printk(KERN_ERR "LEON EXT IRQ NUMBER BAD: %d\n", eirq); in leon_eirq_setup() 79 veirq = leon_build_device_irq(eirq, leon_handle_ext_irq, "extirq", 0); in leon_eirq_setup() 86 mask = 1 << eirq; in leon_eirq_setup() 89 sparc_leon_eirq = eirq; in leon_eirq_setup() [all …]
|
/linux-4.1.27/drivers/mmc/host/ |
D | sh_mobile_sdhi.c | 302 goto eirq; in sh_mobile_sdhi_probe() 311 goto eirq; in sh_mobile_sdhi_probe() 320 goto eirq; in sh_mobile_sdhi_probe() 325 goto eirq; in sh_mobile_sdhi_probe() 337 goto eirq; in sh_mobile_sdhi_probe() 343 goto eirq; in sh_mobile_sdhi_probe() 354 eirq: in sh_mobile_sdhi_probe()
|
/linux-4.1.27/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-4.1.27/drivers/dma/ |
D | nbpfaxi.c | 1288 int ret, irq, eirq, i; in nbpf_probe() local 1341 eirq = irqbuf[0]; in nbpf_probe() 1346 eirq = platform_get_irq_byname(pdev, "error"); in nbpf_probe() 1347 if (eirq < 0) in nbpf_probe() 1348 return eirq; in nbpf_probe() 1356 if (irqbuf[i] == eirq) in nbpf_probe() 1365 if (irqbuf[0] == eirq) in nbpf_probe() 1375 ret = devm_request_irq(dev, eirq, nbpf_err_irq, in nbpf_probe()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | cpm1.c | 135 unsigned int sirq = NO_IRQ, hwirq, eirq; in cpm_pic_init() local 184 eirq = irq_of_parse_and_map(np, 0); in cpm_pic_init() 185 if (eirq == NO_IRQ) in cpm_pic_init() 188 if (setup_irq(eirq, &cpm_error_irqaction)) in cpm_pic_init()
|
/linux-4.1.27/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 625 goto eirq; in dcon_probe() 667 eirq: in dcon_probe()
|