Home
last modified time | relevance | path

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

/linux/drivers/remoteproc/
H A Dremoteproc_virtio.c67 struct rproc_vring *rvring = vq->priv; in rproc_virtio_notify() local
68 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()
69 int notifyid = rvring->notifyid; in rproc_virtio_notify()
91 struct rproc_vring *rvring; in rproc_vq_interrupt() local
95 rvring = idr_find(&rproc->notifyids, notifyid); in rproc_vq_interrupt()
96 if (!rvring || !rvring->vq) in rproc_vq_interrupt()
99 return vring_interrupt(0, rvring->vq); in rproc_vq_interrupt()
112 struct rproc_vring *rvring; in rp_find_vq() local
131 rvring = &rvdev->vring[id]; in rp_find_vq()
133 num = rvring->num; in rp_find_vq()
[all …]
H A Dremoteproc_core.c330 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local
337 size = PAGE_ALIGN(vring_size(rvring->num, rvring->align)); in rproc_alloc_vring()
368 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()
379 rvring->notifyid = notifyid; in rproc_alloc_vring()
392 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local
404 rvring->num = vring->num; in rproc_parse_vring()
405 rvring->align = vring->align; in rproc_parse_vring()
406 rvring->rvdev = rvdev; in rproc_parse_vring()
411 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument
413 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()
[all …]