Lines Matching refs:intc
41 microblaze_intc_t *intc; variable
55 mask = intc->ier; in enable_one_interrupt()
56 intc->ier = (mask | offset); in enable_one_interrupt()
59 intc->ier); in enable_one_interrupt()
60 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in enable_one_interrupt()
61 intc->iar, intc->mer); in enable_one_interrupt()
70 mask = intc->ier; in disable_one_interrupt()
71 intc->ier = (mask & ~offset); in disable_one_interrupt()
74 intc->ier); in disable_one_interrupt()
75 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in disable_one_interrupt()
76 intc->iar, intc->mer); in disable_one_interrupt()
107 intc->mer = 0; in intc_init()
108 intc->ier = 0; in intc_init()
109 intc->iar = 0xFFFFFFFF; in intc_init()
111 intc->mer = 0x3; in intc_init()
113 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in intc_init()
114 intc->iar, intc->mer); in intc_init()
133 intc = (microblaze_intc_t *)base; in interrupt_init()
164 int irqs = intc->ivr; /* find active interrupt */ in interrupt_handler()
169 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in interrupt_handler()
170 intc->iar, intc->mer); in interrupt_handler()
181 intc->iar = mask << irqs; in interrupt_handler()
183 debug("Dump INTC reg, isr %x, ier %x, iar %x, mer %x\n", intc->isr, in interrupt_handler()
184 intc->ier, intc->iar, intc->mer); in interrupt_handler()