Searched refs:msg_cb (Results 1 – 9 of 9) sorted by relevance
| /Zephyr-latest/samples/subsys/usb/common/ |
| D | sample_usbd.h | 30 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);
|
| D | sample_usbd_init.c | 96 struct usbd_context *sample_usbd_setup_device(usbd_msg_cb_t msg_cb) in sample_usbd_setup_device() argument 164 if (msg_cb != NULL) { in sample_usbd_setup_device() 166 err = usbd_msg_register_cb(&sample_usbd, msg_cb); in sample_usbd_setup_device() 188 struct usbd_context *sample_usbd_init_device(usbd_msg_cb_t msg_cb) in sample_usbd_init_device() argument 192 if (sample_usbd_setup_device(msg_cb) == NULL) { in sample_usbd_init_device()
|
| /Zephyr-latest/subsys/usb/device_next/ |
| D | usbd_msg.c | 81 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/ |
| D | main.c | 25 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/dfu-next/src/ |
| D | main.c | 172 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() function 257 err = usbd_msg_register_cb(&dfu_usbd, msg_cb); in switch_to_dfu_mode() 274 sample_usbd = sample_usbd_init_device(msg_cb); in main()
|
| /Zephyr-latest/samples/subsys/usb/hid-keyboard/src/ |
| D | main.c | 147 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/ |
| D | log_link.h | 35 log_link_callback_t msg_cb; member
|
| /Zephyr-latest/subsys/bluetooth/mesh/ |
| D | access.c | 63 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/ |
| D | usbd.h | 291 usbd_msg_cb_t msg_cb; member
|