Lines Matching refs:intc
38 microblaze_intc_t *intc; variable
52 mask = intc->ier; in enable_one_interrupt()
53 intc->ier = (mask | offset); in enable_one_interrupt()
56 intc->ier); in enable_one_interrupt()
57 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in enable_one_interrupt()
58 intc->iar, intc->mer); in enable_one_interrupt()
67 mask = intc->ier; in disable_one_interrupt()
68 intc->ier = (mask & ~offset); in disable_one_interrupt()
71 intc->ier); in disable_one_interrupt()
72 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in disable_one_interrupt()
73 intc->iar, intc->mer); in disable_one_interrupt()
104 intc->mer = 0; in intc_init()
105 intc->ier = 0; in intc_init()
106 intc->iar = 0xFFFFFFFF; in intc_init()
108 intc->mer = 0x3; in intc_init()
110 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in intc_init()
111 intc->iar, intc->mer); in intc_init()
130 intc = (microblaze_intc_t *)base; in interrupt_init()
161 int irqs = intc->ivr; /* find active interrupt */ in interrupt_handler()
166 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in interrupt_handler()
167 intc->iar, intc->mer); in interrupt_handler()
178 intc->iar = mask << irqs; in interrupt_handler()
180 debug("Dump INTC reg, isr %x, ier %x, iar %x, mer %x\n", intc->isr, in interrupt_handler()
181 intc->ier, intc->iar, intc->mer); in interrupt_handler()