Home
last modified time | relevance | path

Searched refs:msg_cb (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/subsys/usb/common/
Dsample_usbd.h30 struct usbd_context *sample_usbd_init_device(usbd_msg_cb_t msg_cb);
37 struct usbd_context *sample_usbd_setup_device(usbd_msg_cb_t msg_cb);
Dsample_usbd_init.c89 struct usbd_context *sample_usbd_setup_device(usbd_msg_cb_t msg_cb) in sample_usbd_setup_device() argument
155 if (msg_cb != NULL) { in sample_usbd_setup_device()
157 err = usbd_msg_register_cb(&sample_usbd, msg_cb); in sample_usbd_setup_device()
179 struct usbd_context *sample_usbd_init_device(usbd_msg_cb_t msg_cb) in sample_usbd_init_device() argument
183 if (sample_usbd_setup_device(msg_cb) == NULL) { in sample_usbd_init_device()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_msg.c81 m_pkt->ctx->msg_cb(m_pkt->ctx, &m_pkt->msg); in msg_work_handler()
97 if (uds_ctx->msg_cb != NULL) { in usbd_msg_register_cb()
102 uds_ctx->msg_cb = cb; in usbd_msg_register_cb()
118 if (ctx->msg_cb != NULL) { in usbd_msg_pub_simple()
131 if (ctx->msg_cb != NULL) { in usbd_msg_pub_device()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dmain.c25 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() function
50 sample_usbd = sample_usbd_setup_device(msg_cb); in main()
/Zephyr-latest/samples/subsys/usb/hid-keyboard/src/
Dmain.c147 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() function
209 sample_usbd = sample_usbd_init_device(msg_cb); in main()
/Zephyr-latest/include/zephyr/logging/
Dlog_link.h35 log_link_callback_t msg_cb; member
/Zephyr-latest/subsys/bluetooth/mesh/
Daccess.c63 static void (*msg_cb)(uint32_t opcode, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); variable
1310 if (IS_ENABLED(CONFIG_BT_MESH_ACCESS_LAYER_MSG) && msg_cb) { in bt_mesh_has_addr()
1329 msg_cb = cb; in bt_mesh_msg_cb_set()
1565 if (IS_ENABLED(CONFIG_BT_MESH_ACCESS_LAYER_MSG) && msg_cb) { in bt_mesh_model_recv()
1566 msg_cb(opcode, ctx, buf); in bt_mesh_model_recv()
1578 if (IS_ENABLED(CONFIG_BT_MESH_ACCESS_LAYER_MSG) && msg_cb) { in bt_mesh_access_recv()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h289 usbd_msg_cb_t msg_cb; member