Home
last modified time | relevance | path

Searched refs:plic_regs (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/irqchip/
Dirq-sifive-plic.c57 static void __iomem *plic_regs; variable
67 return plic_regs + CONTEXT_BASE + ctxid * CONTEXT_PER_HART; in plic_hart_offset()
72 return plic_regs + ENABLE_BASE + ctxid * ENABLE_PER_HART; in plic_enable_base()
98 writel(enable, plic_regs + PRIORITY_BASE + d->hwirq * PRIORITY_PER_ID); in plic_irq_toggle()
191 if (plic_regs) { in plic_init()
196 plic_regs = of_iomap(node, 0); in plic_init()
197 if (WARN_ON(!plic_regs)) in plic_init()
255 iounmap(plic_regs); in plic_init()