Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/remoteproc/
Dremoteproc_virtio.c59 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in vdev_to_rproc() local
61 return rvdev->rproc; in vdev_to_rproc()
68 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()
108 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rp_find_vq() local
119 if (id >= ARRAY_SIZE(rvdev->vring)) in rp_find_vq()
126 mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, in rp_find_vq()
131 rvring = &rvdev->vring[id]; in rp_find_vq()
160 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rp_find_vq()
215 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_get_status() local
218 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status()
[all …]
Dremoteproc_core.c325 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i) in rproc_alloc_vring() argument
327 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring()
329 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring()
338 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rproc_alloc_vring()
341 mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, in rproc_alloc_vring()
353 rvdev->index, i); in rproc_alloc_vring()
386 rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) in rproc_parse_vring() argument
388 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring()
391 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring()
405 rvring->rvdev = rvdev; in rproc_parse_vring()
[all …]
Dremoteproc_internal.h112 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i);
113 int rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i);
126 void rproc_add_rvdev(struct rproc *rproc, struct rproc_vdev *rvdev);
127 void rproc_remove_rvdev(struct rproc_vdev *rvdev);
/Linux-v6.1/include/linux/
Dremoteproc.h629 struct rproc_vdev *rvdev; member