Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/boards/posix/nrf52_bsim/
Dirq_handler.c72 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument
80 ret = bst_irq_sniffer(irq_nbr); in vector_to_irq()
85 bs_trace_raw_time(6, "Vectoring to irq %i (%s)\n", irq_nbr, in vector_to_irq()
86 irqnames[irq_nbr]); in vector_to_irq()
90 if (irq_vector_table[irq_nbr].func == NULL) { /* LCOV_EXCL_BR_LINE */ in vector_to_irq()
94 irq_nbr); in vector_to_irq()
97 if (irq_vector_table[irq_nbr].flags & ISR_FLAG_DIRECT) { in vector_to_irq()
99 irq_vector_table[irq_nbr].func)(); in vector_to_irq()
104 ((normal_irq_f_ptr)irq_vector_table[irq_nbr].func) in vector_to_irq()
105 (irq_vector_table[irq_nbr].param); in vector_to_irq()
[all …]
/Zephyr-Core-2.7.6/boards/posix/native_posix/
Dirq_handler.c31 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument
35 if (irq_vector_table[irq_nbr].func == NULL) { /* LCOV_EXCL_BR_LINE */ in vector_to_irq()
39 irq_nbr); in vector_to_irq()
42 if (irq_vector_table[irq_nbr].flags & ISR_FLAG_DIRECT) { in vector_to_irq()
44 irq_vector_table[irq_nbr].func)(); in vector_to_irq()
49 ((normal_irq_f_ptr)irq_vector_table[irq_nbr].func) in vector_to_irq()
50 (irq_vector_table[irq_nbr].param); in vector_to_irq()
69 int irq_nbr; in posix_irq_handler() local
85 while ((irq_nbr = hw_irq_ctrl_get_highest_prio_irq()) != -1) { in posix_irq_handler()
89 hw_irq_ctrl_set_cur_prio(hw_irq_ctrl_get_prio(irq_nbr)); in posix_irq_handler()
[all …]
Dirq_ctrl.c102 int irq_nbr = find_lsb_set(irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local
104 irq_status &= ~((uint64_t) 1 << irq_nbr); in hw_irq_ctrl_get_highest_prio_irq()
105 if ((winner_prio > (int)irq_prio[irq_nbr]) in hw_irq_ctrl_get_highest_prio_irq()
106 && (currently_running_prio > (int)irq_prio[irq_nbr])) { in hw_irq_ctrl_get_highest_prio_irq()
107 winner = irq_nbr; in hw_irq_ctrl_get_highest_prio_irq()
108 winner_prio = irq_prio[irq_nbr]; in hw_irq_ctrl_get_highest_prio_irq()