Lines Matching +full:fiq +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Dmitry Eremin-Solenikov
4 * Copyright (C) 1999-2001 Nicolas Pitre
15 #include <linux/irqchip/irq-sa11x0.h>
25 #define ICFP 0x10 /* IC FIQ Pending reg. */
39 reg &= ~BIT(d->hwirq); in sa1100_mask_irq()
48 reg |= BIT(d->hwirq); in sa1100_unmask_irq()
54 return sa11x0_sc_set_wake(d->hwirq, on); in sa1100_set_wake()
92 st->saved = 1; in sa1100irq_suspend()
93 st->icmr = readl_relaxed(iobase + ICMR); in sa1100irq_suspend()
94 st->iclr = readl_relaxed(iobase + ICLR); in sa1100irq_suspend()
95 st->iccr = readl_relaxed(iobase + ICCR); in sa1100irq_suspend()
98 * Disable all GPIO-based interrupts. in sa1100irq_suspend()
100 writel_relaxed(st->icmr & 0xfffff000, iobase + ICMR); in sa1100irq_suspend()
109 if (st->saved) { in sa1100irq_resume()
110 writel_relaxed(st->iccr, iobase + ICCR); in sa1100irq_resume()
111 writel_relaxed(st->iclr, iobase + ICLR); in sa1100irq_resume()
113 writel_relaxed(st->icmr, iobase + ICMR); in sa1100irq_resume()
144 ffs(mask) - 1); in sa1100_handle_irq()
157 /* all IRQs are IRQ, not FIQ */ in sa11x0_init_irq_nodt()
161 * Whatever the doc says, this has to be set for the wait-on-irq in sa11x0_init_irq_nodt()