Lines Matching defs:active
689 struct pxa_buffer *active;
870 * pxa_dma_start_channels - start DMA channel for active buffer
873 * Initialize DMA channels to the beginning of the active video buffer, and
915 * Launch capturing. DMA channels should not be active yet. They should get
940 pcdev->active = NULL;
965 pcdev->active = list_entry(pcdev->capture.next,
995 __func__, pcdev->active, is_dma_stopped);
997 if (pcdev->active && is_dma_stopped)
1021 * pcdev->active should not be NULL in DMA irq handler.
1027 * capture and restart it (and thus set pcdev->active to NULL). But the
1029 * the DMA irq handler for channel 2 there will be no active buffer, yet
1032 if (!pcdev->active)
1035 buf = pcdev->active;
1167 pcdev->active = list_first_entry(&pcdev->capture,
1169 buf = pcdev->active;
1369 "%s(vb=%p) nb_channels=%d size=%lu active=%p\n",
1371 pcdev->active);
1479 dev_dbg(pcdev_to_dev(pcdev), "%s(count=%d) active=%p\n",
1480 __func__, count, pcdev->active);
1483 if (!pcdev->active)
1494 dev_dbg(pcdev_to_dev(pcdev), "%s active=%p\n",
1495 __func__, pcdev->active);
1873 is_busy = pcdev->active || vb2_is_busy(&pcdev->vb2_vq);
2197 /* Restart frame capture if active buffer exists */
2198 if (!ret && pcdev->active)