Home
last modified time | relevance | path

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

/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c813 struct rpmsg_device *rpdev_ctrl; in rpmsg_virtio_add_ctrl_dev() local
824 rpdev_ctrl = &vch->rpdev; in rpmsg_virtio_add_ctrl_dev()
825 rpdev_ctrl->ops = &virtio_rpmsg_ops; in rpmsg_virtio_add_ctrl_dev()
827 rpdev_ctrl->dev.parent = &vrp->vdev->dev; in rpmsg_virtio_add_ctrl_dev()
828 rpdev_ctrl->dev.release = virtio_rpmsg_release_device; in rpmsg_virtio_add_ctrl_dev()
829 rpdev_ctrl->little_endian = virtio_is_little_endian(vrp->vdev); in rpmsg_virtio_add_ctrl_dev()
831 err = rpmsg_ctrldev_register_device(rpdev_ctrl); in rpmsg_virtio_add_ctrl_dev()
837 return rpdev_ctrl; in rpmsg_virtio_add_ctrl_dev()
840 static void rpmsg_virtio_del_ctrl_dev(struct rpmsg_device *rpdev_ctrl) in rpmsg_virtio_del_ctrl_dev() argument
842 if (!rpdev_ctrl) in rpmsg_virtio_del_ctrl_dev()
[all …]