Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_nxp_s32.c197 static uint8_t nxp_s32_gpio_pin_to_line(const struct gpio_nxp_s32_irq_config *irq_cfg, in nxp_s32_gpio_pin_to_line() argument
202 for (i = 0; i < irq_cfg->map_cnt; i++) { in nxp_s32_gpio_pin_to_line()
203 if (irq_cfg->map[i].pin == pin) { in nxp_s32_gpio_pin_to_line()
204 return irq_cfg->map[i].line; in nxp_s32_gpio_pin_to_line()
246 const struct gpio_nxp_s32_irq_config *irq_cfg = config->eirq_info; in nxp_s32_gpio_config_eirq() local
250 if (irq_cfg == NULL) { in nxp_s32_gpio_config_eirq()
259 irq_line = nxp_s32_gpio_pin_to_line(irq_cfg, pin); in nxp_s32_gpio_config_eirq()
269 eirq_nxp_s32_disable_interrupt(irq_cfg->ctrl, irq_line); in nxp_s32_gpio_config_eirq()
270 eirq_nxp_s32_unset_callback(irq_cfg->ctrl, irq_line); in nxp_s32_gpio_config_eirq()
275 if (eirq_nxp_s32_set_callback(irq_cfg->ctrl, irq_line, pin, in nxp_s32_gpio_config_eirq()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_esp32_gdma.c552 struct irq_config *irq_cfg = (struct irq_config *)config->irq_config; in dma_esp32_configure_irq() local
555 int ret = esp_intr_alloc(irq_cfg[i].irq_source, in dma_esp32_configure_irq()
556 ESP_PRIO_TO_FLAGS(irq_cfg[i].irq_priority) | in dma_esp32_configure_irq()
557 ESP_INT_FLAGS_CHECK(irq_cfg[i].irq_flags) | ESP_INTR_FLAG_IRAM, in dma_esp32_configure_irq()