Lines Matching +full:ocelot +full:- +full:icpu +full:- +full:intr
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Microsemi Ocelot IRQ controller driver
28 unsigned int mask = data->mask; in ocelot_irq_unmask()
37 *ct->mask_cache &= ~mask; in ocelot_irq_unmask()
70 return -EINVAL; in ocelot_irq_init()
76 return -ENOMEM; in ocelot_irq_init()
80 "icpu", handle_level_irq, in ocelot_irq_init()
88 gc->reg_base = of_iomap(node, 0); in ocelot_irq_init()
89 if (!gc->reg_base) { in ocelot_irq_init()
91 ret = -ENOMEM; in ocelot_irq_init()
95 gc->chip_types[0].regs.ack = ICPU_CFG_INTR_INTR_STICKY; in ocelot_irq_init()
96 gc->chip_types[0].regs.mask = ICPU_CFG_INTR_INTR_ENA_CLR; in ocelot_irq_init()
97 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit; in ocelot_irq_init()
98 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit; in ocelot_irq_init()
99 gc->chip_types[0].chip.irq_unmask = ocelot_irq_unmask; in ocelot_irq_init()
118 IRQCHIP_DECLARE(ocelot_icpu, "mscc,ocelot-icpu-intr", ocelot_irq_init);