/Zephyr-latest/kernel/ |
D | thread_monitor.c | 38 void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach() argument 43 __ASSERT(user_cb != NULL, "user_cb can not be NULL"); in k_thread_foreach() 56 user_cb(thread, user_data); in k_thread_foreach() 64 void k_thread_foreach_unlocked(k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach_unlocked() argument 69 __ASSERT(user_cb != NULL, "user_cb can not be NULL"); in k_thread_foreach_unlocked() 77 user_cb(thread, user_data); in k_thread_foreach_unlocked() 88 void k_thread_foreach_filter_by_cpu(unsigned int cpu, k_thread_user_cb_t user_cb, in k_thread_foreach_filter_by_cpu() argument 94 __ASSERT(user_cb != NULL, "user_cb can not be NULL"); in k_thread_foreach_filter_by_cpu() 109 user_cb(thread, user_data); in k_thread_foreach_filter_by_cpu() 118 void k_thread_foreach_unlocked_filter_by_cpu(unsigned int cpu, k_thread_user_cb_t user_cb, in k_thread_foreach_unlocked_filter_by_cpu() argument [all …]
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_cmsdk_apb.c | 73 static void (*user_cb)(const struct device *dev, int channel_id); variable 133 user_cb = config->callback; in wdog_cmsdk_apb_install_timeout() 182 if (user_cb != NULL) { in wdog_cmsdk_apb_isr() 183 user_cb(wdog_r, 0); in wdog_cmsdk_apb_isr()
|
/Zephyr-latest/include/zephyr/net/prometheus/ |
D | collector.h | 60 prometheus_scrape_cb_t user_cb; member 81 .user_cb = COND_CODE_0( \
|
/Zephyr-latest/subsys/storage/flash_map/ |
D | flash_map.c | 22 void flash_area_foreach(flash_area_cb_t user_cb, void *user_data) in flash_area_foreach() argument 25 user_cb(&flash_map[i], user_data); in flash_area_foreach()
|
/Zephyr-latest/include/zephyr/modbus/ |
D | modbus.h | 455 #define MODBUS_CUSTOM_FC_DEFINE(name, user_cb, user_fc, userdata) \ argument 457 .cb = user_cb, \ 501 struct modbus_user_callbacks *user_cb; member
|
/Zephyr-latest/drivers/serial/ |
D | usart_gd32.c | 38 uart_irq_callback_user_data_t user_cb; member 48 if (data->user_cb) { in usart_gd32_isr() 49 data->user_cb(dev, data->user_data); in usart_gd32_isr() 282 data->user_cb = cb; in usart_gd32_irq_callback_set()
|
D | uart_stm32.h | 94 uart_irq_callback_user_data_t user_cb; member
|
D | uart_numaker.c | 39 uart_irq_callback_user_data_t user_cb; member 365 pData->user_cb = cb; in uart_numaker_irq_callback_set() 373 if (pData->user_cb) { in uart_numaker_isr() 374 pData->user_cb(dev, pData->user_data); in uart_numaker_isr()
|
D | uart_renesas_ra_sci.c | 48 uart_irq_callback_user_data_t user_cb; member 516 data->user_cb = cb; in uart_ra_sci_irq_callback_set() 556 data->user_cb = NULL; in uart_ra_sci_async_callback_set() 984 if (data->user_cb != NULL) { in uart_ra_sci_rxi_isr() 985 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_rxi_isr() 1010 if (data->user_cb != NULL) { in uart_ra_sci_txi_isr() 1011 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_txi_isr() 1027 if (data->user_cb != NULL) { in uart_ra_sci_tei_isr() 1028 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_tei_isr() 1044 if (data->user_cb != NULL) { in uart_ra_sci_eri_isr() [all …]
|
D | uart_renesas_ra8_sci_b.c | 41 uart_irq_callback_user_data_t user_cb; member 426 data->user_cb = cb; in uart_ra_sci_b_irq_callback_set() 914 if (data->user_cb != NULL) { in uart_ra_sci_b_rxi_isr() 915 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_b_rxi_isr() 949 if (data->user_cb != NULL) { in uart_ra_sci_b_txi_isr() 950 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_b_txi_isr() 966 if (data->user_cb != NULL) { in uart_ra_sci_b_tei_isr() 967 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_b_tei_isr() 984 if (data->user_cb != NULL) { in uart_ra_sci_b_eri_isr() 985 data->user_cb(dev, data->user_cb_data); in uart_ra_sci_b_eri_isr()
|
D | uart_sedi.c | 114 uart_irq_callback_user_data_t user_cb; member 410 drv_data->user_cb = cb; in uart_sedi_irq_callback_set() 420 if (drv_data->user_cb) { in uart_sedi_isr() 421 drv_data->user_cb(dev, drv_data->user_data); in uart_sedi_isr()
|
D | uart_xlnx_ps.c | 161 uart_irq_callback_user_data_t user_cb; member 1078 dev_data->user_cb = cb; in uart_xlnx_ps_irq_callback_set() 1093 if (data->user_cb) { in uart_xlnx_ps_isr() 1094 data->user_cb(dev, data->user_data); in uart_xlnx_ps_isr()
|
D | uart_npcx.c | 87 uart_irq_callback_user_data_t user_cb; member 352 data->user_cb = cb; in uart_npcx_irq_callback_set() 519 data->user_cb = NULL; in uart_npcx_async_callback_set() 838 if (data->user_cb) { in uart_npcx_isr() 839 data->user_cb(dev, data->user_data); in uart_npcx_isr()
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/ |
D | mgmt.h | 144 void mgmt_groups_foreach(mgmt_groups_cb_t user_cb, void *user_data);
|
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/ |
D | mgmt.c | 229 void mgmt_groups_foreach(mgmt_groups_cb_t user_cb, void *user_data) in mgmt_groups_foreach() argument 237 ok = user_cb(group, user_data); in mgmt_groups_foreach()
|
/Zephyr-latest/subsys/net/lib/prometheus/ |
D | collector.c | 204 if (ctx->collector->user_cb) { in prometheus_collector_walk_metrics() 205 ret = ctx->collector->user_cb(ctx->collector, ctx->metric, in prometheus_collector_walk_metrics()
|
D | formatter.c | 261 if (collector->user_cb) { in prometheus_format_exposition() 262 ret = collector->user_cb(collector, metric, collector->user_data); in prometheus_format_exposition()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_string_format_test.c | 538 void sys_trace_k_thread_foreach_unlocked_enter(k_thread_user_cb_t user_cb, void *data) in sys_trace_k_thread_foreach_unlocked_enter() argument 540 TRACING_STRING("%s: %p (%p) enter\n", __func__, user_cb, data); in sys_trace_k_thread_foreach_unlocked_enter() 543 void sys_trace_k_thread_foreach_unlocked_exit(k_thread_user_cb_t user_cb, void *data) in sys_trace_k_thread_foreach_unlocked_exit() argument 545 TRACING_STRING("%s: %p (%p) exit\n", __func__, user_cb, data); in sys_trace_k_thread_foreach_unlocked_exit()
|
D | tracing_test.h | 11 #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) 482 void sys_trace_k_thread_foreach_enter(k_thread_user_cb_t user_cb, void *user_data); 483 void sys_trace_k_thread_foreach_exit(k_thread_user_cb_t user_cb, void *user_data); 484 void sys_trace_k_thread_foreach_unlocked_enter(k_thread_user_cb_t user_cb, void *user_data); 485 void sys_trace_k_thread_foreach_unlocked_exit(k_thread_user_cb_t user_cb, void *user_data);
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/ |
D | ec_host_cmd_handler.c | 292 hc->user_cb = cb; in ec_host_cmd_set_user_cb() 339 if (!hc->rx_status && hc->user_cb) { in ec_host_cmd_rx_notify() 340 hc->user_cb(rx, hc->user_data); in ec_host_cmd_rx_notify()
|
/Zephyr-latest/samples/subsys/modbus/rtu_server/src/ |
D | main.c | 103 .user_cb = &mbs_cbs,
|
/Zephyr-latest/include/zephyr/mgmt/ec_host_cmd/ |
D | ec_host_cmd.h | 108 ec_host_cmd_user_cb_t user_cb; member
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_core.c | 235 if (param.server.user_cb == NULL) { in modbus_init_server() 280 ctx->mbs_user_cb = param.server.user_cb; in modbus_init_server()
|
/Zephyr-latest/include/zephyr/storage/ |
D | flash_map.h | 286 void flash_area_foreach(flash_area_cb_t user_cb, void *user_data);
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 123 void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data); 145 k_thread_user_cb_t user_cb, void *user_data); 149 k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach_filter_by_cpu() argument 153 k_thread_foreach(user_cb, user_data); in k_thread_foreach_filter_by_cpu() 185 k_thread_user_cb_t user_cb, void *user_data); 220 k_thread_user_cb_t user_cb, void *user_data); 224 k_thread_user_cb_t user_cb, void *user_data) in k_thread_foreach_unlocked_filter_by_cpu() argument 228 k_thread_foreach_unlocked(user_cb, user_data); in k_thread_foreach_unlocked_filter_by_cpu()
|