Searched refs:eirq (Results 1 – 5 of 5) sorted by relevance
/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()
|
/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 …]
|
/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 …]
|
/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()
|
/arch/powerpc/sysdev/ |
D | cpm1.c | 136 unsigned int sirq = 0, hwirq, eirq; in cpm_pic_init() local 185 eirq = irq_of_parse_and_map(np, 0); in cpm_pic_init() 186 if (!eirq) in cpm_pic_init() 189 if (setup_irq(eirq, &cpm_error_irqaction)) in cpm_pic_init()
|