Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/
Dirq_ctrl.c21 static uint64_t irq_status; /* pending interrupts */ variable
93 uint64_t irq_status = hw_irq_ctrl_get_irq_status(); in hw_irq_ctrl_get_highest_prio_irq() local
97 while (irq_status != 0U) { in hw_irq_ctrl_get_highest_prio_irq()
98 int irq_nbr = nsi_find_lsb_set(irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq()
100 irq_status &= ~((uint64_t) 1 << irq_nbr); in hw_irq_ctrl_get_highest_prio_irq()
128 if (irq_status != 0U) { in hw_irq_ctrl_change_lock()
137 return irq_status; in hw_irq_ctrl_get_irq_status()
142 irq_status = 0U; in hw_irq_ctrl_clear_all_enabled_irqs()
148 irq_status = 0U; in hw_irq_ctrl_clear_all_irqs()
178 irq_status &= ~((uint64_t)1<<irq); in hw_irq_ctrl_clear_irq()
[all …]
/Zephyr-Core-3.5.0/boards/posix/native_posix/
Dirq_ctrl.c22 static uint64_t irq_status; /* pending interrupts */ variable
127 if (irq_status != 0U) { in hw_irq_ctrl_change_lock()
136 return irq_status; in hw_irq_ctrl_get_irq_status()
141 irq_status = 0U; in hw_irq_ctrl_clear_all_enabled_irqs()
147 irq_status = 0U; in hw_irq_ctrl_clear_all_irqs()
168 irq_status &= ~((uint64_t)1<<irq); in hw_irq_ctrl_clear_irq()
196 irq_status |= ((uint64_t)1<<irq); in hw_irq_ctrl_irq_raise_prefix()
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_esp32.c422 uint32_t irq_status; in gpio_esp32_get_pending_int() local
426 gpio_ll_get_intr_status(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_get_pending_int()
428 gpio_ll_get_intr_status_high(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_get_pending_int()
431 return irq_status; in gpio_esp32_get_pending_int()
438 uint32_t irq_status; in gpio_esp32_fire_callbacks() local
442 gpio_ll_get_intr_status(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_fire_callbacks()
443 gpio_ll_clear_intr_status(cfg->gpio_base, irq_status); in gpio_esp32_fire_callbacks()
445 gpio_ll_get_intr_status_high(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_fire_callbacks()
446 gpio_ll_clear_intr_status_high(cfg->gpio_base, irq_status); in gpio_esp32_fire_callbacks()
449 if (irq_status != 0) { in gpio_esp32_fire_callbacks()
[all …]
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_dwmac.c438 uint32_t irq_status; in dwmac_isr() local
441 irq_status = REG_READ(DMA_IRQ_STATUS); in dwmac_isr()
442 LOG_DBG("DMA_IRQ_STATUS = 0x%08x", irq_status); in dwmac_isr()
444 while (irq_status & 0xff) { in dwmac_isr()
445 ch = find_lsb_set(irq_status & 0xff) - 1; in dwmac_isr()
446 irq_status &= ~BIT(ch); in dwmac_isr()
450 if (irq_status & DMA_IRQ_STATUS_MTLIS) { in dwmac_isr()
454 if (irq_status & DMA_IRQ_STATUS_MACIS) { in dwmac_isr()
Deth_cyclonev.c551 uint32_t irq_status = 0; in eth_cyclonev_isr() local
554 irq_status = in eth_cyclonev_isr()
557 LOG_DBG("DMA_IRQ_STATUS = 0x%08x, emac: 0x%08x", irq_status, irq_status_emac); in eth_cyclonev_isr()
559 if (irq_status & EMAC_DMA_INT_EN_NIE_SET_MSK) { in eth_cyclonev_isr()
564 if (irq_status & EMAC_DMA_INT_EN_TIE_SET_MSK) { in eth_cyclonev_isr()
572 if (irq_status & EMAC_DMA_INT_EN_RIE_SET_MSK) { in eth_cyclonev_isr()
/Zephyr-Core-3.5.0/drivers/timer/
Dambiq_stimer.c49 uint32_t irq_status = am_hal_stimer_int_status_get(false); in stimer_isr() local
51 if (irq_status & AM_HAL_STIMER_INT_COMPAREA) { in stimer_isr()