Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/remoteproc/
Dremoteproc_virtio.c36 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()
76 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rp_find_vq() local
85 if (id >= ARRAY_SIZE(rvdev->vring)) in rp_find_vq()
91 rvring = &rvdev->vring[id]; in rp_find_vq()
164 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_get_status() local
167 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status()
174 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_set_status() local
177 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set_status()
185 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_reset() local
188 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_reset()
[all …]
Dremoteproc_core.c204 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i) in rproc_alloc_vring() argument
206 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring()
208 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring()
257 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rproc_alloc_vring()
264 rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) in rproc_parse_vring() argument
266 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring()
269 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring()
283 rvring->rvdev = rvdev; in rproc_parse_vring()
291 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()
292 int idx = rvring->rvdev->vring - rvring; in rproc_free_vring()
[all …]
Dremoteproc_internal.h34 int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id);
35 void rproc_remove_virtio_dev(struct rproc_vdev *rvdev);
52 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i);
/Linux-v4.19/include/linux/
Dremoteproc.h517 struct rproc_vdev *rvdev; member
568 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in vdev_to_rproc() local
570 return rvdev->rproc; in vdev_to_rproc()