Home
last modified time | relevance | path

Searched refs:MSP_PER_INTBASE (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_slp_int.h119 #define MSP_PER_INTBASE (MSP_SLP_INTBASE + 32) macro
121 #define MSP_INT_UART1 (MSP_PER_INTBASE + 2)
124 #define MSP_INT_2WIRE (MSP_PER_INTBASE + 6)
126 #define MSP_INT_TM0 (MSP_PER_INTBASE + 7)
128 #define MSP_INT_TM1 (MSP_PER_INTBASE + 8)
131 #define MSP_INT_SPRX (MSP_PER_INTBASE + 10)
133 #define MSP_INT_SPTX (MSP_PER_INTBASE + 11)
135 #define MSP_INT_GPIO (MSP_PER_INTBASE + 12)
137 #define MSP_INT_PER_ERR (MSP_PER_INTBASE + 13)
Dmsp_cic_int.h129 #define MSP_PER_INTBASE (MSP_CIC_INTBASE + 32) macro
131 #define MSP_INT_UART1 (MSP_PER_INTBASE + 2)
134 #define MSP_INT_2WIRE (MSP_PER_INTBASE + 6)
136 #define MSP_INT_TM0 (MSP_PER_INTBASE + 7)
138 #define MSP_INT_TM1 (MSP_PER_INTBASE + 8)
141 #define MSP_INT_SPRX (MSP_PER_INTBASE + 10)
143 #define MSP_INT_SPTX (MSP_PER_INTBASE + 11)
145 #define MSP_INT_GPIO (MSP_PER_INTBASE + 12)
147 #define MSP_INT_PER_ERR (MSP_PER_INTBASE + 13)
/Linux-v4.19/arch/mips/pmcs-msp71xx/
Dmsp_irq_slp.c28 if (irq < MSP_PER_INTBASE) in unmask_msp_slp_irq()
31 *PER_INT_MSK_REG |= (1 << (irq - MSP_PER_INTBASE)); in unmask_msp_slp_irq()
39 if (irq < MSP_PER_INTBASE) in mask_msp_slp_irq()
42 *PER_INT_MSK_REG &= ~(1 << (irq - MSP_PER_INTBASE)); in mask_msp_slp_irq()
54 if (irq < MSP_PER_INTBASE) in ack_msp_slp_irq()
57 *PER_INT_STS_REG = (1 << (irq - MSP_PER_INTBASE)); in ack_msp_slp_irq()
78 for (i = MSP_SLP_INTBASE; i < MSP_PER_INTBASE + 32; i++) in msp_slp_irq_init()
93 intbase = MSP_PER_INTBASE; in msp_slp_irq_dispatch()
Dmsp_irq_per.c55 *PER_INT_MSK_REG |= (1 << (d->irq - MSP_PER_INTBASE)); in unmask_per_irq()
58 *PER_INT_MSK_REG |= (1 << (d->irq - MSP_PER_INTBASE)); in unmask_per_irq()
68 *PER_INT_MSK_REG &= ~(1 << (d->irq - MSP_PER_INTBASE)); in mask_per_irq()
71 *PER_INT_MSK_REG &= ~(1 << (d->irq - MSP_PER_INTBASE)); in mask_per_irq()
84 *PER_INT_STS_REG = (1 << (d->irq - MSP_PER_INTBASE)); in msp_per_irq_ack()
114 for (i = MSP_PER_INTBASE; i < MSP_PER_INTBASE + 32; i++) { in msp_per_irq_init()
127 do_IRQ(ffs(pending) + MSP_PER_INTBASE - 1); in msp_per_irq_dispatch()