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()
2355 pcdev->dma_chans[0] = dma_request_chan(&pdev->dev, "CI_Y"); in pxa_camera_probe()
2356 if (IS_ERR(pcdev->dma_chans[0])) { in pxa_camera_probe()
2358 err = PTR_ERR(pcdev->dma_chans[0]); in pxa_camera_probe()
2362 pcdev->dma_chans[1] = dma_request_chan(&pdev->dev, "CI_U"); in pxa_camera_probe()
2363 if (IS_ERR(pcdev->dma_chans[1])) { in pxa_camera_probe()
2365 err = PTR_ERR(pcdev->dma_chans[1]); in pxa_camera_probe()
2369 pcdev->dma_chans[2] = dma_request_chan(&pdev->dev, "CI_V"); in pxa_camera_probe()
2370 if (IS_ERR(pcdev->dma_chans[2])) { in pxa_camera_probe()
2372 err = PTR_ERR(pcdev->dma_chans[2]); in pxa_camera_probe()
2378 err = dmaengine_slave_config(pcdev->dma_chans[i], &config); in pxa_camera_probe()
2414 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_probe()
2416 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_probe()
2418 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_probe()
2432 dma_release_channel(pcdev->dma_chans[0]); in pxa_camera_remove()
2433 dma_release_channel(pcdev->dma_chans[1]); in pxa_camera_remove()
2434 dma_release_channel(pcdev->dma_chans[2]); in pxa_camera_remove()