Searched refs:nsm (Results 1 – 1 of 1) sorted by relevance
/drivers/rpmsg/ |
D | virtio_rpmsg_bus.c | 330 struct rpmsg_ns_msg nsm; in virtio_rpmsg_announce_create() local 332 strncpy(nsm.name, rpdev->id.name, RPMSG_NAME_SIZE); in virtio_rpmsg_announce_create() 333 nsm.addr = cpu_to_rpmsg32(rpdev, rpdev->ept->addr); in virtio_rpmsg_announce_create() 334 nsm.flags = cpu_to_rpmsg32(rpdev, RPMSG_NS_CREATE); in virtio_rpmsg_announce_create() 336 err = rpmsg_sendto(rpdev->ept, &nsm, sizeof(nsm), RPMSG_NS_ADDR); in virtio_rpmsg_announce_create() 354 struct rpmsg_ns_msg nsm; in virtio_rpmsg_announce_destroy() local 356 strncpy(nsm.name, rpdev->id.name, RPMSG_NAME_SIZE); in virtio_rpmsg_announce_destroy() 357 nsm.addr = cpu_to_rpmsg32(rpdev, rpdev->ept->addr); in virtio_rpmsg_announce_destroy() 358 nsm.flags = cpu_to_rpmsg32(rpdev, RPMSG_NS_DESTROY); in virtio_rpmsg_announce_destroy() 360 err = rpmsg_sendto(rpdev->ept, &nsm, sizeof(nsm), RPMSG_NS_ADDR); in virtio_rpmsg_announce_destroy()
|