Searched refs:irq_nbr (Results 1 – 5 of 5) sorted by relevance
32 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument40 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 …]
32 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument36 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() local80 irq_nbr = hw_irq_ctrl_get_highest_prio_irq(); in posix_irq_handler()82 if (irq_nbr == -1) { in posix_irq_handler()[all …]
31 static inline void vector_to_irq(int irq_nbr, int *may_swap) in vector_to_irq() argument35 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() local85 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 …]
102 int irq_nbr = find_lsb_set(hw_irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local104 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()
98 int irq_nbr = nsi_find_lsb_set64(irq_status) - 1; in hw_irq_ctrl_get_highest_prio_irq() local100 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()