Home
last modified time | relevance | path

Searched refs:local_irq_to_reg_offset (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/interrupt_controller/intc_plic/src/
Dmain.c11 uint32_t local_irq_to_reg_offset(uint32_t local_irq);
27 zassert_equal(0, local_irq_to_reg_offset(0x1f)); in ZTEST()
28 zassert_equal(4, local_irq_to_reg_offset(0x20)); in ZTEST()
29 zassert_equal(4, local_irq_to_reg_offset(0x3f)); in ZTEST()
30 zassert_equal(8, local_irq_to_reg_offset(0x40)); in ZTEST()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c126 INTC_PLIC_STATIC_INLINE uint32_t local_irq_to_reg_offset(uint32_t local_irq) in local_irq_to_reg_offset() function
211 return config->pend + local_irq_to_reg_offset(local_irq); in get_pending_reg()
247 mem_addr_t trig_addr = config->trig + local_irq_to_reg_offset(local_irq); in riscv_plic_irq_trig_val()
261 get_context_en_addr(dev, cpu_num) + local_irq_to_reg_offset(local_irq); in plic_irq_enable_set_state()
321 get_context_en_addr(dev, cpu_num) + local_irq_to_reg_offset(local_irq); in local_irq_is_enabled()