Lines Matching full:eru
17 /* In Infineon XMC4XXX SoCs, gpio interrupts are triggered via an Event Request Unit (ERU) */
18 /* module. A subset of the GPIOs are connected to the ERU. The ERU monitors edge triggers */
21 /* This driver configures the ERU for a target port/pin combination for rising/falling */
22 /* edge events. Note that the ERU module does not generate SR based on the gpio level. */
23 /* Internally the ERU tracks the *status* of an event. The status is set on a positive edge and */
28 /* The ERU configurations for supported port/pin combinations are stored in a devicetree file */
68 XMC_ERU_t *eru; in intc_xmc4xxx_gpio_enable_interrupt() local
107 /* setup the eru */ in intc_xmc4xxx_gpio_enable_interrupt()
116 eru = config->eru_regs[line >> 2]; in intc_xmc4xxx_gpio_enable_interrupt()
118 XMC_ERU_ETL_Init(eru, eru_ch, &etl_config); in intc_xmc4xxx_gpio_enable_interrupt()
121 XMC_ERU_OGU_Init(eru, eru_ch, &isr_config); in intc_xmc4xxx_gpio_enable_interrupt()
133 eru->EXICON_b[eru_ch].FL = 1; in intc_xmc4xxx_gpio_enable_interrupt()
157 XMC_ERU_t *eru = config->eru_regs[line >> 2]; in intc_xmc4xxx_gpio_disable_interrupt() local
161 eru->EXICON_b[eru_ch].PE = 0; in intc_xmc4xxx_gpio_disable_interrupt()
163 eru->EXICON_b[eru_ch].FL = 0; in intc_xmc4xxx_gpio_disable_interrupt()
178 XMC_ERU_t *eru = config->eru_regs[line >> 2]; in intc_xmc4xxx_isr() local
188 if (cb->mode == GPIO_INT_MODE_LEVEL && eru->EXICON_b[eru_ch].FL == 1) { in intc_xmc4xxx_isr()