Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.c73 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_vbi_copy() local
98 if (dma_q->is_partial_line) { in cx231xx_isoc_vbi_copy()
101 sav_eav = dma_q->last_sav; in cx231xx_isoc_vbi_copy()
107 dma_q->partial_buf, in cx231xx_isoc_vbi_copy()
115 bytes_parsed += cx231xx_get_vbi_line(dev, dma_q, in cx231xx_isoc_vbi_copy()
122 dma_q->is_partial_line = 0; in cx231xx_isoc_vbi_copy()
137 dma_q, sav_eav, /* SAV/EAV */ in cx231xx_isoc_vbi_copy()
145 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_vbi_copy()
259 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_irq_vbi_callback() local
261 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_irq_vbi_callback()
[all …]
H A Dcx231xx-video.c165 struct cx231xx_dmaqueue *dma_q, in buffer_filled() argument
170 buf->vb.sequence = dma_q->sequence++; in buffer_filled()
225 static inline void get_next_buf(struct cx231xx_dmaqueue *dma_q, in get_next_buf() argument
229 container_of(dma_q, struct cx231xx_video_mode, vidq); in get_next_buf()
234 if (list_empty(&dma_q->active)) { in get_next_buf()
245 *buf = list_entry(dma_q->active.next, struct cx231xx_buffer, list); in get_next_buf()
264 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_copy() local
306 if (dma_q->is_partial_line) { in cx231xx_isoc_copy()
308 sav_eav = dma_q->last_sav; in cx231xx_isoc_copy()
314 dma_q->partial_buf, in cx231xx_isoc_copy()
[all …]
H A Dcx231xx-core.c782 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_isoc_irq_callback() local
784 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_isoc_irq_callback()
828 struct cx231xx_dmaqueue *dma_q = urb->context; in cx231xx_bulk_irq_callback() local
830 container_of(dma_q, struct cx231xx_video_mode, vidq); in cx231xx_bulk_irq_callback()
867 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_isoc() local
905 kfree(dma_q->p_left_data); in cx231xx_uninit_isoc()
910 dma_q->p_left_data = NULL; in cx231xx_uninit_isoc()
926 struct cx231xx_dmaqueue *dma_q = &dev->video_mode.vidq; in cx231xx_uninit_bulk() local
964 kfree(dma_q->p_left_data); in cx231xx_uninit_bulk()
969 dma_q->p_left_data = NULL; in cx231xx_uninit_bulk()
[all …]
H A Dcx231xx-417.c1238 struct cx231xx_dmaqueue *dma_q) in buffer_copy() argument
1245 if (dma_q->mpeg_buffer_done == 0) { in buffer_copy()
1246 if (list_empty(&dma_q->active)) in buffer_copy()
1249 buf = list_entry(dma_q->active.next, in buffer_copy()
1252 dma_q->mpeg_buffer_done = 1; in buffer_copy()
1258 if ((dma_q->mpeg_buffer_completed+len) < in buffer_copy()
1260 if (dma_q->add_ps_package_head == in buffer_copy()
1262 memcpy(vbuf+dma_q->mpeg_buffer_completed, in buffer_copy()
1263 dma_q->ps_head, 3); in buffer_copy()
1264 dma_q->mpeg_buffer_completed = in buffer_copy()
[all …]
H A Dcx231xx-vbi.h38 u32 cx231xx_get_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
41 u32 cx231xx_copy_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
45 struct cx231xx_dmaqueue *dma_q);
47 int cx231xx_do_vbi_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
51 struct cx231xx_dmaqueue *dma_q);
H A Dcx231xx.h806 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
809 struct cx231xx_dmaqueue *dma_q);
810 u8 cx231xx_is_buffer_done(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q);
811 u32 cx231xx_copy_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
813 u32 cx231xx_get_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
/OK3568_Linux_fs/kernel/drivers/media/usb/au0828/
H A Dau0828-video.c112 struct au0828_dmaqueue *dma_q = urb->context; in au0828_irq_callback() local
113 struct au0828_dev *dev = container_of(dma_q, struct au0828_dev, vidq); in au0828_irq_callback()
199 struct au0828_dmaqueue *dma_q = &dev->vidq; in au0828_init_isoc() local
255 au0828_irq_callback, dma_q, 1); in au0828_init_isoc()
287 struct au0828_dmaqueue *dma_q, in buffer_filled() argument
310 struct au0828_dmaqueue *dma_q, in au0828_copy_video() argument
322 if (dma_q->pos + len > buf->length) in au0828_copy_video()
323 len = buf->length - dma_q->pos; in au0828_copy_video()
334 linesdone = dma_q->pos / bytesperline; in au0828_copy_video()
335 currlinedone = dma_q->pos % bytesperline; in au0828_copy_video()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/
H A Dtm6000-video.c80 static inline void get_next_buf(struct tm6000_dmaqueue *dma_q, in get_next_buf() argument
83 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in get_next_buf()
85 if (list_empty(&dma_q->active)) { in get_next_buf()
91 *buf = list_entry(dma_q->active.next, in get_next_buf()
99 struct tm6000_dmaqueue *dma_q, in buffer_filled() argument
118 struct tm6000_dmaqueue *dma_q = urb->context; in copy_streams() local
119 struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq); in copy_streams()
130 get_next_buf(dma_q, &vbuf); in copy_streams()
196 buffer_filled(dev, dma_q, vbuf); in copy_streams()
199 get_next_buf(dma_q, &vbuf); in copy_streams()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/
H A Dcal-video.c590 struct cal_dmaqueue *dma_q = &ctx->vidq; in cal_start_streaming() local
597 if (list_empty(&dma_q->active)) { in cal_start_streaming()
603 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_start_streaming()
638 list_for_each_entry_safe(buf, tmp, &dma_q->active, list) { in cal_start_streaming()
649 struct cal_dmaqueue *dma_q = &ctx->vidq; in cal_stop_streaming() local
676 list_for_each_entry_safe(buf, tmp, &dma_q->active, list) { in cal_stop_streaming()
H A Dcal.c302 struct cal_dmaqueue *dma_q = &ctx->vidq; in cal_schedule_next_buffer() local
306 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_schedule_next_buffer()
328 struct cal_dmaqueue *dma_q; in cal_irq() local
388 dma_q = &ctx->vidq; in cal_irq()
392 if (!list_empty(&dma_q->active) && in cal_irq()
/OK3568_Linux_fs/u-boot/drivers/crypto/fsl/
H A Ddesc.h695 dma_addr_t dma_q; /* Pointer to q (elliptic curve) */ member
709 dma_addr_t dma_q; /* Pointer to q (elliptic curve) */ member
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_asym_algs.c71 dma_addr_t dma_q; member
812 qat_req->in.rsa.dec_crt.q = ctx->dma_q; in qat_rsa_dec()
1046 ctx->q = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_q, GFP_KERNEL); in qat_rsa_setkey_crt()
1100 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_setkey_crt()
1129 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_clear_ctx()
/OK3568_Linux_fs/kernel/drivers/media/usb/zr364xx/
H A Dzr364xx.c515 struct zr364xx_dmaqueue *dma_q = &cam->vidq; in zr364xx_got_frame() local
520 DBG("wakeup: %p\n", &dma_q); in zr364xx_got_frame()
523 if (list_empty(&dma_q->active)) { in zr364xx_got_frame()
528 buf = list_entry(dma_q->active.next, in zr364xx_got_frame()
/OK3568_Linux_fs/kernel/drivers/media/usb/em28xx/
H A Dem28xx-video.c598 struct em28xx_dmaqueue *dma_q) in get_next_buf() argument
602 if (list_empty(&dma_q->active)) { in get_next_buf()
608 buf = list_entry(dma_q->active.next, struct em28xx_buffer, list); in get_next_buf()
623 struct em28xx_dmaqueue *dma_q) in finish_field_prepare_next() argument
630 buf = get_next_buf(dev, dma_q); in finish_field_prepare_next()
650 struct em28xx_dmaqueue *dma_q = &dev->vidq; in process_frame_data_em28xx() local
716 buf = finish_field_prepare_next(dev, buf, dma_q); in process_frame_data_em28xx()
H A Dem28xx-core.c1007 struct em28xx_dmaqueue *dma_q = &dev->vidq; in em28xx_init_usb_xfer() local
1046 init_waitqueue_head(&dma_q->wq); in em28xx_init_usb_xfer()