Lines Matching refs:icoll_priv
48 struct icoll_priv { struct
58 static struct icoll_priv icoll_priv; argument
75 return icoll_priv.intr + ((d->hwirq >> 2) * 0x10); in icoll_intr_reg()
86 icoll_priv.levelack); in icoll_ack_irq()
92 icoll_priv.intr + CLR_REG + HW_ICOLL_INTERRUPTn(d->hwirq)); in icoll_mask_irq()
98 icoll_priv.intr + SET_REG + HW_ICOLL_INTERRUPTn(d->hwirq)); in icoll_unmask_irq()
110 icoll_priv.clear + in asm9260_unmask_irq()
137 irqnr = __raw_readl(icoll_priv.stat); in icoll_handle_irq()
138 __raw_writel(irqnr, icoll_priv.vector); in icoll_handle_irq()
147 if (icoll_priv.type == ICOLL) in icoll_irq_domain_map()
187 icoll_priv.type = ICOLL; in icoll_of_init()
190 icoll_priv.vector = icoll_base + HW_ICOLL_VECTOR; in icoll_of_init()
191 icoll_priv.levelack = icoll_base + HW_ICOLL_LEVELACK; in icoll_of_init()
192 icoll_priv.ctrl = icoll_base + HW_ICOLL_CTRL; in icoll_of_init()
193 icoll_priv.stat = icoll_base + HW_ICOLL_STAT_OFFSET; in icoll_of_init()
194 icoll_priv.intr = icoll_base + HW_ICOLL_INTERRUPT0; in icoll_of_init()
195 icoll_priv.clear = NULL; in icoll_of_init()
201 stmp_reset_block(icoll_priv.ctrl); in icoll_of_init()
215 icoll_priv.type = ASM9260_ICOLL; in asm9260_of_init()
218 icoll_priv.vector = icoll_base + ASM9260_HW_ICOLL_VECTOR; in asm9260_of_init()
219 icoll_priv.levelack = icoll_base + ASM9260_HW_ICOLL_LEVELACK; in asm9260_of_init()
220 icoll_priv.ctrl = icoll_base + ASM9260_HW_ICOLL_CTRL; in asm9260_of_init()
221 icoll_priv.stat = icoll_base + ASM9260_HW_ICOLL_STAT_OFFSET; in asm9260_of_init()
222 icoll_priv.intr = icoll_base + ASM9260_HW_ICOLL_INTERRUPT0; in asm9260_of_init()
223 icoll_priv.clear = icoll_base + ASM9260_HW_ICOLL_CLEAR0; in asm9260_of_init()
226 icoll_priv.ctrl); in asm9260_of_init()
232 writel(0, icoll_priv.intr + i); in asm9260_of_init()