Searched refs:local_irq (Results 1 – 5 of 5) sorted by relevance
121 INTC_PLIC_STATIC_INLINE uint32_t local_irq_to_reg_index(uint32_t local_irq) in local_irq_to_reg_index() argument123 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() argument128 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() argument150 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() argument203 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 …]
36 for (unsigned int local_irq = 0; in ZTEST() local37 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() local78 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()
74 unsigned int table_idx, local_irq; in z_get_sw_isr_table_idx() local79 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()
10 uint32_t local_irq_to_reg_index(uint32_t local_irq);11 uint32_t local_irq_to_reg_offset(uint32_t local_irq);
131 const unsigned int local_irq = CONFIG_MAX_IRQ_PER_AGGREGATOR + 1; in ZTEST() local132 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()