Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_xlnx_axi.c215 uint32_t enabled_interrupts; in gpio_xlnx_axi_pin_interrupt_configure() local
243 enabled_interrupts = sys_read32(config->base + IPIER_OFFSET); in gpio_xlnx_axi_pin_interrupt_configure()
245 if (!(enabled_interrupts & chan_mask)) { in gpio_xlnx_axi_pin_interrupt_configure()
254 enabled_interrupts |= chan_mask; in gpio_xlnx_axi_pin_interrupt_configure()
257 enabled_interrupts &= ~chan_mask; in gpio_xlnx_axi_pin_interrupt_configure()
259 sys_write32(enabled_interrupts, config->base + IPIER_OFFSET); in gpio_xlnx_axi_pin_interrupt_configure()
Dgpio_emul.c96 gpio_port_pins_t enabled_interrupts; member
211 *interrupts |= (BIT(i) & drv_data->enabled_interrupts); in gpio_emul_gen_interrupt_bits()
219 *interrupts |= (BIT(i) & drv_data->enabled_interrupts); in gpio_emul_gen_interrupt_bits()
228 *interrupts |= (BIT(i) & drv_data->enabled_interrupts); in gpio_emul_gen_interrupt_bits()
236 *interrupts |= (BIT(i) & drv_data->enabled_interrupts); in gpio_emul_gen_interrupt_bits()
244 *interrupts |= (BIT(i) & drv_data->enabled_interrupts); in gpio_emul_gen_interrupt_bits()
725 drv_data->enabled_interrupts &= ~((gpio_port_pins_t)BIT(pin));
735 drv_data->enabled_interrupts |= BIT(pin);
748 if (BIT(pin) & (drv_data->interrupts & drv_data->enabled_interrupts)) {