Lines Matching refs:dma_chans
669 struct dma_chan *dma_chans[3]; member
823 struct dma_chan *dma_chan = pcdev->dma_chans[channel]; in pxa_init_dma_channel()
879 dma_async_issue_pending(pcdev->dma_chans[i]); in pxa_dma_start_channels()
890 dmaengine_terminate_all(pcdev->dma_chans[i]); in pxa_dma_stop_channels()
1051 last_status = dma_async_is_tx_complete(pcdev->dma_chans[chan], in pxa_camera_dma_irq()
2352 pcdev->dma_chans[0] = dma_request_chan(&pdev->dev, "CI_Y"); in pxa_camera_probe()
2353 if (IS_ERR(pcdev->dma_chans[0])) { in pxa_camera_probe()
2355 return PTR_ERR(pcdev->dma_chans[0]); in pxa_camera_probe()
2358 pcdev->dma_chans[1] = dma_request_chan(&pdev->dev, "CI_U"); in pxa_camera_probe()
2359 if (IS_ERR(pcdev->dma_chans[1])) { in pxa_camera_probe()
2361 err = PTR_ERR(pcdev->dma_chans[1]); in pxa_camera_probe()
2365 pcdev->dma_chans[2] = dma_request_chan(&pdev->dev, "CI_V"); in pxa_camera_probe()
2366 if (IS_ERR(pcdev->dma_chans[2])) { in pxa_camera_probe()
2368 err = PTR_ERR(pcdev->dma_chans[2]); in pxa_camera_probe()
2374 err = dmaengine_slave_config(pcdev->dma_chans[i], &config); in pxa_camera_probe()
2416 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_probe()
2418 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_probe()
2420 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_probe()
2430 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_remove()
2431 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_remove()
2432 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_remove()