Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/ppc/
H A Dspapr_irq.h33 #define SPAPR_XIRQ_BASE XICS_IRQ_BASE /* 0x1000 */ macro
34 #define SPAPR_IRQ_EPOW (SPAPR_XIRQ_BASE + 0x0000)
35 #define SPAPR_IRQ_HOTPLUG (SPAPR_XIRQ_BASE + 0x0001)
36 #define SPAPR_IRQ_VIO (SPAPR_XIRQ_BASE + 0x0100) /* 256 VIO devices */
37 #define SPAPR_IRQ_PCI_LSI (SPAPR_XIRQ_BASE + 0x0200) /* 32+ PHBs devices */
40 #define SPAPR_IRQ_MSI (SPAPR_XIRQ_BASE + 0x0300)
/openbmc/qemu/hw/ppc/
H A Dspapr_irq.c26 QEMU_BUILD_BUG_ON(SPAPR_IRQ_NR_IPIS > SPAPR_XIRQ_BASE);
292 return SPAPR_XIRQ_BASE + smc->nr_xirqs - SPAPR_IRQ_MSI; in spapr_irq_nr_msis()
379 assert(irq >= SPAPR_XIRQ_BASE); in spapr_irq_claim()
380 assert(irq < (smc->nr_xirqs + SPAPR_XIRQ_BASE)); in spapr_irq_claim()
402 assert(irq >= SPAPR_XIRQ_BASE); in spapr_irq_free()
403 assert((irq + num) <= (smc->nr_xirqs + SPAPR_XIRQ_BASE)); in spapr_irq_free()
429 assert(irq >= SPAPR_XIRQ_BASE); in spapr_qirq()
430 assert(irq < (smc->nr_xirqs + SPAPR_XIRQ_BASE)); in spapr_qirq()