Lines Matching full:rproc

3  * SLIM core rproc driver
112 static int slim_rproc_start(struct rproc *rproc) in slim_rproc_start() argument
114 struct device *dev = &rproc->dev; in slim_rproc_start()
115 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_start()
154 static int slim_rproc_stop(struct rproc *rproc) in slim_rproc_stop() argument
156 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_stop()
170 dev_warn(&rproc->dev, "Failed to disable SLIM"); in slim_rproc_stop()
172 dev_dbg(&rproc->dev, "slim stopped\n"); in slim_rproc_stop()
177 static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in slim_rproc_da_to_va() argument
179 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_da_to_va()
194 dev_dbg(&rproc->dev, "da = 0x%llx len = 0x%zx va = 0x%pK\n", in slim_rproc_da_to_va()
210 * st_slim_rproc_alloc() - allocate and initialise slim rproc
212 * @fw_name: Name of firmware for rproc to use
214 * Function for allocating and initialising a slim rproc for use by
228 struct rproc *rproc; in st_slim_rproc_alloc() local
235 if (!of_device_is_compatible(np, "st,slim-rproc")) in st_slim_rproc_alloc()
238 rproc = rproc_alloc(dev, np->name, &slim_rproc_ops, in st_slim_rproc_alloc()
240 if (!rproc) in st_slim_rproc_alloc()
243 rproc->has_iommu = false; in st_slim_rproc_alloc()
245 slim_rproc = rproc->priv; in st_slim_rproc_alloc()
246 slim_rproc->rproc = rproc; in st_slim_rproc_alloc()
290 err = rproc_add(rproc); in st_slim_rproc_alloc()
304 rproc_free(rproc); in st_slim_rproc_alloc()
310 * st_slim_rproc_put() - put slim rproc resources
328 rproc_del(slim_rproc->rproc); in st_slim_rproc_put()
329 rproc_free(slim_rproc->rproc); in st_slim_rproc_put()
334 MODULE_DESCRIPTION("STMicroelectronics SLIM core rproc driver");