Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/interrupt_controller/
Dintc_nxp_pint.c33 static struct pint_irq_slot pint_irq_cfg[DT_INST_PROP(0, num_lines)]; variable
78 for (slot = 0; slot < ARRAY_SIZE(pint_irq_cfg); slot++) { in nxp_pint_pin_enable()
79 if (!pint_irq_cfg[slot].used) { in nxp_pint_pin_enable()
83 if (slot == ARRAY_SIZE(pint_irq_cfg)) { in nxp_pint_pin_enable()
89 pint_irq_cfg[slot].used = true; in nxp_pint_pin_enable()
90 pint_irq_cfg[slot].pin = pin; in nxp_pint_pin_enable()
99 EnableDeepSleepIRQ(pint_irq_cfg[slot].irq); in nxp_pint_pin_enable()
101 DisableDeepSleepIRQ(pint_irq_cfg[slot].irq); in nxp_pint_pin_enable()
102 irq_enable(pint_irq_cfg[slot].irq); in nxp_pint_pin_enable()
127 pint_irq_cfg[slot].used = false; in nxp_pint_pin_disable()
[all …]