Lines Matching refs:rproc
84 struct rproc *rproc; member
158 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start() argument
160 struct imx_rproc *priv = rproc->priv; in imx_rproc_start()
173 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop() argument
175 struct imx_rproc *priv = rproc->priv; in imx_rproc_stop()
211 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in imx_rproc_da_to_va() argument
213 struct imx_rproc *priv = rproc->priv; in imx_rproc_da_to_va()
238 dev_dbg(&rproc->dev, "da = 0x%llx len = 0x%zx va = 0x%p\n", in imx_rproc_da_to_va()
318 struct rproc *rproc; in imx_rproc_probe() local
332 rproc = rproc_alloc(dev, "imx-rproc", &imx_rproc_ops, in imx_rproc_probe()
334 if (!rproc) in imx_rproc_probe()
343 priv = rproc->priv; in imx_rproc_probe()
344 priv->rproc = rproc; in imx_rproc_probe()
349 dev_set_drvdata(dev, rproc); in imx_rproc_probe()
370 dev_err(&rproc->dev, "Failed to enable clock\n"); in imx_rproc_probe()
374 ret = rproc_add(rproc); in imx_rproc_probe()
385 rproc_free(rproc); in imx_rproc_probe()
392 struct rproc *rproc = platform_get_drvdata(pdev); in imx_rproc_remove() local
393 struct imx_rproc *priv = rproc->priv; in imx_rproc_remove()
396 rproc_del(rproc); in imx_rproc_remove()
397 rproc_free(rproc); in imx_rproc_remove()