Lines Matching refs:dma_ch
158 int dma_ch; member
298 static void set_dma_dest_params(int dma_ch, struct omap1_cam_buf *buf, in set_dma_dest_params() argument
337 omap_set_dma_dest_params(dma_ch, in set_dma_dest_params()
339 omap_set_dma_transfer_params(dma_ch, in set_dma_dest_params()
370 set_dma_dest_params(pcdev->dma_ch, buf, pcdev->vb_mode); in prepare_next_vb()
384 static struct scatterlist *try_next_sgbuf(int dma_ch, struct omap1_cam_buf *buf) in try_next_sgbuf() argument
421 set_dma_dest_params(dma_ch, buf, OMAP1_CAM_DMA_SG); in try_next_sgbuf()
447 omap_start_dma(pcdev->dma_ch); in start_capture()
455 try_next_sgbuf(pcdev->dma_ch, buf); in start_capture()
469 omap_stop_dma(pcdev->dma_ch); in suspend_capture()
524 try_next_sgbuf(pcdev->dma_ch, buf); in omap1_videobuf_queue()
695 try_next_sgbuf(pcdev->dma_ch, buf); in videobuf_done()
754 try_next_sgbuf(pcdev->dma_ch, buf); in dma_isr()
777 try_next_sgbuf(pcdev->dma_ch, buf); in dma_isr()
1642 dma_isr, (void *)pcdev, &pcdev->dma_ch); in omap1_cam_probe()
1648 dev_dbg(&pdev->dev, "got DMA channel %d\n", pcdev->dma_ch); in omap1_cam_probe()
1651 omap_set_dma_src_params(pcdev->dma_ch, OMAP_DMA_PORT_TIPB, in omap1_cam_probe()
1654 omap_set_dma_dest_burst_mode(pcdev->dma_ch, OMAP_DMA_DATA_BURST_4); in omap1_cam_probe()
1656 omap_dma_link_lch(pcdev->dma_ch, pcdev->dma_ch); in omap1_cam_probe()
1681 omap_free_dma(pcdev->dma_ch); in omap1_cam_probe()
1703 omap_free_dma(pcdev->dma_ch); in omap1_cam_remove()