/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 73 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 …]
|
D | cx231xx-video.c | 165 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 …]
|
D | cx231xx-core.c | 782 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 …]
|
D | cx231xx-417.c | 1238 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 …]
|
D | cx231xx-vbi.h | 38 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);
|
D | cx231xx.h | 804 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, 807 struct cx231xx_dmaqueue *dma_q); 808 u8 cx231xx_is_buffer_done(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q); 809 u32 cx231xx_copy_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, 811 u32 cx231xx_get_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
|
/drivers/media/usb/au0828/ |
D | au0828-video.c | 112 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 254 au0828_irq_callback, dma_q, 1); in au0828_init_isoc() 286 struct au0828_dmaqueue *dma_q, in buffer_filled() argument 309 struct au0828_dmaqueue *dma_q, in au0828_copy_video() argument 321 if (dma_q->pos + len > buf->length) in au0828_copy_video() 322 len = buf->length - dma_q->pos; in au0828_copy_video() 333 linesdone = dma_q->pos / bytesperline; in au0828_copy_video() 334 currlinedone = dma_q->pos % bytesperline; in au0828_copy_video() [all …]
|
/drivers/accel/ivpu/ |
D | ivpu_mmu.c | 303 strtab->dma_q = IVPU_MMU_STRTAB_BASE_RA; in ivpu_mmu_strtab_alloc() 304 strtab->dma_q |= strtab->dma & IVPU_MMU_STRTAB_BASE_ADDR_MASK; in ivpu_mmu_strtab_alloc() 307 &strtab->dma, &strtab->dma_q, size); in ivpu_mmu_strtab_alloc() 321 q->dma_q = IVPU_MMU_Q_BASE_RWA; in ivpu_mmu_cmdq_alloc() 322 q->dma_q |= q->dma & IVPU_MMU_Q_BASE_ADDR_MASK; in ivpu_mmu_cmdq_alloc() 323 q->dma_q |= IVPU_MMU_Q_COUNT_LOG2; in ivpu_mmu_cmdq_alloc() 326 &q->dma, &q->dma_q, IVPU_MMU_CMDQ_SIZE); in ivpu_mmu_cmdq_alloc() 340 q->dma_q = IVPU_MMU_Q_BASE_RWA; in ivpu_mmu_evtq_alloc() 341 q->dma_q |= q->dma & IVPU_MMU_Q_BASE_ADDR_MASK; in ivpu_mmu_evtq_alloc() 342 q->dma_q |= IVPU_MMU_Q_COUNT_LOG2; in ivpu_mmu_evtq_alloc() [all …]
|
D | ivpu_mmu.h | 19 u64 dma_q; member 26 u64 dma_q; member
|
/drivers/crypto/intel/qat/qat_common/ |
D | qat_asym_algs.c | 72 dma_addr_t dma_q; member 822 qat_req->in.rsa.dec_crt.q = ctx->dma_q; in qat_rsa_dec() 1048 ctx->q = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_q, GFP_KERNEL); in qat_rsa_setkey_crt() 1102 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_setkey_crt() 1131 dma_free_coherent(dev, half_key_sz, ctx->q, ctx->dma_q); in qat_rsa_clear_ctx()
|
/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 588 struct em28xx_dmaqueue *dma_q) in get_next_buf() argument 592 if (list_empty(&dma_q->active)) { in get_next_buf() 598 buf = list_entry(dma_q->active.next, struct em28xx_buffer, list); in get_next_buf() 613 struct em28xx_dmaqueue *dma_q) in finish_field_prepare_next() argument 620 buf = get_next_buf(dev, dma_q); in finish_field_prepare_next() 640 struct em28xx_dmaqueue *dma_q = &dev->vidq; in process_frame_data_em28xx() local 706 buf = finish_field_prepare_next(dev, buf, dma_q); in process_frame_data_em28xx()
|
D | em28xx-core.c | 999 struct em28xx_dmaqueue *dma_q = &dev->vidq; in em28xx_init_usb_xfer() local 1038 init_waitqueue_head(&dma_q->wq); in em28xx_init_usb_xfer()
|