Searched refs:table_idx (Results 1 – 7 of 7) sorted by relevance
74 unsigned int table_idx, local_irq; in z_get_sw_isr_table_idx() local82 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()
46 unsigned int table_idx; in z_isr_install() local50 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() argument139 _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() local170 table_idx = z_get_sw_isr_table_idx(irq); in z_isr_uninstall()[all …]
15 unsigned int table_idx; in z_isr_install() local26 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()
18 unsigned int table_idx = irq - CONFIG_GEN_IRQ_START_VECTOR; in z_get_sw_isr_table_idx() local20 __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()
146 uint32_t table_idx; in z_soc_irq_connect_dynamic() local182 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()
53 unsigned int i, table_idx; in get_irq_slot() local56 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()
546 uint32_t table_idx; in irqsteer_isr_dispatcher() local568 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()