Lines Matching refs:rpdev
210 struct rpmsg_device *rpdev; member
933 ret = rpmsg_send(cctx->rpdev->ept, (void *)msg, sizeof(*msg)); in fastrpc_invoke_send()
952 if (!fl->cctx->rpdev) in fastrpc_internal_invoke()
1242 dev_err(&cctx->rpdev->dev, "No session available\n"); in fastrpc_device_open()
1607 static int fastrpc_rpmsg_probe(struct rpmsg_device *rpdev) in fastrpc_rpmsg_probe() argument
1609 struct device *rdev = &rpdev->dev; in fastrpc_rpmsg_probe()
1648 dev_set_drvdata(&rpdev->dev, data); in fastrpc_rpmsg_probe()
1654 data->rpdev = rpdev; in fastrpc_rpmsg_probe()
1669 static void fastrpc_rpmsg_remove(struct rpmsg_device *rpdev) in fastrpc_rpmsg_remove() argument
1671 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); in fastrpc_rpmsg_remove()
1681 of_platform_depopulate(&rpdev->dev); in fastrpc_rpmsg_remove()
1683 cctx->rpdev = NULL; in fastrpc_rpmsg_remove()
1687 static int fastrpc_rpmsg_callback(struct rpmsg_device *rpdev, void *data, in fastrpc_rpmsg_callback() argument
1690 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); in fastrpc_rpmsg_callback()
1706 dev_err(&rpdev->dev, "No context ID matches response\n"); in fastrpc_rpmsg_callback()