Lines Matching refs:irqRegNum
25 uint32_t irqRegNum = irqId / 32U; in GPC_EnableIRQ() local
28 assert(irqRegNum <= GPC_IMR_COUNT); in GPC_EnableIRQ()
31 if (irqRegNum == GPC_IMR_COUNT) in GPC_EnableIRQ()
37 base->IMR[irqRegNum] &= ~(1UL << irqRegShiftNum); in GPC_EnableIRQ()
40 assert(irqRegNum > 0U); in GPC_EnableIRQ()
41 base->IMR[irqRegNum - 1UL] &= ~(1UL << irqRegShiftNum); in GPC_EnableIRQ()
53 uint32_t irqRegNum = irqId / 32U; in GPC_DisableIRQ() local
56 assert(irqRegNum <= GPC_IMR_COUNT); in GPC_DisableIRQ()
59 if (irqRegNum == GPC_IMR_COUNT) in GPC_DisableIRQ()
65 base->IMR[irqRegNum] |= (1UL << irqRegShiftNum); in GPC_DisableIRQ()
68 assert(irqRegNum > 0U); in GPC_DisableIRQ()
69 base->IMR[irqRegNum - 1UL] |= (1UL << irqRegShiftNum); in GPC_DisableIRQ()
82 uint32_t irqRegNum = irqId / 32U; in GPC_GetIRQStatusFlag() local
86 assert(irqRegNum <= GPC_IMR_COUNT); in GPC_GetIRQStatusFlag()
89 if (irqRegNum == GPC_IMR_COUNT) in GPC_GetIRQStatusFlag()
95 ret = base->ISR[irqRegNum] & (1UL << irqRegShiftNum); in GPC_GetIRQStatusFlag()
98 assert(irqRegNum > 0U); in GPC_GetIRQStatusFlag()
99 ret = base->ISR[irqRegNum - 1UL] & (1UL << irqRegShiftNum); in GPC_GetIRQStatusFlag()