Home
last modified time | relevance | path

Searched refs:eirq (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/arch/mips/pmc-sierra/msp71xx/
Dmsp_hwbutton.c46 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-3.4.99/arch/mips/include/asm/pmc-sierra/msp71xx/
Dmsp_regs.h607 #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-3.4.99/arch/sparc/kernel/
Dleon_kernel.c55 unsigned int eirq; in leon_handle_ext_irq() local
58 eirq = leon_eirq_get(cpu); in leon_handle_ext_irq()
59 if ((eirq & 0x10) && irq_map[eirq]->irq) /* bit4 tells if IRQ happened */ in leon_handle_ext_irq()
60 generic_handle_irq(irq_map[eirq]->irq); in leon_handle_ext_irq()
64 void leon_eirq_setup(unsigned int eirq) in leon_eirq_setup() argument
69 if (eirq < 1 || eirq > 0xf) { in leon_eirq_setup()
70 printk(KERN_ERR "LEON EXT IRQ NUMBER BAD: %d\n", eirq); in leon_eirq_setup()
74 veirq = leon_build_device_irq(eirq, leon_handle_ext_irq, "extirq", 0); in leon_eirq_setup()
81 mask = 1 << eirq; in leon_eirq_setup()
84 sparc_leon_eirq = eirq; in leon_eirq_setup()
[all …]
/linux-3.4.99/arch/m68k/platform/coldfire/
Dintc-simr.c172 int irq, eirq; in init_IRQ() local
179 eirq = MCFINT_VECBASE + 64 + (MCFINTC1_ICR0 ? 64 : 0); in init_IRQ()
180 for (irq = MCFINT_VECBASE; (irq < eirq); irq++) { in init_IRQ()
/linux-3.4.99/arch/powerpc/sysdev/
Dcpm1.c134 unsigned int sirq = NO_IRQ, hwirq, eirq; in cpm_pic_init() local
183 eirq = irq_of_parse_and_map(np, 0); in cpm_pic_init()
184 if (eirq == NO_IRQ) in cpm_pic_init()
187 if (setup_irq(eirq, &cpm_error_irqaction)) in cpm_pic_init()
/linux-3.4.99/drivers/mtd/nand/
Dmxc_nand.c1130 goto eirq; in mxcnd_probe()
1135 goto eirq; in mxcnd_probe()
1195 goto eirq; in mxcnd_probe()
1244 eirq: in mxcnd_probe()
/linux-3.4.99/drivers/staging/olpc_dcon/
Dolpc_dcon.c655 goto eirq; in dcon_probe()
698 eirq: in dcon_probe()