Searched refs:clps711x_intc (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/irqchip/
H A Dirq-clps711x.c75 } *clps711x_intc; variable in typeref:struct:__anon5139
82 irqstat = readw_relaxed(clps711x_intc->intmr[0]) & clps711x_irqh()
83 readw_relaxed(clps711x_intc->intsr[0]); clps711x_irqh()
85 handle_domain_irq(clps711x_intc->domain, clps711x_irqh()
88 irqstat = readw_relaxed(clps711x_intc->intmr[1]) & clps711x_irqh()
89 readw_relaxed(clps711x_intc->intsr[1]); clps711x_irqh()
91 handle_domain_irq(clps711x_intc->domain, clps711x_irqh()
100 writel_relaxed(0, clps711x_intc->base + clps711x_irqs[hwirq].eoi); clps711x_intc_eoi()
106 void __iomem *intmr = clps711x_intc->intmr[hwirq / 16]; clps711x_intc_mask()
117 void __iomem *intmr = clps711x_intc->intmr[hwirq / 16]; clps711x_intc_unmask()
150 writel_relaxed(0, clps711x_intc->base + clps711x_irqs[hw].eoi); clps711x_intc_irq_map()
163 clps711x_intc = kzalloc(sizeof(*clps711x_intc), GFP_KERNEL); _clps711x_intc_init()
164 if (!clps711x_intc) _clps711x_intc_init()
167 clps711x_intc->base = ioremap(base, size); _clps711x_intc_init()
168 if (!clps711x_intc->base) { _clps711x_intc_init()
173 clps711x_intc->intsr[0] = clps711x_intc->base + CLPS711X_INTSR1; _clps711x_intc_init()
174 clps711x_intc->intmr[0] = clps711x_intc->base + CLPS711X_INTMR1; _clps711x_intc_init()
175 clps711x_intc->intsr[1] = clps711x_intc->base + CLPS711X_INTSR2; _clps711x_intc_init()
176 clps711x_intc->intmr[1] = clps711x_intc->base + CLPS711X_INTMR2; _clps711x_intc_init()
177 clps711x_intc->intsr[2] = clps711x_intc->base + CLPS711X_INTSR3; _clps711x_intc_init()
178 clps711x_intc->intmr[2] = clps711x_intc->base + CLPS711X_INTMR3; _clps711x_intc_init()
181 writel_relaxed(0, clps711x_intc->intmr[0]); _clps711x_intc_init()
182 writel_relaxed(0, clps711x_intc->intmr[1]); _clps711x_intc_init()
183 writel_relaxed(0, clps711x_intc->intmr[2]); _clps711x_intc_init()
189 clps711x_intc->ops.map = clps711x_intc_irq_map; _clps711x_intc_init()
190 clps711x_intc->ops.xlate = irq_domain_xlate_onecell; _clps711x_intc_init()
191 clps711x_intc->domain = _clps711x_intc_init()
193 0, 0, &clps711x_intc->ops, NULL); _clps711x_intc_init()
194 if (!clps711x_intc->domain) { _clps711x_intc_init()
199 irq_set_default_host(clps711x_intc->domain); _clps711x_intc_init()
212 iounmap(clps711x_intc->base); _clps711x_intc_init()
215 kfree(clps711x_intc); _clps711x_intc_init()

Completed in 45 milliseconds