Home
last modified time | relevance | path

Searched refs:local_irq (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c121 INTC_PLIC_STATIC_INLINE uint32_t local_irq_to_reg_index(uint32_t local_irq) in local_irq_to_reg_index() argument
123 return local_irq >> LOG2(PLIC_REG_SIZE); in local_irq_to_reg_index()
126 INTC_PLIC_STATIC_INLINE uint32_t local_irq_to_reg_offset(uint32_t local_irq) in local_irq_to_reg_offset() argument
128 return local_irq_to_reg_index(local_irq) * sizeof(uint32_t); in local_irq_to_reg_offset()
145 static ALWAYS_INLINE uint32_t get_irq_cpumask(const struct device *dev, uint32_t local_irq) in get_irq_cpumask() argument
150 return data->irq_cpumask[local_irq]; in get_irq_cpumask()
153 ARG_UNUSED(local_irq); in get_irq_cpumask()
199 static ALWAYS_INLINE uint32_t local_irq_to_irq(const struct device *dev, uint32_t local_irq) in local_irq_to_irq() argument
203 return irq_to_level_2(local_irq) | config->irq; in local_irq_to_irq()
207 static inline mem_addr_t get_pending_reg(const struct device *dev, uint32_t local_irq) in get_pending_reg() argument
[all …]
/Zephyr-latest/tests/kernel/interrupt/src/
Dsw_isr_table.c36 for (unsigned int local_irq = 0; in ZTEST() local
37 local_irq < CONFIG_MAX_IRQ_PER_AGGREGATOR; local_irq++) { in ZTEST()
38 unsigned int test_irq = irq_to_level_2(local_irq) | parent_irq[i]; in ZTEST()
41 l2_isr_offset + local_irq + (i * CONFIG_MAX_IRQ_PER_AGGREGATOR); in ZTEST()
77 for (unsigned int local_irq = 0; in ZTEST() local
78 local_irq < CONFIG_MAX_IRQ_PER_AGGREGATOR; local_irq++) { in ZTEST()
79 test_irq = irq_to_level_2(local_irq) | parent_irq[i]; in ZTEST()
/Zephyr-latest/arch/common/
Dmultilevel_irq.c74 unsigned int table_idx, local_irq; in z_get_sw_isr_table_idx() local
79 local_irq = irq_from_level(irq, level); in z_get_sw_isr_table_idx()
80 __ASSERT_NO_MSG(local_irq < CONFIG_MAX_IRQ_PER_AGGREGATOR); in z_get_sw_isr_table_idx()
82 table_idx = intc->offset + local_irq; in z_get_sw_isr_table_idx()
/Zephyr-latest/tests/drivers/interrupt_controller/intc_plic/src/
Dmain.c10 uint32_t local_irq_to_reg_index(uint32_t local_irq);
11 uint32_t local_irq_to_reg_offset(uint32_t local_irq);
/Zephyr-latest/tests/drivers/interrupt_controller/multi_level_backend/src/
Dmain.c131 const unsigned int local_irq = CONFIG_MAX_IRQ_PER_AGGREGATOR + 1; in ZTEST() local
132 const unsigned int overflown_irqn = IRQ_TO_L2(local_irq) | INTC_1_IRQN; in ZTEST()
135 local_irq + INTC_1_OFFSET - CONFIG_GEN_IRQ_START_VECTOR); in ZTEST()