Searched refs:local_irq_to_reg_offset (Results 1 – 2 of 2) sorted by relevance
11 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()
126 INTC_PLIC_STATIC_INLINE uint32_t local_irq_to_reg_offset(uint32_t local_irq) in local_irq_to_reg_offset() function211 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()