Lines Matching refs:endpoints
37 } endpoints[CONFIG_RPMSG_SERVICE_NUM_ENDPOINTS]; variable
53 if (strcmp(name, endpoints[i].name) == 0) { in ns_bind_cb()
54 err = rpmsg_create_ept(&endpoints[i].ep, in ns_bind_cb()
59 endpoints[i].cb, in ns_bind_cb()
66 endpoints[i].bound = true; in ns_bind_cb()
110 if (endpoints[i].name) { in rpmsg_service_init()
111 err = rpmsg_create_ept(&endpoints[i].ep, in rpmsg_service_init()
113 endpoints[i].name, in rpmsg_service_init()
116 endpoints[i].cb, in rpmsg_service_init()
139 if (!endpoints[i].name) { in rpmsg_service_register_endpoint()
140 endpoints[i].name = name; in rpmsg_service_register_endpoint()
141 endpoints[i].cb = cb; in rpmsg_service_register_endpoint()
154 return endpoints[endpoint_id].bound; in rpmsg_service_endpoint_is_bound()
159 return rpmsg_send(&endpoints[endpoint_id].ep, data, len); in rpmsg_service_send()