Lines Matching refs:irq_nbr
32 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument
36 if (irq_vector_table[irq_nbr].func == NULL) { /* LCOV_EXCL_BR_LINE */ in vector_to_irq()
40 irq_nbr); in vector_to_irq()
43 if (irq_vector_table[irq_nbr].flags & ISR_FLAG_DIRECT) { in vector_to_irq()
45 irq_vector_table[irq_nbr].func)(); in vector_to_irq()
50 ((normal_irq_f_ptr)irq_vector_table[irq_nbr].func) in vector_to_irq()
51 (irq_vector_table[irq_nbr].param); in vector_to_irq()
70 int irq_nbr; in posix_irq_handler() local
80 irq_nbr = hw_irq_ctrl_get_highest_prio_irq(); in posix_irq_handler()
82 if (irq_nbr == -1) { in posix_irq_handler()
97 hw_irq_ctrl_set_cur_prio(hw_irq_ctrl_get_prio(irq_nbr)); in posix_irq_handler()
98 hw_irq_ctrl_clear_irq(irq_nbr); in posix_irq_handler()
100 currently_running_irq = irq_nbr; in posix_irq_handler()
101 vector_to_irq(irq_nbr, &may_swap); in posix_irq_handler()
105 } while ((irq_nbr = hw_irq_ctrl_get_highest_prio_irq()) != -1); in posix_irq_handler()