Lines Matching defs:name
36 * struct rpmsg_ns_msg - dynamic name service announcement message
37 * @name: name of remote service that is published
46 char name[RPMSG_NAME_SIZE];
182 const char *name;
186 ret = of_property_read_string(child, "mtk,rpmsg-name", &name);
190 if (strcmp(name, channel) == 0)
214 strscpy(rpdev->id.name, info->name, RPMSG_NAME_SIZE);
217 mtk_rpmsg_match_device_subnode(pdev->dev.of_node, info->name);
251 char *name, u32 addr)
259 strscpy(info->info.name, name, RPMSG_NAME_SIZE);
285 * the name service ept does _not_ belong to a real rpmsg channel,
295 /* don't trust the remote processor for null terminating the name */
296 msg->name[RPMSG_NAME_SIZE - 1] = '\0';
298 dev_info(dev, "creating channel %s addr 0x%x\n", msg->name, msg->addr);
300 ret = mtk_rpmsg_create_device(mtk_subdev, msg->name, msg->addr);
313 /* a dedicated endpoint handles the name service msgs */
321 "failed to create name service endpoint\n");
346 * Destroy the name service endpoint here, to avoid new channel being
364 info->info.name, info->info.src,