Searched refs:rvdev (Results 1 – 4 of 4) sorted by relevance
36 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()76 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rp_find_vq() local85 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() local167 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() local177 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() local188 rsc = (void *)rvdev->rproc->table_ptr + rvdev->rsc_offset; in rproc_virtio_reset()[all …]
204 int rproc_alloc_vring(struct rproc_vdev *rvdev, int i) in rproc_alloc_vring() argument206 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() argument266 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 …]
34 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);
517 struct rproc_vdev *rvdev; member568 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in vdev_to_rproc() local570 return rvdev->rproc; in vdev_to_rproc()