Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/loongson32/common/
H A Dirq.c25 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_ack()
26 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_ack()
34 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_mask()
35 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask()
43 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_mask_ack()
44 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_mask_ack()
54 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_unmask()
55 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_unmask()
63 unsigned int bit = (d->irq - LS1X_IRQ_BASE) & 0x1f; in ls1x_irq_settype()
64 unsigned int n = (d->irq - LS1X_IRQ_BASE) >> 5; in ls1x_irq_settype()
[all …]
/openbmc/linux/arch/mips/include/asm/mach-loongson32/
H A Dirq.h31 #define LS1X_IRQ_BASE MIPS_CPU_IRQS macro
32 #define LS1X_IRQ(n, x) (LS1X_IRQ_BASE + (n << 5) + (x))
103 #define LS1X_IRQS (LS1X_IRQ(INTN, 31) + 1 - LS1X_IRQ_BASE)