Home
last modified time | relevance | path

Searched refs:dma_q (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c85 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_vbi_copy() local
110 if (dma_q->is_partial_line) { in cx231xx_isoc_vbi_copy()
113 sav_eav = dma_q->last_sav; in cx231xx_isoc_vbi_copy()
119 dma_q->partial_buf, in cx231xx_isoc_vbi_copy()
127 bytes_parsed += cx231xx_get_vbi_line(dev, dma_q, in cx231xx_isoc_vbi_copy()
134 dma_q->is_partial_line = 0; in cx231xx_isoc_vbi_copy()
149 dma_q, sav_eav, /* SAV/EAV */ in cx231xx_isoc_vbi_copy()
157 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_vbi_copy()
304 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_irq_vbi_callback() local
306 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_irq_vbi_callback()
[all …]
Dcx231xx-video.c178 struct cx231xx_dmaqueue *dma_q, in buffer_filled() argument
237 static inline void get_next_buf(struct cx231xx_dmaqueue *dma_q, in get_next_buf() argument
241 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_buf()
246 if (list_empty(&dma_q->active)) { in get_next_buf()
257 *buf = list_entry(dma_q->active.next, struct cx231xx_buffer, vb.queue); in get_next_buf()
276 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_copy() local
318 if (dma_q->is_partial_line) { in cx231xx_isoc_copy()
320 sav_eav = dma_q->last_sav; in cx231xx_isoc_copy()
326 dma_q->partial_buf, in cx231xx_isoc_copy()
334 bytes_parsed += cx231xx_get_video_line(dev, dma_q, in cx231xx_isoc_copy()
[all …]
Dcx231xx-vbi.h50 u32 cx231xx_get_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
53 u32 cx231xx_copy_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
57 struct cx231xx_dmaqueue *dma_q);
59 int cx231xx_do_vbi_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
63 struct cx231xx_dmaqueue *dma_q);
Dcx231xx-core.c798 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_irq_callback() local
800 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_isoc_irq_callback()
844 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_bulk_irq_callback() local
846 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_bulk_irq_callback()
883 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_isoc() local
921 kfree(dma_q->p_left_data); in cx231xx_uninit_isoc()
926 dma_q->p_left_data = NULL; in cx231xx_uninit_isoc()
942 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_bulk() local
980 kfree(dma_q->p_left_data); in cx231xx_uninit_bulk()
985 dma_q->p_left_data = NULL; in cx231xx_uninit_bulk()
[all …]
Dcx231xx-417.c1275 struct cx231xx_dmaqueue *dma_q) in buffer_copy() argument
1282 if (dma_q->mpeg_buffer_done == 0) { in buffer_copy()
1283 if (list_empty(&dma_q->active)) in buffer_copy()
1286 buf = list_entry(dma_q->active.next, in buffer_copy()
1289 dma_q->mpeg_buffer_done = 1; in buffer_copy()
1295 if ((dma_q->mpeg_buffer_completed+len) < in buffer_copy()
1297 if (dma_q->add_ps_package_head == in buffer_copy()
1299 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy()
1300 dma_q->ps_head, 3); in buffer_copy()
1301 dma_q->mpeg_buffer_completed = in buffer_copy()
[all …]
Dcx231xx.h831 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
834 struct cx231xx_dmaqueue *dma_q);
835 u8 cx231xx_is_buffer_done(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q);
836 u32 cx231xx_copy_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
838 u32 cx231xx_get_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-video.c121 struct au0828_dmaqueue *dma_q = urb->context; in au0828_irq_callback() local
122 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in au0828_irq_callback()
208 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_init_isoc() local
264 au0828_irq_callback, dma_q, 1); in au0828_init_isoc()
296 struct au0828_dmaqueue *dma_q, in buffer_filled() argument
319 struct au0828_dmaqueue *dma_q, in au0828_copy_video() argument
331 if (dma_q->pos + len > buf->length) in au0828_copy_video()
332 len = buf->length - dma_q->pos; in au0828_copy_video()
343 linesdone = dma_q->pos / bytesperline; in au0828_copy_video()
344 currlinedone = dma_q->pos % bytesperline; in au0828_copy_video()
[all …]
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-video.c83 static inline void get_next_buf(struct tm6000_dmaqueue *dma_q, in get_next_buf() argument
86 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
88 if (list_empty(&dma_q->active)) { in get_next_buf()
94 *buf = list_entry(dma_q->active.next, in get_next_buf()
102 struct tm6000_dmaqueue *dma_q, in buffer_filled() argument
121 struct tm6000_dmaqueue *dma_q = urb->context; in copy_streams() local
122 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
133 get_next_buf(dma_q, &vbuf); in copy_streams()
199 buffer_filled(dev, dma_q, vbuf); in copy_streams()
202 get_next_buf(dma_q, &vbuf); in copy_streams()
[all …]
/Linux-v4.19/drivers/media/platform/ti-vpe/
Dcal.c818 struct cal_dmaqueue *dma_q = &ctx->vidq; in cal_schedule_next_buffer() local
822 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_schedule_next_buffer()
849 struct cal_dmaqueue *dma_q; in cal_irq() local
883 dma_q = &ctx->vidq; in cal_irq()
886 if (!list_empty(&dma_q->active) && in cal_irq()
894 dma_q = &ctx->vidq; in cal_irq()
897 if (!list_empty(&dma_q->active) && in cal_irq()
1283 struct cal_dmaqueue *dma_q = &ctx->vidq; in cal_start_streaming() local
1290 if (list_empty(&dma_q->active)) { in cal_start_streaming()
1296 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_start_streaming()
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c116 dma_addr_t dma_q; member
857 qat_req->in.rsa.dec_crt.q = ctx->dma_q; in qat_rsa_dec()
1091 ctx->q = dma_zalloc_coherent(dev, half_key_sz, &ctx->dma_q, GFP_KERNEL); in qat_rsa_setkey_crt()
1145 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_setkey_crt()
1174 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_clear_ctx()
/Linux-v4.19/drivers/media/usb/em28xx/
Dem28xx-video.c605 struct em28xx_dmaqueue *dma_q) in get_next_buf() argument
609 if (list_empty(&dma_q->active)) { in get_next_buf()
615 buf = list_entry(dma_q->active.next, struct em28xx_buffer, list); in get_next_buf()
630 struct em28xx_dmaqueue *dma_q) in finish_field_prepare_next() argument
637 buf = get_next_buf(dev, dma_q); in finish_field_prepare_next()
657 struct em28xx_dmaqueue *dma_q = &dev->vidq; in process_frame_data_em28xx() local
723 buf = finish_field_prepare_next(dev, buf, dma_q); in process_frame_data_em28xx()
Dem28xx-core.c1010 struct em28xx_dmaqueue *dma_q = &dev->vidq; in em28xx_init_usb_xfer() local
1049 init_waitqueue_head(&dma_q->wq); in em28xx_init_usb_xfer()
/Linux-v4.19/drivers/media/usb/zr364xx/
Dzr364xx.c530 struct zr364xx_dmaqueue *dma_q = &cam->vidq; in zr364xx_got_frame() local
535 DBG("wakeup: %p\n", &dma_q); in zr364xx_got_frame()
538 if (list_empty(&dma_q->active)) { in zr364xx_got_frame()
543 buf = list_entry(dma_q->active.next, in zr364xx_got_frame()