MCPcopy Create free account
hub / github.com/apache/nuttx / rpmsgdev_server_init

Function rpmsgdev_server_init

drivers/misc/rpmsgdev_server.c:586–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 ****************************************************************************/
585
586int rpmsgdev_server_init(void)
587{
588 if (g_rpmsgdev_wqueue == NULL)
589 {
590 g_rpmsgdev_wqueue = work_queue_create("rpmsgdev_server",
591 CONFIG_DEV_RPMSG_SERVER_WORK_PRIORITY, NULL,
592 CONFIG_DEV_RPMSG_SERVER_WORK_STACKSIZE, 1);
593 if (g_rpmsgdev_wqueue == NULL)
594 {
595 return -ENOENT;
596 }
597 }
598
599 return rpmsg_register_callback(NULL,
600 NULL,
601 NULL,
602 rpmsgdev_ns_match,
603 rpmsgdev_ns_bind);
604}

Callers 1

drivers_initializeFunction · 0.85

Calls 2

work_queue_createFunction · 0.85
rpmsg_register_callbackFunction · 0.85

Tested by

no test coverage detected