Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/remoteproc/
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 …]
Dremoteproc_core.c329 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_alloc_vring() local
336 size = PAGE_ALIGN(vring_size(rvring->num, rvring->align)); in rproc_alloc_vring()
367 ret = idr_alloc(&rproc->notifyids, rvring, 0, 0, GFP_KERNEL); in rproc_alloc_vring()
378 rvring->notifyid = notifyid; in rproc_alloc_vring()
391 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring() local
403 rvring->num = vring->num; in rproc_parse_vring()
404 rvring->align = vring->align; in rproc_parse_vring()
405 rvring->rvdev = rvdev; in rproc_parse_vring()
410 void rproc_free_vring(struct rproc_vring *rvring) in rproc_free_vring() argument
412 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring()
[all …]
Dremoteproc_internal.h107 void rproc_free_vring(struct rproc_vring *rvring);