Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/shell/
Dshell_fprintf.h18 typedef void (*shell_fprintf_fwrite)(const void *user_ctx,
33 const void *user_ctx; member
58 .user_ctx = _user_ctx, \
Dshell.h935 extern void z_shell_print_stream(const void *user_ctx, const char *data,
/Zephyr-latest/subsys/shell/
Dshell_fprintf.c17 sh = (const struct shell *)sh_fprintf->user_ctx; in out_func()
46 sh_fprintf->fwrite(sh_fprintf->user_ctx, sh_fprintf->buffer, in z_shell_fprintf_buffer_flush()
Dshell_ops.c455 void z_shell_print_stream(const void *user_ctx, const char *data, size_t len) in z_shell_print_stream() argument
457 z_shell_write((const struct shell *) user_ctx, data, len); in z_shell_print_stream()
Dshell_ops.h351 void z_shell_print_stream(const void *user_ctx, const char *data, size_t len);
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_ble.c21 static void *user_ctx; variable
78 user_ctx = ctx; in logger_backend_ble_set_hook()
112 user_hook(notify_enabled, user_ctx); in log_notify_changed()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c335 void *user_ctx; member
374 if (!beacon.process_cb || beacon.process_cb(net_id, beacon.user_ctx)) { in beacon_scan_cb()
384 beacon.user_ctx = ctx; in wait_for_beacon()
1639 struct priv_test_ctx *ctx = (struct priv_test_ctx *)beacon.user_ctx; in priv_scan_cb()
1655 if (!beacon.process_cb || beacon.process_cb(NULL, beacon.user_ctx)) { in priv_scan_cb()
1676 struct proxy_adv_beacon *beac = (struct proxy_adv_beacon *)beacon.user_ctx; in proxy_adv_scan_all_cb()
1694 if (!beacon.process_cb || beacon.process_cb(NULL, beacon.user_ctx)) { in proxy_adv_scan_all_cb()