Home
last modified time | relevance | path

Searched refs:slim_rproc (Results 1 – 3 of 3) sorted by relevance

/drivers/remoteproc/
Dst_slim_rproc.c58 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
[all …]
/drivers/dma/
Dst_fdma.h135 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 \
Dst_fdma.c92 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()