Searched refs:vector_num (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/tests/kernel/interrupt/src/ |
D | dynamic_isr.c | 84 int vector_num; in ZTEST() local 87 vector_num = arch_irq_connect_dynamic(TEST_IRQ_DYN_LINE, 1, dyn_isr, in ZTEST() 95 zassert_true(x86_irq_funcs[vector_num - IV_IRQS] == dyn_isr && in ZTEST() 96 x86_irq_args[vector_num - IV_IRQS] == (void *)ISR_DYN_ARG, in ZTEST() 100 TC_PRINT("vector(%d)\n", vector_num); in ZTEST() 101 zassert_true(vector_num > 0, in ZTEST() 109 trigger_irq(vector_num); in ZTEST() 120 trigger_irq(vector_num); in ZTEST()
|
D | interrupt_offload.c | 38 static int vector_num; variable 115 if (!vector_num) { in init_dyn_interrupt() 116 vector_num = irq_connect_dynamic(TEST_IRQ_DYN_LINE, 1, in init_dyn_interrupt() 120 TC_PRINT("vector(%d)\n", vector_num); in init_dyn_interrupt() 121 zassert_true(vector_num > 0, "no vector can be used"); in init_dyn_interrupt() 130 trigger_irq(vector_num); in trigger_offload_interrupt() 165 if (real_irq && !vector_num) { in init_env()
|