Home
last modified time | relevance | path

Searched refs:rpdev_ctrl (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c835 struct rpmsg_device *rpdev_ctrl; in rpmsg_virtio_add_ctrl_dev() local
846 rpdev_ctrl = &vch->rpdev; in rpmsg_virtio_add_ctrl_dev()
847 rpdev_ctrl->ops = &virtio_rpmsg_ops; in rpmsg_virtio_add_ctrl_dev()
849 rpdev_ctrl->dev.parent = &vrp->vdev->dev; in rpmsg_virtio_add_ctrl_dev()
859 return rpdev_ctrl; in rpmsg_virtio_add_ctrl_dev()
864 if (!rpdev_ctrl) in rpmsg_virtio_del_ctrl_dev()
866 device_unregister(&rpdev_ctrl->dev); in rpmsg_virtio_del_ctrl_dev()
878 struct rpmsg_device *rpdev_ns, *rpdev_ctrl; in rpmsg_probe() local
953 if (IS_ERR(rpdev_ctrl)) { in rpmsg_probe()
954 err = PTR_ERR(rpdev_ctrl); in rpmsg_probe()
[all …]