Lines Matching +full:edge +full:- +full:triggered
2 * intc-2.c
5 * interrupt controllers with 63 interrupt sources, organized as 56 fully-
6 * programmable + 7 fixed-level interrupt sources. This includes the 523x
10 * The external 7 fixed interrupts are part of the Edge Port unit of these
11 * ColdFire parts. They can be configured as level or edge triggered.
13 * (C) Copyright 2009-2011, Greg Ungerer <gerg@snapgear.com>
37 * The EDGE Port interrupts are the fixed 7 external interrupts.
41 #define EINT1 65 /* EDGE Port interrupt 1 */
42 #define EINT7 71 /* EDGE Port interrupt 7 */
52 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_mask()
70 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_unmask()
91 * Only the external (or EDGE Port) interrupts need to be acknowledged
93 * if they are in edge triggered mode, but there is no harm in doing it
98 unsigned int irq = d->irq; in intc_irq_ack()
100 __raw_writeb(0x1 << (irq - EINT0), MCFEPORT_EPFR); in intc_irq_ack()
114 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_startup()
124 __raw_writeb(intc_intpri--, icraddr); in intc_irq_startup()
126 irq = d->irq; in intc_irq_startup()
130 irq -= EINT0; in intc_irq_startup()
147 unsigned int irq = d->irq; in intc_irq_set_type()
161 /* Level triggered */ in intc_irq_set_type()
169 irq -= EINT0; in intc_irq_set_type()
178 .name = "CF-INTC",
185 .name = "CF-INTC-EP",