Lines Matching refs:irq_nbr
32 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument
40 ret = bst_irq_sniffer(irq_nbr); in vector_to_irq()
45 bs_trace_raw_time(6, "Vectoring to irq %i (%s)\n", irq_nbr, in vector_to_irq()
46 hw_irq_ctrl_get_name(CONFIG_NATIVE_SIMULATOR_MCU_N, irq_nbr)); in vector_to_irq()
50 if (irq_vector_table[irq_nbr].func == NULL) { /* LCOV_EXCL_BR_LINE */ in vector_to_irq()
54 irq_nbr); in vector_to_irq()
57 if (irq_vector_table[irq_nbr].flags & ISR_FLAG_DIRECT) { in vector_to_irq()
59 irq_vector_table[irq_nbr].func)(); in vector_to_irq()
64 ((normal_irq_f_ptr)irq_vector_table[irq_nbr].func) in vector_to_irq()
65 (irq_vector_table[irq_nbr].param); in vector_to_irq()
72 bs_trace_raw_time(7, "Irq %i (%s) ended\n", irq_nbr, in vector_to_irq()
73 hw_irq_ctrl_get_name(CONFIG_NATIVE_SIMULATOR_MCU_N, irq_nbr)); in vector_to_irq()
87 int irq_nbr; in posix_irq_handler() local
98 irq_nbr = hw_irq_ctrl_get_highest_prio_irq(cpu_n); in posix_irq_handler()
100 if (irq_nbr == -1) { in posix_irq_handler()
115 hw_irq_ctrl_set_cur_prio(cpu_n, hw_irq_ctrl_get_prio(cpu_n, irq_nbr)); in posix_irq_handler()
116 hw_irq_ctrl_clear_irq(cpu_n, irq_nbr); in posix_irq_handler()
118 currently_running_irq = irq_nbr; in posix_irq_handler()
119 vector_to_irq(irq_nbr, &may_swap); in posix_irq_handler()
122 hw_irq_ctrl_reeval_level_irq(cpu_n, irq_nbr); in posix_irq_handler()
125 } while ((irq_nbr = hw_irq_ctrl_get_highest_prio_irq(cpu_n)) != -1); in posix_irq_handler()