/* This function sends rpmsg "message" to remote device. */
int rpmsg_send_offchannel_raw(struct rpmsg_endpoint *ept, uint32_t src, uint32_t dst, const void *data, int size, int wait)
/* This function sends rpmsg "message" to remote device. */
int rpmsg_send_offchannel_raw(struct rpmsg_endpoint *ept, uint32_t src, uint32_t dst, const void *data, int size, int wait)
{
	struct rpmsg_device *rdev;
	if (!ept || !ept->rdev || !data || dst == RPMSG_ADDR_ANY)
		return RPMSG_ERR_PARAM;
	rdev = ept->rdev;
	if (rdev->ops.send_offchannel_raw)
		return rdev->ops.send_offchannel_raw(rdev, src, dst, data,
						      size, wait);
	return RPMSG_ERR_PARAM;
}