Home
last modified time | relevance | path

Searched refs:table_idx (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/arch/common/
Dmultilevel_irq.c74 unsigned int table_idx, local_irq; in z_get_sw_isr_table_idx() local
82 table_idx = intc->offset + local_irq; in z_get_sw_isr_table_idx()
86 table_idx = irq; in z_get_sw_isr_table_idx()
89 table_idx -= CONFIG_GEN_IRQ_START_VECTOR; in z_get_sw_isr_table_idx()
91 __ASSERT(table_idx < IRQ_TABLE_SIZE, "table_idx(%d) < IRQ_TABLE_SIZE(%d)", table_idx, in z_get_sw_isr_table_idx()
94 return table_idx; in z_get_sw_isr_table_idx()
Dshared_irq.c46 unsigned int table_idx; in z_isr_install() local
50 table_idx = z_get_sw_isr_table_idx(irq); in z_isr_install()
53 if (table_idx >= IRQ_TABLE_SIZE) { in z_isr_install()
57 shared_entry = &z_shared_sw_isr_table[table_idx]; in z_isr_install()
58 entry = &_sw_isr_table[table_idx]; in z_isr_install()
122 int client_idx, unsigned int table_idx) in shared_irq_remove_client() argument
139 _sw_isr_table[table_idx].isr = shared_entry->clients[0].isr; in shared_irq_remove_client()
140 _sw_isr_table[table_idx].arg = shared_entry->clients[0].arg; in shared_irq_remove_client()
166 unsigned int table_idx; in z_isr_uninstall() local
170 table_idx = z_get_sw_isr_table_idx(irq); in z_isr_uninstall()
[all …]
Ddynamic_isr.c15 unsigned int table_idx; in z_isr_install() local
26 table_idx = z_get_sw_isr_table_idx(irq); in z_isr_install()
31 _sw_isr_table[table_idx].arg = param; in z_isr_install()
32 _sw_isr_table[table_idx].isr = routine; in z_isr_install()
Dsw_isr_common.c18 unsigned int table_idx = irq - CONFIG_GEN_IRQ_START_VECTOR; in z_get_sw_isr_table_idx() local
20 __ASSERT_NO_MSG(table_idx < IRQ_TABLE_SIZE); in z_get_sw_isr_table_idx()
22 return table_idx; in z_get_sw_isr_table_idx()
/Zephyr-latest/soc/intel/intel_adsp/cavs/
Dirq.c146 uint32_t table_idx; in z_soc_irq_connect_dynamic() local
182 table_idx = CONFIG_CAVS_ISR_TBL_OFFSET + in z_soc_irq_connect_dynamic()
184 table_idx += cavs_irq; in z_soc_irq_connect_dynamic()
186 _sw_isr_table[table_idx].arg = parameter; in z_soc_irq_connect_dynamic()
187 _sw_isr_table[table_idx].isr = routine; in z_soc_irq_connect_dynamic()
/Zephyr-latest/tests/kernel/interrupt/src/
Ddynamic_shared_irq.c53 unsigned int i, table_idx; in get_irq_slot() local
56 table_idx = i - CONFIG_GEN_IRQ_START_VECTOR; in get_irq_slot()
58 if (_sw_isr_table[table_idx].isr == &z_irq_spurious) { in get_irq_slot()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nxp_irqsteer.c546 uint32_t table_idx; in irqsteer_isr_dispatcher() local
568 table_idx = z_get_sw_isr_table_idx(zephyr_irq); in irqsteer_isr_dispatcher()
571 _sw_isr_table[table_idx].isr(_sw_isr_table[table_idx].arg); in irqsteer_isr_dispatcher()