Home
last modified time | relevance | path

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

/drivers/remoteproc/
Dremoteproc_virtio.c37 int notifyid = rvring->notifyid; in rproc_virtio_notify() local
39 dev_dbg(&rproc->dev, "kicking vq index: %d\n", notifyid); in rproc_virtio_notify()
41 rproc->ops->kick(rproc, notifyid); in rproc_virtio_notify()
57 irqreturn_t rproc_vq_interrupt(struct rproc *rproc, int notifyid) in rproc_vq_interrupt() argument
61 dev_dbg(&rproc->dev, "vq index %d is interrupted\n", notifyid); in rproc_vq_interrupt()
63 rvring = idr_find(&rproc->notifyids, notifyid); in rproc_vq_interrupt()
100 id, addr, len, rvring->notifyid); in rp_find_vq()
Dremoteproc_core.c211 int ret, size, notifyid; in rproc_alloc_vring() local
237 notifyid = ret; in rproc_alloc_vring()
240 if (notifyid > rproc->max_notifyid) in rproc_alloc_vring()
241 rproc->max_notifyid = notifyid; in rproc_alloc_vring()
244 i, va, &dma, size, notifyid); in rproc_alloc_vring()
248 rvring->notifyid = notifyid; in rproc_alloc_vring()
258 rsc->vring[i].notifyid = notifyid; in rproc_alloc_vring()
295 idr_remove(&rproc->notifyids, rvring->notifyid); in rproc_free_vring()
300 rsc->vring[idx].notifyid = -1; in rproc_free_vring()