stm32_dmamux 63 drivers/dma/stm32-dmamux.c struct stm32_dmamux *mux = route_data; stm32_dmamux 87 drivers/dma/stm32-dmamux.c struct stm32_dmamux *mux; stm32_dmamux 179 drivers/dma/stm32-dmamux.c struct stm32_dmamux_data *stm32_dmamux; stm32_dmamux 194 drivers/dma/stm32-dmamux.c stm32_dmamux = devm_kzalloc(&pdev->dev, sizeof(*stm32_dmamux) + stm32_dmamux 196 drivers/dma/stm32-dmamux.c if (!stm32_dmamux) stm32_dmamux 211 drivers/dma/stm32-dmamux.c &stm32_dmamux->dma_reqs[i])) { stm32_dmamux 215 drivers/dma/stm32-dmamux.c stm32_dmamux->dma_reqs[i] = stm32_dmamux 218 drivers/dma/stm32-dmamux.c dma_req += stm32_dmamux->dma_reqs[i]; stm32_dmamux 227 drivers/dma/stm32-dmamux.c stm32_dmamux->dma_requests = dma_req; stm32_dmamux 228 drivers/dma/stm32-dmamux.c stm32_dmamux->dma_reqs[0] = count; stm32_dmamux 229 drivers/dma/stm32-dmamux.c stm32_dmamux->dma_inuse = devm_kcalloc(&pdev->dev, stm32_dmamux 233 drivers/dma/stm32-dmamux.c if (!stm32_dmamux->dma_inuse) stm32_dmamux 237 drivers/dma/stm32-dmamux.c &stm32_dmamux->dmamux_requests)) { stm32_dmamux 238 drivers/dma/stm32-dmamux.c stm32_dmamux->dmamux_requests = STM32_DMAMUX_MAX_REQUESTS; stm32_dmamux 240 drivers/dma/stm32-dmamux.c stm32_dmamux->dmamux_requests); stm32_dmamux 249 drivers/dma/stm32-dmamux.c spin_lock_init(&stm32_dmamux->lock); stm32_dmamux 251 drivers/dma/stm32-dmamux.c stm32_dmamux->clk = devm_clk_get(&pdev->dev, NULL); stm32_dmamux 252 drivers/dma/stm32-dmamux.c if (IS_ERR(stm32_dmamux->clk)) { stm32_dmamux 253 drivers/dma/stm32-dmamux.c ret = PTR_ERR(stm32_dmamux->clk); stm32_dmamux 259 drivers/dma/stm32-dmamux.c stm32_dmamux->rst = devm_reset_control_get(&pdev->dev, NULL); stm32_dmamux 260 drivers/dma/stm32-dmamux.c if (!IS_ERR(stm32_dmamux->rst)) { stm32_dmamux 261 drivers/dma/stm32-dmamux.c reset_control_assert(stm32_dmamux->rst); stm32_dmamux 263 drivers/dma/stm32-dmamux.c reset_control_deassert(stm32_dmamux->rst); stm32_dmamux 266 drivers/dma/stm32-dmamux.c stm32_dmamux->iomem = iomem; stm32_dmamux 267 drivers/dma/stm32-dmamux.c stm32_dmamux->dmarouter.dev = &pdev->dev; stm32_dmamux 268 drivers/dma/stm32-dmamux.c stm32_dmamux->dmarouter.route_free = stm32_dmamux_free; stm32_dmamux 270 drivers/dma/stm32-dmamux.c platform_set_drvdata(pdev, stm32_dmamux); stm32_dmamux 274 drivers/dma/stm32-dmamux.c if (!IS_ERR(stm32_dmamux->clk)) { stm32_dmamux 275 drivers/dma/stm32-dmamux.c ret = clk_prepare_enable(stm32_dmamux->clk); stm32_dmamux 285 drivers/dma/stm32-dmamux.c for (i = 0; i < stm32_dmamux->dma_requests; i++) stm32_dmamux 286 drivers/dma/stm32-dmamux.c stm32_dmamux_write(stm32_dmamux->iomem, STM32_DMAMUX_CCR(i), 0); stm32_dmamux 291 drivers/dma/stm32-dmamux.c &stm32_dmamux->dmarouter); stm32_dmamux 298 drivers/dma/stm32-dmamux.c struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); stm32_dmamux 300 drivers/dma/stm32-dmamux.c clk_disable_unprepare(stm32_dmamux->clk); stm32_dmamux 308 drivers/dma/stm32-dmamux.c struct stm32_dmamux_data *stm32_dmamux = platform_get_drvdata(pdev); stm32_dmamux 311 drivers/dma/stm32-dmamux.c ret = clk_prepare_enable(stm32_dmamux->clk);