Home
last modified time | relevance | path

Searched refs:isr (Results 1 – 25 of 62) sorted by relevance

123

/Zephyr-Core-3.5.0/subsys/modem/backends/
Dmodem_backend_uart_isr.c30 receive_rb = &backend->isr.receive_rdb[backend->isr.receive_rdb_used]; in modem_backend_uart_isr_irq_handler_receive_ready()
57 if (ring_buf_is_empty(&backend->isr.transmit_rb) == true) { in modem_backend_uart_isr_irq_handler_transmit_ready()
62 size = ring_buf_get_claim(&backend->isr.transmit_rb, &buffer, UINT32_MAX); in modem_backend_uart_isr_irq_handler_transmit_ready()
65 ring_buf_get_finish(&backend->isr.transmit_rb, 0); in modem_backend_uart_isr_irq_handler_transmit_ready()
67 ring_buf_get_finish(&backend->isr.transmit_rb, (uint32_t)ret); in modem_backend_uart_isr_irq_handler_transmit_ready()
70 atomic_sub(&backend->isr.transmit_buf_len, (uint32_t)ret); in modem_backend_uart_isr_irq_handler_transmit_ready()
95 ring_buf_reset(&backend->isr.receive_rdb[0]); in modem_backend_uart_isr_open()
96 ring_buf_reset(&backend->isr.receive_rdb[1]); in modem_backend_uart_isr_open()
97 ring_buf_reset(&backend->isr.transmit_rb); in modem_backend_uart_isr_open()
98 atomic_set(&backend->isr.transmit_buf_len, 0); in modem_backend_uart_isr_open()
[all …]
/Zephyr-Core-3.5.0/arch/common/
Dshared_irq.c28 if (client->isr) { in z_shared_isr()
29 client->isr(client->arg); in z_shared_isr()
64 if (entry->isr == z_irq_spurious) { in z_isr_install()
68 entry->isr = routine; in z_isr_install()
74 } else if (entry->isr != z_shared_isr) { in z_isr_install()
80 shared_entry->clients[shared_entry->client_num].isr = entry->isr; in z_isr_install()
85 entry->isr = z_shared_isr; in z_isr_install()
93 __ASSERT(client->isr != routine && client->arg != param, in z_isr_install()
97 shared_entry->clients[shared_entry->client_num].isr = routine; in z_isr_install()
110 tmp.isr = a->isr; in swap_client_data()
[all …]
/Zephyr-Core-3.5.0/soc/xtensa/sample_controller/include/
D_soc_inthandlers.h95 e->isr(e->arg); in _xtensa_handle_one_int1()
101 e->isr(e->arg); in _xtensa_handle_one_int1()
107 e->isr(e->arg); in _xtensa_handle_one_int1()
115 e->isr(e->arg); in _xtensa_handle_one_int1()
121 e->isr(e->arg); in _xtensa_handle_one_int1()
128 e->isr(e->arg); in _xtensa_handle_one_int1()
134 e->isr(e->arg); in _xtensa_handle_one_int1()
144 e->isr(e->arg); in _xtensa_handle_one_int1()
150 e->isr(e->arg); in _xtensa_handle_one_int1()
156 e->isr(e->arg); in _xtensa_handle_one_int1()
[all …]
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dintc_vexriscv_litex.c72 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
79 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
86 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
93 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
97 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
103 ite->isr(ite->arg); in vexriscv_litex_irq_handler()
Dintc_ite_it8xxx2.c102 volatile uint8_t *isr; in ite_intc_isr_clear() local
109 isr = reg_status[g]; in ite_intc_isr_clear()
110 *isr = BIT(i); in ite_intc_isr_clear()
/Zephyr-Core-3.5.0/soc/arm/cypress/common/
Dcypress_psoc6_dt.h65 #define CY_PSOC6_DT_INST_NVIC_INSTALL(n, isr) \ argument
67 (CY_PSOC6_IRQ_CONFIG(n, isr)))
91 #define CY_PSOC6_DT_INST_NVIC_INSTALL(n, isr) CY_PSOC6_IRQ_CONFIG(n, isr) argument
97 #define CY_PSOC6_IRQ_CONFIG(n, isr) \ argument
101 isr, DEVICE_DT_INST_GET(n), 0);\
/Zephyr-Core-3.5.0/tests/kernel/interrupt/src/
Ddynamic_isr.c43 if (_sw_isr_table[i].isr == z_irq_spurious) { in ZTEST()
48 zassert_true(_sw_isr_table[i].isr == z_irq_spurious, in ZTEST()
58 zassert_true(_sw_isr_table[i].isr == dyn_isr && in ZTEST()
Ddynamic_shared_irq.c58 if (_sw_isr_table[table_idx].isr == &z_irq_spurious) { in get_irq_slot()
107 zassert_true(_sw_isr_table[fixture.irq1_table_idx].isr == test_isr_0, in dynamic_shared_irq_suite_before()
117 zassert_true(_sw_isr_table[fixture.irq1_table_idx].isr == z_shared_isr, in dynamic_shared_irq_suite_before()
133 zassert_true(_sw_isr_table[fixture.irq2_table_idx].isr == test_isr_2, in dynamic_shared_irq_suite_before()
194 zassert_true(_sw_isr_table[fixture.irq1_table_idx].isr == test_isr_1, in ZTEST()
Dtest_shared_irq.h52 if (client->isr == routine && client->arg == arg) { in client_exists_at_index()
63 return client->isr == routine && client->arg == arg; in client_exists_at_index()
Dstatic_shared_irq.c42 zassert_true(_sw_isr_table[GIC_IRQ1].isr == z_shared_isr, in ZTEST()
44 zassert_true(_sw_isr_table[GIC_IRQ2].isr == test_isr_2, in ZTEST()
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/
D_soc_inthandlers.h64 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
89 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
114 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
124 _sw_isr_table[8].isr(_sw_isr_table[8].arg); in _xtensa_handle_one_int5()
/Zephyr-Core-3.5.0/arch/sparc/core/
Dirq_manage.c37 ite->isr(ite->arg); in z_sparc_enter_irq()
45 ite->isr(ite->arg); in z_sparc_enter_irq()
/Zephyr-Core-3.5.0/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_irq_zephyr.c12 void nrf_802154_irq_init(uint32_t irqn, int32_t prio, nrf_802154_isr_t isr) in nrf_802154_irq_init() argument
21 irq_connect_dynamic(irqn, prio, isr, NULL, flags); in nrf_802154_irq_init()
/Zephyr-Core-3.5.0/tests/kernel/gen_isr_table/src/
Dmain.c182 static int check_vector(void *isr, int offset) in check_vector() argument
194 if (_irq_vector_table[TABLE_INDEX(offset)] != (uint32_t)isr) { in check_vector()
209 static int check_sw_isr(void *isr, uintptr_t arg, int offset) in check_sw_isr() argument
221 if (e->isr != isr) { in check_sw_isr()
223 TC_PRINT("expected %p got %p\n", (void *)isr, e->isr); in check_sw_isr()
/Zephyr-Core-3.5.0/drivers/entropy/
Dentropy_nrf5.c96 RNG_POOL_DEFINE(isr, CONFIG_ENTROPY_NRF5_ISR_POOL_SIZE);
201 static void isr(const void *arg) in isr() function
212 ret = rng_pool_put((struct rng_pool *)(entropy_nrf5_data.isr), byte); in isr()
261 return rng_pool_get((struct rng_pool *)(entropy_nrf5_data.isr), in entropy_nrf5_get_entropy_isr()
337 rng_pool_init((struct rng_pool *)(entropy_nrf5_data.isr), in entropy_nrf5_init()
352 IRQ_CONNECT(IRQN, IRQ_PRIO, isr, &entropy_nrf5_data, 0); in entropy_nrf5_init()
Dentropy_smartbond.c42 RNG_POOL_DEFINE(isr, CONFIG_ENTROPY_SMARTBOND_ISR_POOL_SIZE);
218 ptr = rng_pool_put_bytes((struct rng_pool *)(entropy_smartbond_data.isr), ptr, in smartbond_trng_isr()
273 return rng_pool_get((struct rng_pool *)(entropy_smartbond_data.isr), buf, len); in entropy_smartbond_get_entropy_isr()
324 rng_pool_put_bytes((struct rng_pool *)(entropy_smartbond_data.isr), in entropy_smartbond_get_entropy_isr()
355 rng_pool_init((struct rng_pool *)(entropy_smartbond_data.isr), in entropy_smartbond_init()
/Zephyr-Core-3.5.0/include/zephyr/
Dsw_isr_table.h38 void (*isr)(const void *); member
66 void (*isr)(const void *arg); member
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/common/include/
D_soc_inthandlers.h114 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
147 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
180 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
205 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int4()
243 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
258 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int7()
/Zephyr-Core-3.5.0/soc/xtensa/dc233c/include/
D_soc_inthandlers.h175 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
190 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
223 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
238 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int4()
253 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
268 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int7()
/Zephyr-Core-3.5.0/drivers/timer/
Dapic_timer.c140 static void isr(const void *arg) in isr() function
174 static void isr(const void *arg) in isr() function
240 isr, 0, 0); in sys_clock_driver_init()
/Zephyr-Core-3.5.0/soc/xtensa/nxp_adsp/imx8/include/
D_soc_inthandlers.h97 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
115 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
140 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
155 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
/Zephyr-Core-3.5.0/soc/xtensa/nxp_adsp/imx8m/include/
D_soc_inthandlers.h97 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
115 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
140 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
155 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/common/include/
D_soc_inthandlers.h219 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
262 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
277 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int7()
302 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
327 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
360 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int4()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32_net/include/
D_soc_inthandlers.h207 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int1()
250 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int3()
265 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int7()
290 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int5()
315 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int2()
348 _sw_isr_table[irq].isr(_sw_isr_table[irq].arg); in _xtensa_handle_one_int4()
/Zephyr-Core-3.5.0/arch/mips/core/
DCMakeLists.txt9 isr.S

123