Home
last modified time | relevance | path

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

/openbmc/linux/drivers/remoteproc/
H A Dst_slim_rproc.c57 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
[all …]
/openbmc/linux/drivers/dma/
H A 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 \
H A 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()
/openbmc/linux/include/linux/remoteproc/
H A Dst_slim_rproc.h52 void st_slim_rproc_put(struct st_slim_rproc *slim_rproc);