Searched refs:slim_rproc (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | st_slim_rproc.c | 58 static int slim_clk_get(struct st_slim_rproc *slim_rproc, struct device *dev) in slim_clk_get() argument 63 slim_rproc->clks[clk] = of_clk_get(dev->of_node, clk); in slim_clk_get() 64 if (IS_ERR(slim_rproc->clks[clk])) { in slim_clk_get() 65 err = PTR_ERR(slim_rproc->clks[clk]); in slim_clk_get() 68 slim_rproc->clks[clk] = NULL; in slim_clk_get() 77 clk_put(slim_rproc->clks[clk]); in slim_clk_get() 82 static void slim_clk_disable(struct st_slim_rproc *slim_rproc) in slim_clk_disable() argument 86 for (clk = 0; clk < ST_SLIM_MAX_CLK && slim_rproc->clks[clk]; clk++) in slim_clk_disable() 87 clk_disable_unprepare(slim_rproc->clks[clk]); in slim_clk_disable() 90 static int slim_clk_enable(struct st_slim_rproc *slim_rproc) in slim_clk_enable() argument 115 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_start() local 156 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_stop() local 179 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_da_to_va() local 226 struct st_slim_rproc *slim_rproc; st_slim_rproc_alloc() local 316 st_slim_rproc_put(struct st_slim_rproc *slim_rproc) st_slim_rproc_put() argument [all...] |
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | st_slim_rproc.c | 57 static int slim_clk_get(struct st_slim_rproc *slim_rproc, struct device *dev) in slim_clk_get() argument 62 slim_rproc->clks[clk] = of_clk_get(dev->of_node, clk); in slim_clk_get() 63 if (IS_ERR(slim_rproc->clks[clk])) { in slim_clk_get() 64 err = PTR_ERR(slim_rproc->clks[clk]); in slim_clk_get() 67 slim_rproc->clks[clk] = NULL; in slim_clk_get() 76 clk_put(slim_rproc->clks[clk]); in slim_clk_get() 81 static void slim_clk_disable(struct st_slim_rproc *slim_rproc) in slim_clk_disable() argument 85 for (clk = 0; clk < ST_SLIM_MAX_CLK && slim_rproc->clks[clk]; clk++) in slim_clk_disable() 86 clk_disable_unprepare(slim_rproc->clks[clk]); in slim_clk_disable() 89 static int slim_clk_enable(struct st_slim_rproc *slim_rproc) in slim_clk_enable() argument 114 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_start() local 155 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_stop() local 178 struct st_slim_rproc *slim_rproc = rproc->priv; slim_rproc_da_to_va() local 225 struct st_slim_rproc *slim_rproc; st_slim_rproc_alloc() local 315 st_slim_rproc_put(struct st_slim_rproc *slim_rproc) st_slim_rproc_put() argument [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | st_fdma.h | 135 struct st_slim_rproc *slim_rproc; member 167 readl((fdev)->slim_rproc->peri + name) 170 writel((val), (fdev)->slim_rproc->peri + name) 185 readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 190 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 197 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 207 readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 212 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
|
H A D | st_fdma.c | 92 fchan->fdev->slim_rproc->peri + FDMA_CMD_SET_OFST); in st_fdma_xfer_desc() 180 ret = rproc_boot(fdev->slim_rproc->rproc); in st_fdma_of_xlate() 220 rproc_shutdown(fdev->slim_rproc->rproc); in st_fdma_of_xlate() 290 struct rproc *rproc = fchan->fdev->slim_rproc->rproc; in st_fdma_free_chan_res() 785 fdev->slim_rproc = st_slim_rproc_alloc(pdev, fdev->fw_name); in st_fdma_probe() 786 if (IS_ERR(fdev->slim_rproc)) { in st_fdma_probe() 787 ret = PTR_ERR(fdev->slim_rproc); in st_fdma_probe() 847 st_slim_rproc_put(fdev->slim_rproc); in st_fdma_probe() 857 st_slim_rproc_put(fdev->slim_rproc); in st_fdma_remove()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | st_fdma.h | 135 struct st_slim_rproc *slim_rproc; member 167 readl((fdev)->slim_rproc->peri + name) 170 writel((val), (fdev)->slim_rproc->peri + name) 185 readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 190 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 197 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 207 readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 212 writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
|
H A D | st_fdma.c | 92 fchan->fdev->slim_rproc->peri + FDMA_CMD_SET_OFST); in st_fdma_xfer_desc() 180 ret = rproc_boot(fdev->slim_rproc->rproc); in st_fdma_of_xlate() 220 rproc_shutdown(fdev->slim_rproc->rproc); in st_fdma_of_xlate() 290 struct rproc *rproc = fchan->fdev->slim_rproc->rproc; in st_fdma_free_chan_res() 785 fdev->slim_rproc = st_slim_rproc_alloc(pdev, fdev->fw_name); in st_fdma_probe() 786 if (IS_ERR(fdev->slim_rproc)) { in st_fdma_probe() 787 ret = PTR_ERR(fdev->slim_rproc); in st_fdma_probe() 847 st_slim_rproc_put(fdev->slim_rproc); in st_fdma_probe() 857 st_slim_rproc_put(fdev->slim_rproc); in st_fdma_remove()
|
/kernel/linux/linux-5.10/include/linux/remoteproc/ |
H A D | st_slim_rproc.h | 52 void st_slim_rproc_put(struct st_slim_rproc *slim_rproc);
|
/kernel/linux/linux-6.6/include/linux/remoteproc/ |
H A D | st_slim_rproc.h | 52 void st_slim_rproc_put(struct st_slim_rproc *slim_rproc);
|
Completed in 5 milliseconds