Lines Matching full:rproc

3  * SLIM core rproc driver
111 static int slim_rproc_start(struct rproc *rproc) in slim_rproc_start() argument
113 struct device *dev = &rproc->dev; in slim_rproc_start()
114 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_start()
153 static int slim_rproc_stop(struct rproc *rproc) in slim_rproc_stop() argument
155 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_stop()
169 dev_warn(&rproc->dev, "Failed to disable SLIM"); in slim_rproc_stop()
171 dev_dbg(&rproc->dev, "slim stopped\n"); in slim_rproc_stop()
176 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
178 struct st_slim_rproc *slim_rproc = rproc->priv; in slim_rproc_da_to_va()
193 dev_dbg(&rproc->dev, "da = 0x%llx len = 0x%zx va = 0x%pK\n", in slim_rproc_da_to_va()
209 * st_slim_rproc_alloc() - allocate and initialise slim rproc
211 * @fw_name: Name of firmware for rproc to use
213 * Function for allocating and initialising a slim rproc for use by
227 struct rproc *rproc; in st_slim_rproc_alloc() local
234 if (!of_device_is_compatible(np, "st,slim-rproc")) in st_slim_rproc_alloc()
237 rproc = rproc_alloc(dev, np->name, &slim_rproc_ops, in st_slim_rproc_alloc()
239 if (!rproc) in st_slim_rproc_alloc()
242 rproc->has_iommu = false; in st_slim_rproc_alloc()
244 slim_rproc = rproc->priv; in st_slim_rproc_alloc()
245 slim_rproc->rproc = rproc; in st_slim_rproc_alloc()
289 err = rproc_add(rproc); in st_slim_rproc_alloc()
303 rproc_free(rproc); in st_slim_rproc_alloc()
309 * st_slim_rproc_put() - put slim rproc resources
327 rproc_del(slim_rproc->rproc); in st_slim_rproc_put()
328 rproc_free(slim_rproc->rproc); in st_slim_rproc_put()
333 MODULE_DESCRIPTION("STMicroelectronics SLIM core rproc driver");