Lines Matching refs:IRQ_LINE
48 #define IRQ_LINE(offset) offset macro
100 #define IRQ_LINE(offset) (TEST_NUM_IRQS - ((offset) + 1)) macro
184 TC_PRINT("triggering irq %d\n", IRQ_LINE(offset)); in test_irq()
185 trigger_irq(IRQ_LINE(offset)); in test_irq()
192 IRQ_LINE(offset), in test_irq()
216 TABLE_INDEX(offset), IRQ_LINE(offset)); in check_vector()
238 TABLE_INDEX(offset), IRQ_LINE(offset)); in check_sw_isr()
288 IRQ_DIRECT_CONNECT(IRQ_LINE(ISR1_OFFSET), 0, isr1, IRQ_FLAGS); in ZTEST()
289 irq_enable(IRQ_LINE(ISR1_OFFSET)); in ZTEST()
290 TC_PRINT("isr1 isr=%p irq=%d\n", isr1, IRQ_LINE(ISR1_OFFSET)); in ZTEST()
296 IRQ_DIRECT_CONNECT(IRQ_LINE(ISR2_OFFSET), 0, isr2, IRQ_FLAGS); in ZTEST()
297 irq_enable(IRQ_LINE(ISR2_OFFSET)); in ZTEST()
298 TC_PRINT("isr2 isr=%p irq=%d\n", isr2, IRQ_LINE(ISR2_OFFSET)); in ZTEST()
331 IRQ_CONNECT(IRQ_LINE(ISR3_OFFSET), 1, isr3, ISR3_ARG, IRQ_FLAGS); in ZTEST()
332 irq_enable(IRQ_LINE(ISR3_OFFSET)); in ZTEST()
333 TC_PRINT("isr3 isr=%p irq=%d param=%p\n", isr3, IRQ_LINE(ISR3_OFFSET), in ZTEST()
341 IRQ_CONNECT(IRQ_LINE(ISR4_OFFSET), 1, isr4, ISR4_ARG, IRQ_FLAGS); in ZTEST()
342 irq_enable(IRQ_LINE(ISR4_OFFSET)); in ZTEST()
343 TC_PRINT("isr4 isr=%p irq=%d param=%p\n", isr4, IRQ_LINE(ISR4_OFFSET), in ZTEST()
376 irq_connect_dynamic(IRQ_LINE(ISR5_OFFSET), 1, isr5, in ZTEST()
378 irq_enable(IRQ_LINE(ISR5_OFFSET)); in ZTEST()
379 TC_PRINT("isr5 isr=%p irq=%d param=%p\n", isr5, IRQ_LINE(ISR5_OFFSET), in ZTEST()
386 irq_connect_dynamic(IRQ_LINE(ISR6_OFFSET), 1, isr6, in ZTEST()
388 irq_enable(IRQ_LINE(ISR6_OFFSET)); in ZTEST()
389 TC_PRINT("isr6 isr=%p irq=%d param=%p\n", isr6, IRQ_LINE(ISR6_OFFSET), in ZTEST()