Searched refs:msg_cb (Results 1 – 8 of 8) sorted by relevance
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);
89 struct usbd_context *sample_usbd_setup_device(usbd_msg_cb_t msg_cb) in sample_usbd_setup_device() argument155 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() argument183 if (sample_usbd_setup_device(msg_cb) == NULL) { in sample_usbd_init_device()
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()
25 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() function50 sample_usbd = sample_usbd_setup_device(msg_cb); in main()
147 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() function209 sample_usbd = sample_usbd_init_device(msg_cb); in main()
35 log_link_callback_t msg_cb; member
63 static void (*msg_cb)(uint32_t opcode, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *buf); variable1310 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()
289 usbd_msg_cb_t msg_cb; member