Home
last modified time | relevance | path

Searched refs:dmaq (Results 1 – 18 of 18) sorted by relevance

/drivers/media/pci/saa7134/
Dsaa7134-ts.c83 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_init() local
86 dmaq->curr = NULL; in saa7134_ts_buffer_init()
96 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in saa7134_ts_buffer_prepare() local
97 struct saa7134_dev *dev = dmaq->dev; in saa7134_ts_buffer_prepare()
114 return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, in saa7134_ts_buffer_prepare()
123 struct saa7134_dmaqueue *dmaq = q->drv_priv; in saa7134_ts_queue_setup() local
124 struct saa7134_dev *dev = dmaq->dev; in saa7134_ts_queue_setup()
141 struct saa7134_dmaqueue *dmaq = vq->drv_priv; in saa7134_ts_start_streaming() local
142 struct saa7134_dev *dev = dmaq->dev; in saa7134_ts_start_streaming()
151 list_for_each_entry_safe(buf, tmp, &dmaq->queue, entry) { in saa7134_ts_start_streaming()
[all …]
Dsaa7134-vbi.c86 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() local
101 (dmaq->pt.dma >> 12); in buffer_activate()
113 mod_timer(&dmaq->timeout, jiffies + BUFFER_TIMEOUT); in buffer_activate()
120 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() local
121 struct saa7134_dev *dev = dmaq->dev; in buffer_prepare()
137 return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, in buffer_prepare()
145 struct saa7134_dmaqueue *dmaq = q->drv_priv; in queue_setup() local
146 struct saa7134_dev *dev = dmaq->dev; in queue_setup()
164 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() local
168 dmaq->curr = NULL; in buffer_init()
Dsaa7134-video.c794 struct saa7134_dmaqueue *dmaq = buf->vb2.vb2_buf.vb2_queue->drv_priv; in buffer_activate() local
817 (dmaq->pt.dma >> 12); in buffer_activate()
868 mod_timer(&dmaq->timeout, jiffies + BUFFER_TIMEOUT); in buffer_activate()
874 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_init() local
878 dmaq->curr = NULL; in buffer_init()
885 struct saa7134_dmaqueue *dmaq = vb2->vb2_queue->drv_priv; in buffer_prepare() local
886 struct saa7134_dev *dev = dmaq->dev; in buffer_prepare()
903 return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, in buffer_prepare()
911 struct saa7134_dmaqueue *dmaq = q->drv_priv; in queue_setup() local
912 struct saa7134_dev *dev = dmaq->dev; in queue_setup()
[all …]
Dsaa7134-empress.c46 struct saa7134_dmaqueue *dmaq = vq->drv_priv; in start_streaming() local
47 struct saa7134_dev *dev = dmaq->dev; in start_streaming()
74 struct saa7134_dmaqueue *dmaq = vq->drv_priv; in stop_streaming() local
75 struct saa7134_dev *dev = dmaq->dev; in stop_streaming()
/drivers/media/pci/cx23885/
Dcx23885-vbi.c231 struct cx23885_dmaqueue *dmaq = &dev->vbiq; in cx23885_start_streaming() local
232 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
235 cx23885_start_vbi_dma(dev, dmaq, buf); in cx23885_start_streaming()
242 struct cx23885_dmaqueue *dmaq = &dev->vbiq; in cx23885_stop_streaming() local
247 while (!list_empty(&dmaq->active)) { in cx23885_stop_streaming()
248 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_stop_streaming()
Dcx23885-video.c477 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_start_streaming() local
478 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
481 cx23885_start_video_dma(dev, dmaq, buf); in cx23885_start_streaming()
488 struct cx23885_dmaqueue *dmaq = &dev->vidq; in cx23885_stop_streaming() local
493 while (!list_empty(&dmaq->active)) { in cx23885_stop_streaming()
494 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_stop_streaming()
Dcx23885-417.c1189 struct cx23885_dmaqueue *dmaq = &dev->ts1.mpegq; in cx23885_start_streaming() local
1195 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
1198 cx23885_start_dma(&dev->ts1, dmaq, buf); in cx23885_start_streaming()
1202 while (!list_empty(&dmaq->active)) { in cx23885_start_streaming()
1203 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
Dcx23885-dvb.c161 struct cx23885_dmaqueue *dmaq = &port->mpegq; in cx23885_start_streaming() local
162 struct cx23885_buffer *buf = list_entry(dmaq->active.next, in cx23885_start_streaming()
165 cx23885_start_dma(port, dmaq, buf); in cx23885_start_streaming()
/drivers/media/pci/cx88/
Dcx88-vbi.c195 struct cx88_dmaqueue *dmaq = &dev->vbiq; in start_streaming() local
196 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming()
199 cx8800_start_vbi_dma(dev, dmaq, buf); in start_streaming()
207 struct cx88_dmaqueue *dmaq = &dev->vbiq; in stop_streaming() local
214 while (!list_empty(&dmaq->active)) { in stop_streaming()
215 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
Dcx88-blackbird.c687 struct cx88_dmaqueue *dmaq = &dev->mpegq; in start_streaming() local
715 buf = list_entry(dmaq->active.next, struct cx88_buffer, list); in start_streaming()
716 cx8802_start_dma(dev, dmaq, buf); in start_streaming()
722 while (!list_empty(&dmaq->active)) { in start_streaming()
723 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming()
736 struct cx88_dmaqueue *dmaq = &dev->mpegq; in stop_streaming() local
750 while (!list_empty(&dmaq->active)) { in stop_streaming()
751 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
Dcx88-video.c543 struct cx88_dmaqueue *dmaq = &dev->vidq; in start_streaming() local
544 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming()
547 start_video_dma(dev, dmaq, buf); in start_streaming()
555 struct cx88_dmaqueue *dmaq = &dev->vidq; in stop_streaming() local
561 while (!list_empty(&dmaq->active)) { in stop_streaming()
562 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
Dcx88-dvb.c133 struct cx88_dmaqueue *dmaq = &dev->mpegq; in start_streaming() local
136 buf = list_entry(dmaq->active.next, struct cx88_buffer, list); in start_streaming()
137 cx8802_start_dma(dev, dmaq, buf); in start_streaming()
144 struct cx88_dmaqueue *dmaq = &dev->mpegq; in stop_streaming() local
150 while (!list_empty(&dmaq->active)) { in stop_streaming()
151 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming()
/drivers/media/pci/cx25821/
Dcx25821-video.c124 struct cx25821_dmaqueue *dmaq = in cx25821_video_irq() local
129 if (!list_empty(&dmaq->active)) { in cx25821_video_irq()
130 buf = list_entry(dmaq->active.next, in cx25821_video_irq()
134 buf->vb.sequence = dmaq->count++; in cx25821_video_irq()
284 struct cx25821_dmaqueue *dmaq = &dev->channels[chan->id].dma_vidq; in cx25821_start_streaming() local
285 struct cx25821_buffer *buf = list_entry(dmaq->active.next, in cx25821_start_streaming()
288 dmaq->count = 0; in cx25821_start_streaming()
289 cx25821_start_video_dma(dev, dmaq, buf, chan->sram_channels); in cx25821_start_streaming()
297 struct cx25821_dmaqueue *dmaq = &dev->channels[chan->id].dma_vidq; in cx25821_stop_streaming() local
302 while (!list_empty(&dmaq->active)) { in cx25821_stop_streaming()
[all …]
/drivers/media/pci/dt3155/
Ddt3155.c216 while (!list_empty(&pd->dmaq)) { in dt3155_stop_streaming()
217 vb = list_first_entry(&pd->dmaq, typeof(*vb), done_entry); in dt3155_stop_streaming()
232 list_add_tail(&vb->done_entry, &pd->dmaq); in dt3155_buf_queue()
273 if (ipd->curr_buf && !list_empty(&ipd->dmaq)) { in dt3155_irq_handler_even()
279 ivb = list_first_entry(&ipd->dmaq, typeof(*ivb), done_entry); in dt3155_irq_handler_even()
536 INIT_LIST_HEAD(&pd->dmaq); in dt3155_probe()
Ddt3155.h187 struct list_head dmaq; member
/drivers/net/ethernet/sfc/
Dsiena_sriov.h77 void efx_siena_sriov_desc_fetch_err(struct efx_nic *efx, unsigned dmaq);
Dsiena_sriov.c1537 void efx_siena_sriov_desc_fetch_err(struct efx_nic *efx, unsigned dmaq) in efx_siena_sriov_desc_fetch_err() argument
1542 if (map_vi_index(efx, dmaq, &vf, &rel)) in efx_siena_sriov_desc_fetch_err()
/drivers/media/usb/em28xx/
Dem28xx-video.c721 struct em28xx_dmaqueue *dmaq = &dev->vidq; in process_frame_data_em25xx() local
741 buf = finish_field_prepare_next(dev, buf, dmaq); in process_frame_data_em25xx()
756 buf = finish_field_prepare_next(dev, buf, dmaq); in process_frame_data_em25xx()