Searched refs:rvdev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/remoteproc/ |
D | remoteproc_virtio.c | 30 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify() 70 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rp_find_vq() local 81 if (id >= ARRAY_SIZE(rvdev->vring)) in rp_find_vq() 88 mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, in rp_find_vq() 93 rvring = &rvdev->vring[id]; in rp_find_vq() 120 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rp_find_vq() 175 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_get_status() local 178 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_get_status() 185 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rproc_virtio_set_status() local 188 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_set_status() [all …]
|
D | remoteproc_core.c | 321 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i) in rproc_alloc_vring() argument 323 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring() 325 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() 334 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset; in rproc_alloc_vring() 337 mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, in rproc_alloc_vring() 349 rvdev->index, i); in rproc_alloc_vring() 382 rproc_parse_vring(struct rproc_vdev *rvdev, struct fw_rsc_vdev *rsc, int i) in rproc_parse_vring() argument 384 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring() 387 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() 401 rvring->rvdev = rvdev; in rproc_parse_vring() [all …]
|
D | remoteproc_internal.h | 35 int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id); 85 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i);
|
/Linux-v5.10/include/linux/ |
D | remoteproc.h | 594 struct rproc_vdev *rvdev; member 674 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in vdev_to_rproc() local 676 return rvdev->rproc; in vdev_to_rproc()
|