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

Function rpmsg_get_local_cpuname

drivers/rpmsg/rpmsg.c:196–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196FAR const char *rpmsg_get_local_cpuname(FAR struct rpmsg_device *rdev)
197{
198 FAR struct rpmsg_s *rpmsg = rpmsg_get_by_rdev(rdev);
199
200 if (rpmsg == NULL)
201 {
202 return NULL;
203 }
204
205 return rpmsg->local_cpuname[0] ? rpmsg->local_cpuname :
206 CONFIG_RPMSG_LOCAL_CPUNAME;
207}
208
209FAR const char *rpmsg_get_cpuname(FAR struct rpmsg_device *rdev)
210{

Callers

nothing calls this directly

Calls 1

rpmsg_get_by_rdevFunction · 0.85

Tested by

no test coverage detected