Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/gpc_1/
Dfsl_gpc.c25 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()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/gpc_2/
Dfsl_gpc.c77 uint32_t irqRegNum = irqId / 32U; in GPC_EnableIRQ() local
80 assert(irqRegNum < GPC_IMR_COUNT); in GPC_EnableIRQ()
82 base->GPC_IMR[irqRegNum] &= ~(1UL << irqRegShiftNum); in GPC_EnableIRQ()
93 uint32_t irqRegNum = irqId / 32U; in GPC_DisableIRQ() local
96 assert(irqRegNum < GPC_IMR_COUNT); in GPC_DisableIRQ()
98 base->GPC_IMR[irqRegNum] |= (1UL << irqRegShiftNum); in GPC_DisableIRQ()