Lines Matching refs:NVIC_FIRST_IRQ
55 #define NVIC_FIRST_IRQ NVIC_INTERNAL_VECTORS macro
56 #define NVIC_MAX_IRQ (NVIC_MAX_VECTORS - NVIC_FIRST_IRQ)
137 if (s->vectpending > NVIC_FIRST_IRQ) { in nvic_isrpending()
141 for (irq = NVIC_FIRST_IRQ; irq < s->num_irq; irq++) { in nvic_isrpending()
178 if (exc >= NVIC_FIRST_IRQ) { in exc_targets_secure()
900 assert(irq >= NVIC_FIRST_IRQ); in armv7m_nvic_complete_irq()
948 n += NVIC_FIRST_IRQ; in set_irq_level()
950 assert(n >= NVIC_FIRST_IRQ && n < s->num_irq); in set_irq_level()
998 return ((s->num_irq - NVIC_FIRST_IRQ) / 32) - 1; in nvic_readl()
1009 int startvec = 8 * (offset - 0x380) + NVIC_FIRST_IRQ; in nvic_readl()
1567 int startvec = 8 * (offset - 0x380) + NVIC_FIRST_IRQ; in nvic_writel()
2045 int excnum = (value & 0x1ff) + NVIC_FIRST_IRQ; in nvic_writel()
2231 startvec = 8 * (offset - 0x180) + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_read()
2245 startvec = 8 * (offset - 0x280) + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_read()
2260 startvec = 8 * (offset - 0x300) + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_read()
2271 startvec = offset - 0x400 + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_read()
2361 startvec = 8 * (offset - 0x180) + NVIC_FIRST_IRQ; in nvic_sysreg_write()
2379 startvec = 8 * (offset - 0x280) + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_write()
2399 startvec = (offset - 0x400) + NVIC_FIRST_IRQ; /* vector # */ in nvic_sysreg_write()
2643 for (i = NVIC_FIRST_IRQ; i < ARRAY_SIZE(s->itns); i++) { in armv7m_nvic_reset()
2691 s->num_irq += NVIC_FIRST_IRQ; in armv7m_nvic_realize()