Home
last modified time | relevance | path

Searched refs:user_cb (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-2.7.6/drivers/watchdog/
Dwdt_cmsdk_apb.c71 static void (*user_cb)(const struct device *dev, int channel_id); variable
122 user_cb = config->callback; in wdog_cmsdk_apb_install_timeout()
171 if (user_cb != NULL) { in wdog_cmsdk_apb_isr()
172 user_cb(wdog_r, 0); in wdog_cmsdk_apb_isr()
/Zephyr-Core-2.7.6/drivers/serial/
Duart_npcx.c40 uart_irq_callback_user_data_t user_cb; member
224 data->user_cb = cb; in uart_npcx_irq_callback_set()
238 if (data->user_cb) { in uart_npcx_isr()
239 data->user_cb(dev, data->user_data); in uart_npcx_isr()
Duart_stm32.h62 uart_irq_callback_user_data_t user_cb; member
Duart_xlnx_ps.c148 uart_irq_callback_user_data_t user_cb; member
1128 dev_data->user_cb = cb; in uart_xlnx_ps_irq_callback_set()
1145 if (data->user_cb) { in uart_xlnx_ps_isr()
1146 data->user_cb(dev, data->user_data); in uart_xlnx_ps_isr()
Duart_stm32.c816 data->user_cb = cb; in uart_stm32_irq_callback_set()
980 if (data->user_cb) { in uart_stm32_isr()
981 data->user_cb(dev, data->user_data); in uart_stm32_isr()
/Zephyr-Core-2.7.6/kernel/
Dthread.c49 void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach() argument
55 __ASSERT(user_cb != NULL, "user_cb can not be NULL"); in k_thread_foreach()
68 user_cb(thread, user_data); in k_thread_foreach()
77 void k_thread_foreach_unlocked(k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach_unlocked() argument
83 __ASSERT(user_cb != NULL, "user_cb can not be NULL"); in k_thread_foreach_unlocked()
91 user_cb(thread, user_data); in k_thread_foreach_unlocked()
/Zephyr-Core-2.7.6/include/storage/
Dflash_map.h227 void flash_area_foreach(flash_area_cb_t user_cb, void *user_data);
/Zephyr-Core-2.7.6/subsys/tracing/ctf/
Dtracing_ctf.h344 void sys_trace_k_thread_foreach_enter(k_thread_user_cb_t user_cb,
346 void sys_trace_k_thread_foreach_exit(k_thread_user_cb_t user_cb,
348 void sys_trace_k_thread_foreach_unlocked_enter(k_thread_user_cb_t user_cb,
350 void sys_trace_k_thread_foreach_unlocked_exit(k_thread_user_cb_t user_cb,
/Zephyr-Core-2.7.6/subsys/storage/flash_map/
Dflash_map.c51 void flash_area_foreach(flash_area_cb_t user_cb, void *user_data) in flash_area_foreach() argument
54 user_cb(&flash_map[i], user_data); in flash_area_foreach()
/Zephyr-Core-2.7.6/samples/subsys/modbus/rtu_server/src/
Dmain.c101 .user_cb = &mbs_cbs,
/Zephyr-Core-2.7.6/subsys/tracing/test/
Dtracing_test.h11 #define sys_port_trace_k_thread_foreach_enter() sys_trace_k_thread_foreach_enter(user_cb, user_data)
12 #define sys_port_trace_k_thread_foreach_exit() sys_trace_k_thread_foreach_exit(user_cb, user_data)
14 sys_trace_k_thread_foreach_unlocked_enter(user_cb, user_data)
16 sys_trace_k_thread_foreach_unlocked_exit(user_cb, user_data)
448 void sys_trace_k_thread_foreach_enter(k_thread_user_cb_t user_cb, void *user_data);
449 void sys_trace_k_thread_foreach_exit(k_thread_user_cb_t user_cb, void *user_data);
450 void sys_trace_k_thread_foreach_unlocked_enter(k_thread_user_cb_t user_cb, void *user_data);
451 void sys_trace_k_thread_foreach_unlocked_exit(k_thread_user_cb_t user_cb, void *user_data);
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_core.c229 if (param.server.user_cb == NULL) { in modbus_init_server()
267 ctx->mbs_user_cb = param.server.user_cb; in modbus_init_server()
/Zephyr-Core-2.7.6/include/modbus/
Dmodbus.h416 struct modbus_user_callbacks *user_cb; member
/Zephyr-Core-2.7.6/tests/subsys/modbus/src/
Dtest_modbus_server.c177 .user_cb = &mbs_cbs,
/Zephyr-Core-2.7.6/samples/subsys/modbus/tcp_server/src/
Dmain.c147 .user_cb = &mbs_cbs,
/Zephyr-Core-2.7.6/include/
Dkernel.h118 extern void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data);
148 k_thread_user_cb_t user_cb, void *user_data);