Lines Matching refs:dma_chans
670 struct dma_chan *dma_chans[3]; member
824 struct dma_chan *dma_chan = pcdev->dma_chans[channel]; in pxa_init_dma_channel()
880 dma_async_issue_pending(pcdev->dma_chans[i]); in pxa_dma_start_channels()
891 dmaengine_terminate_all(pcdev->dma_chans[i]); in pxa_dma_stop_channels()
1052 last_status = dma_async_is_tx_complete(pcdev->dma_chans[chan], in pxa_camera_dma_irq()
2356 pcdev->dma_chans[0] = dma_request_chan(&pdev->dev, "CI_Y"); in pxa_camera_probe()
2357 if (IS_ERR(pcdev->dma_chans[0])) { in pxa_camera_probe()
2359 err = PTR_ERR(pcdev->dma_chans[0]); in pxa_camera_probe()
2363 pcdev->dma_chans[1] = dma_request_chan(&pdev->dev, "CI_U"); in pxa_camera_probe()
2364 if (IS_ERR(pcdev->dma_chans[1])) { in pxa_camera_probe()
2366 err = PTR_ERR(pcdev->dma_chans[1]); in pxa_camera_probe()
2370 pcdev->dma_chans[2] = dma_request_chan(&pdev->dev, "CI_V"); in pxa_camera_probe()
2371 if (IS_ERR(pcdev->dma_chans[2])) { in pxa_camera_probe()
2373 err = PTR_ERR(pcdev->dma_chans[2]); in pxa_camera_probe()
2379 err = dmaengine_slave_config(pcdev->dma_chans[i], &config); in pxa_camera_probe()
2415 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_probe()
2417 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_probe()
2419 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_probe()
2433 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_remove()
2434 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_remove()
2435 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_remove()