Lines Matching full:vring

330 	struct rproc_vring *rvring = &rvdev->vring[i];  in rproc_alloc_vring()
336 /* actual size of vring (in bytes) */ in rproc_alloc_vring()
345 if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) in rproc_alloc_vring()
350 size, rsc->vring[i].da, in rproc_alloc_vring()
364 * Assign an rproc-wide unique index for this vring in rproc_alloc_vring()
381 /* Let the rproc know the notifyid of this vring.*/ in rproc_alloc_vring()
382 rsc->vring[i].notifyid = notifyid; in rproc_alloc_vring()
391 struct fw_rsc_vdev_vring *vring = &rsc->vring[i]; in rproc_parse_vring() local
392 struct rproc_vring *rvring = &rvdev->vring[i]; in rproc_parse_vring()
394 dev_dbg(dev, "vdev rsc: vring%d: da 0x%x, qsz %d, align %d\n", in rproc_parse_vring()
395 i, vring->da, vring->num, vring->align); in rproc_parse_vring()
397 /* verify queue size and vring alignment are sane */ in rproc_parse_vring()
398 if (!vring->num || !vring->align) { in rproc_parse_vring()
400 vring->num, vring->align); in rproc_parse_vring()
404 rvring->num = vring->num; in rproc_parse_vring()
405 rvring->align = vring->align; in rproc_parse_vring()
414 int idx = rvring - rvring->rvdev->vring; in rproc_free_vring()
432 rsc->vring[idx].da = 0; in rproc_free_vring()
433 rsc->vring[idx].notifyid = -1; in rproc_free_vring()
451 * @ptr: the vring resource descriptor
463 * doing the vring allocation only later when ->find_vqs() is invoked, and
487 rsc_size = struct_size(rsc, vring, rsc->num_of_vrings); in rproc_handle_vdev()
503 if (rsc->num_of_vrings > ARRAY_SIZE(rvdev->vring)) { in rproc_handle_vdev()
1282 * resource table. The address of the vring along with the other in rproc_start()