Lines Matching refs:rproc
64 static int ingenic_rproc_prepare(struct rproc *rproc) in ingenic_rproc_prepare() argument
66 struct vpu *vpu = rproc->priv; in ingenic_rproc_prepare()
77 static int ingenic_rproc_unprepare(struct rproc *rproc) in ingenic_rproc_unprepare() argument
79 struct vpu *vpu = rproc->priv; in ingenic_rproc_unprepare()
86 static int ingenic_rproc_start(struct rproc *rproc) in ingenic_rproc_start() argument
88 struct vpu *vpu = rproc->priv; in ingenic_rproc_start()
100 static int ingenic_rproc_stop(struct rproc *rproc) in ingenic_rproc_stop() argument
102 struct vpu *vpu = rproc->priv; in ingenic_rproc_stop()
112 static void ingenic_rproc_kick(struct rproc *rproc, int vqid) in ingenic_rproc_kick() argument
114 struct vpu *vpu = rproc->priv; in ingenic_rproc_kick()
119 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in ingenic_rproc_da_to_va() argument
121 struct vpu *vpu = rproc->priv; in ingenic_rproc_da_to_va()
149 struct rproc *rproc = data; in vpu_interrupt() local
150 struct vpu *vpu = rproc->priv; in vpu_interrupt()
158 return rproc_vq_interrupt(rproc, vring); in vpu_interrupt()
165 struct rproc *rproc; in ingenic_rproc_probe() local
170 rproc = devm_rproc_alloc(dev, "ingenic-vpu", in ingenic_rproc_probe()
172 if (!rproc) in ingenic_rproc_probe()
175 vpu = rproc->priv; in ingenic_rproc_probe()
214 ret = devm_request_irq(dev, vpu->irq, vpu_interrupt, 0, "VPU", rproc); in ingenic_rproc_probe()
222 ret = devm_rproc_add(dev, rproc); in ingenic_rproc_probe()