Home
last modified time | relevance | path

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

/nrf_hw_models-3.7.0/src/HW_models/
Dirq_ctrl.c148 int irq_bit = nsi_find_lsb_set64(irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local
149 int irq_nbr = irq_bit + i*64; in hw_irq_ctrl_get_highest_prio_irq()
151 irq_status &= ~((uint64_t) 1 << irq_bit); in hw_irq_ctrl_get_highest_prio_irq()
247 uint64_t irq_bit = ((uint64_t)1<<(irq%64)); in hw_irq_ctrl_clear_irq() local
250 this->irq_status[irq_idx] &= ~irq_bit; in hw_irq_ctrl_clear_irq()
251 this->irq_premask[irq_idx] &= ~irq_bit; in hw_irq_ctrl_clear_irq()
266 uint64_t irq_bit = ((uint64_t)1<<(irq%64)); in hw_irq_ctrl_reeval_level_irq() local
269 if ((this->irq_lines[irq_idx] & irq_bit) != 0) { in hw_irq_ctrl_reeval_level_irq()
270 this->irq_premask[irq_idx] |= irq_bit; in hw_irq_ctrl_reeval_level_irq()
272 if (this->irq_mask[irq_idx] & irq_bit) { in hw_irq_ctrl_reeval_level_irq()
[all …]