Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/remoteproc/
Dremoteproc_virtio.c29 struct rproc_vring *rvring = vq->priv; in rproc_virtio_notify() local
30 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify()
31 int notifyid = rvring->notifyid; in rproc_virtio_notify()
53 struct rproc_vring *rvring; in rproc_vq_interrupt() local
57 rvring = idr_find(&rproc->notifyids, notifyid); in rproc_vq_interrupt()
58 if (!rvring || !rvring->vq) in rproc_vq_interrupt()
61 return vring_interrupt(0, rvring->vq); in rproc_vq_interrupt()
74 struct rproc_vring *rvring; in rp_find_vq() local
93 rvring = &rvdev->vring[id]; in rp_find_vq()
95 len = rvring->len; in rp_find_vq()
[all …]
Dremoteproc_core.c325 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local
332 size = PAGE_ALIGN(vring_size(rvring->len, rvring->align)); in rproc_alloc_vring()
363 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()
374 rvring->notifyid = notifyid; in rproc_alloc_vring()
387 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local
399 rvring->len = vring->num; in rproc_parse_vring()
400 rvring->align = vring->align; in rproc_parse_vring()
401 rvring->rvdev = rvdev; in rproc_parse_vring()
406 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument
408 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()
[all …]
Dremoteproc_internal.h84 void rproc_free_vring(struct rproc_vring *rvring);