Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/boards/posix/nrf_bsim/
Dirq_handler.c32 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()
[all …]
/Zephyr-Core-3.6.0/boards/posix/native_sim/
Dirq_handler.c32 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()
[all …]
/Zephyr-Core-3.6.0/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(hw_irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local
104 hw_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()
/Zephyr-Core-3.6.0/scripts/native_simulator/native/src/
Dirq_ctrl.c98 int irq_nbr = nsi_find_lsb_set64(irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local
100 irq_status &= ~((uint64_t) 1 << irq_nbr); in hw_irq_ctrl_get_highest_prio_irq()
101 if ((winner_prio > (int)irq_prio[irq_nbr]) in hw_irq_ctrl_get_highest_prio_irq()
102 && (currently_running_prio > (int)irq_prio[irq_nbr])) { in hw_irq_ctrl_get_highest_prio_irq()
103 winner = irq_nbr; in hw_irq_ctrl_get_highest_prio_irq()
104 winner_prio = irq_prio[irq_nbr]; in hw_irq_ctrl_get_highest_prio_irq()