/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf2-dma-sg.c | 102 static void *vb2_dma_sg_alloc(void *alloc_ctx, unsigned long size, in vb2_dma_sg_alloc() argument 105 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_alloc() 114 if (WARN_ON(alloc_ctx == NULL)) in vb2_dma_sg_alloc() 229 static void *vb2_dma_sg_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_dma_sg_get_userptr() argument 233 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_get_userptr() 619 static void *vb2_dma_sg_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_dma_sg_attach_dmabuf() argument 622 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_attach_dmabuf() 689 void vb2_dma_sg_cleanup_ctx(void *alloc_ctx) in vb2_dma_sg_cleanup_ctx() argument 691 if (!IS_ERR_OR_NULL(alloc_ctx)) in vb2_dma_sg_cleanup_ctx() 692 kfree(alloc_ctx); in vb2_dma_sg_cleanup_ctx()
|
D | videobuf2-dma-contig.c | 139 static void *vb2_dc_alloc(void *alloc_ctx, unsigned long size, in vb2_dc_alloc() argument 142 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_alloc() 473 static void *vb2_dc_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_dc_get_userptr() argument 476 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_get_userptr() 671 static void *vb2_dc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_dc_attach_dmabuf() argument 674 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_attach_dmabuf() 738 void vb2_dma_contig_cleanup_ctx(void *alloc_ctx) in vb2_dma_contig_cleanup_ctx() argument 740 if (!IS_ERR_OR_NULL(alloc_ctx)) in vb2_dma_contig_cleanup_ctx() 741 kfree(alloc_ctx); in vb2_dma_contig_cleanup_ctx()
|
D | videobuf2-core.c | 58 mem_priv = call_ptr_memop(vb, alloc, q->alloc_ctx[plane], in __vb2_buf_mem_alloc() 617 memset(q->alloc_ctx, 0, sizeof(q->alloc_ctx)); in vb2_core_reqbufs() 625 q->plane_sizes, q->alloc_ctx); in vb2_core_reqbufs() 651 &num_planes, q->plane_sizes, q->alloc_ctx); in vb2_core_reqbufs() 716 memset(q->alloc_ctx, 0, sizeof(q->alloc_ctx)); in vb2_core_create_bufs() 728 &num_planes, q->plane_sizes, q->alloc_ctx); in vb2_core_create_bufs() 751 &num_planes, q->plane_sizes, q->alloc_ctx); in vb2_core_create_bufs() 992 mem_priv = call_ptr_memop(vb, get_userptr, q->alloc_ctx[plane], in __qbuf_userptr() 1114 q->alloc_ctx[plane], dbuf, planes[plane].length, in __qbuf_dmabuf()
|
D | videobuf2-vmalloc.c | 36 static void *vb2_vmalloc_alloc(void *alloc_ctx, unsigned long size, in vb2_vmalloc_alloc() argument 72 static void *vb2_vmalloc_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_vmalloc_get_userptr() argument 406 static void *vb2_vmalloc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf() argument
|
/linux-4.4.14/include/media/ |
D | videobuf2-core.h | 96 void *(*alloc)(void *alloc_ctx, unsigned long size, 102 void *(*get_userptr)(void *alloc_ctx, unsigned long vaddr, 110 void *(*attach_dmabuf)(void *alloc_ctx, struct dma_buf *dbuf, 473 void *alloc_ctx[VB2_MAX_PLANES]; member
|
D | videobuf2-dma-sg.h | 25 void vb2_dma_sg_cleanup_ctx(void *alloc_ctx);
|
D | videobuf2-dma-contig.h | 28 void vb2_dma_contig_cleanup_ctx(void *alloc_ctx);
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-core.c | 308 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in tw68_initdev() 309 if (IS_ERR(dev->alloc_ctx)) { in tw68_initdev() 310 err = PTR_ERR(dev->alloc_ctx); in tw68_initdev() 346 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in tw68_initdev() 370 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in tw68_finidev()
|
D | tw68.h | 168 void *alloc_ctx; member
|
D | tw68-video.c | 388 alloc_ctxs[0] = dev->alloc_ctx; in tw68_queue_setup()
|
/linux-4.4.14/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 76 struct vb2_alloc_ctx *alloc_ctx; member 191 alloc_ctxs[0] = skel->alloc_ctx; in queue_setup() 857 skel->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in skeleton_probe() 858 if (IS_ERR(skel->alloc_ctx)) { in skeleton_probe() 860 ret = PTR_ERR(skel->alloc_ctx); in skeleton_probe() 896 vb2_dma_contig_cleanup_ctx(skel->alloc_ctx); in skeleton_probe() 912 vb2_dma_contig_cleanup_ctx(skel->alloc_ctx); in skeleton_remove()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-phy-db.h | 77 gfp_t alloc_ctx);
|
D | iwl-phy-db.c | 215 gfp_t alloc_ctx) in iwl_phy_db_set_section() argument 236 entry->data = kmemdup(phy_db_notif->data, size, alloc_ctx); in iwl_phy_db_set_section()
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 326 alloc_ctxs[0] = dma->alloc_ctx; in xvip_dma_queue_setup() 704 dma->alloc_ctx = vb2_dma_contig_init_ctx(dma->xdev->dev); in xvip_dma_init() 705 if (IS_ERR(dma->alloc_ctx)) { in xvip_dma_init() 706 ret = PTR_ERR(dma->alloc_ctx); in xvip_dma_init() 764 if (!IS_ERR_OR_NULL(dma->alloc_ctx)) in xvip_dma_cleanup() 765 vb2_dma_contig_cleanup_ctx(dma->alloc_ctx); in xvip_dma_cleanup()
|
D | xilinx-dma.h | 91 void *alloc_ctx; member
|
/linux-4.4.14/drivers/media/pci/dt3155/ |
D | dt3155.c | 149 alloc_ctxs[0] = pd->alloc_ctx; in dt3155_queue_setup() 552 pd->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in dt3155_probe() 553 if (IS_ERR(pd->alloc_ctx)) { in dt3155_probe() 555 err = PTR_ERR(pd->alloc_ctx); in dt3155_probe() 593 vb2_dma_contig_cleanup_ctx(pd->alloc_ctx); in dt3155_probe() 612 vb2_dma_contig_cleanup_ctx(pd->alloc_ctx); in dt3155_remove()
|
D | dt3155.h | 184 struct vb2_alloc_ctx *alloc_ctx; member
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 323 alloc_ctxs[0] = solo_dev->alloc_ctx; in solo_queue_setup() 688 solo_dev->alloc_ctx = vb2_dma_contig_init_ctx(&solo_dev->pdev->dev); in solo_v4l2_init() 689 if (IS_ERR(solo_dev->alloc_ctx)) { in solo_v4l2_init() 691 return PTR_ERR(solo_dev->alloc_ctx); in solo_v4l2_init() 721 vb2_dma_contig_cleanup_ctx(solo_dev->alloc_ctx); in solo_v4l2_init() 733 vb2_dma_contig_cleanup_ctx(solo_dev->alloc_ctx); in solo_v4l2_exit()
|
D | solo6x10.h | 181 void *alloc_ctx; member 272 struct vb2_alloc_ctx *alloc_ctx; member
|
D | solo6x10-v4l2-enc.c | 674 alloc_ctxs[0] = solo_enc->alloc_ctx; in solo_enc_queue_setup() 1244 solo_enc->alloc_ctx = vb2_dma_sg_init_ctx(&solo_dev->pdev->dev); in solo_enc_alloc() 1245 if (IS_ERR(solo_enc->alloc_ctx)) { in solo_enc_alloc() 1246 ret = PTR_ERR(solo_enc->alloc_ctx); in solo_enc_alloc() 1352 vb2_dma_sg_cleanup_ctx(solo_enc->alloc_ctx); in solo_enc_alloc() 1367 vb2_dma_sg_cleanup_ctx(solo_enc->alloc_ctx); in solo_enc_free()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sur40.c | 154 struct vb2_alloc_ctx *alloc_ctx; member 582 sur40->alloc_ctx = vb2_dma_sg_init_ctx(sur40->dev); in sur40_probe() 583 if (IS_ERR(sur40->alloc_ctx)) { in sur40_probe() 585 error = PTR_ERR(sur40->alloc_ctx); in sur40_probe() 629 vb2_dma_sg_cleanup_ctx(sur40->alloc_ctx); in sur40_disconnect() 662 alloc_ctxs[0] = sur40->alloc_ctx; in sur40_queue_setup()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-is.c | 208 is->isp.alloc_ctx = is->alloc_ctx; in fimc_is_register_subdevs() 844 is->alloc_ctx = vb2_dma_contig_init_ctx(dev); in fimc_is_probe() 845 if (IS_ERR(is->alloc_ctx)) { in fimc_is_probe() 846 ret = PTR_ERR(is->alloc_ctx); in fimc_is_probe() 875 vb2_dma_contig_cleanup_ctx(is->alloc_ctx); in fimc_is_probe() 936 vb2_dma_contig_cleanup_ctx(is->alloc_ctx); in fimc_is_remove()
|
D | fimc-isp.h | 164 struct vb2_alloc_ctx *alloc_ctx; member
|
D | fimc-lite.h | 151 struct vb2_alloc_ctx *alloc_ctx; member
|
D | fimc-core.h | 310 struct vb2_alloc_ctx *alloc_ctx; member 439 struct vb2_alloc_ctx *alloc_ctx; member
|
D | fimc-is.h | 259 struct vb2_alloc_ctx *alloc_ctx; member
|
D | fimc-core.c | 1022 fimc->alloc_ctx = vb2_dma_contig_init_ctx(dev); in fimc_probe() 1023 if (IS_ERR(fimc->alloc_ctx)) { in fimc_probe() 1024 ret = PTR_ERR(fimc->alloc_ctx); in fimc_probe() 1126 vb2_dma_contig_cleanup_ctx(fimc->alloc_ctx); in fimc_remove()
|
D | fimc-lite.c | 389 allocators[i] = fimc->alloc_ctx; in queue_setup() 1567 fimc->alloc_ctx = vb2_dma_contig_init_ctx(dev); in fimc_lite_probe() 1568 if (IS_ERR(fimc->alloc_ctx)) { in fimc_lite_probe() 1569 ret = PTR_ERR(fimc->alloc_ctx); in fimc_lite_probe() 1667 vb2_dma_contig_cleanup_ctx(fimc->alloc_ctx); in fimc_lite_remove()
|
D | fimc-isp-video.c | 75 allocators[i] = isp->alloc_ctx; in isp_video_capture_queue_setup()
|
D | fimc-m2m.c | 200 allocators[i] = ctx->fimc_dev->alloc_ctx; in fimc_queue_setup()
|
D | fimc-capture.c | 376 allocators[i] = ctx->fimc_dev->alloc_ctx; in queue_setup()
|
/linux-4.4.14/drivers/media/platform/ |
D | mx2_emmaprp.c | 214 struct vb2_alloc_ctx *alloc_ctx; member 714 alloc_ctxs[0] = ctx->dev->alloc_ctx; in emmaprp_queue_setup() 952 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in emmaprp_probe() 953 if (IS_ERR(pcdev->alloc_ctx)) { in emmaprp_probe() 955 ret = PTR_ERR(pcdev->alloc_ctx); in emmaprp_probe() 978 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in emmaprp_probe() 997 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in emmaprp_remove()
|
D | m2m-deinterlace.c | 139 struct vb2_alloc_ctx *alloc_ctx; member 824 alloc_ctxs[0] = ctx->dev->alloc_ctx; in deinterlace_queue_setup() 1050 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in deinterlace_probe() 1051 if (IS_ERR(pcdev->alloc_ctx)) { in deinterlace_probe() 1053 ret = PTR_ERR(pcdev->alloc_ctx); in deinterlace_probe() 1069 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in deinterlace_probe() 1086 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in deinterlace_remove()
|
D | sh_veu.c | 121 struct vb2_alloc_ctx *alloc_ctx; member 905 alloc_ctxs[0] = veu->alloc_ctx; in sh_veu_queue_setup() 1164 veu->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in sh_veu_probe() 1165 if (IS_ERR(veu->alloc_ctx)) { in sh_veu_probe() 1166 ret = PTR_ERR(veu->alloc_ctx); in sh_veu_probe() 1203 vb2_dma_contig_cleanup_ctx(veu->alloc_ctx); in sh_veu_probe() 1218 vb2_dma_contig_cleanup_ctx(veu->alloc_ctx); in sh_veu_remove()
|
D | sh_vou.c | 89 struct vb2_alloc_ctx *alloc_ctx; member 261 alloc_ctxs[0] = vou_dev->alloc_ctx; in sh_vou_queue_setup() 1312 vou_dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in sh_vou_probe() 1313 if (IS_ERR(vou_dev->alloc_ctx)) { in sh_vou_probe() 1315 ret = PTR_ERR(vou_dev->alloc_ctx); in sh_vou_probe() 1352 vb2_dma_contig_cleanup_ctx(vou_dev->alloc_ctx); in sh_vou_probe() 1371 vb2_dma_contig_cleanup_ctx(vou_dev->alloc_ctx); in sh_vou_remove()
|
D | rcar_jpu.c | 223 void *alloc_ctx; member 1040 alloc_ctxs[i] = ctx->jpu->alloc_ctx; in jpu_queue_setup() 1676 jpu->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in jpu_probe() 1677 if (IS_ERR(jpu->alloc_ctx)) { in jpu_probe() 1679 ret = PTR_ERR(jpu->alloc_ctx); in jpu_probe() 1733 vb2_dma_contig_cleanup_ctx(jpu->alloc_ctx); in jpu_probe() 1750 vb2_dma_contig_cleanup_ctx(jpu->alloc_ctx); in jpu_remove()
|
/linux-4.4.14/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 95 struct vb2_alloc_ctx *alloc_ctx; member 220 alloc_ctxs[0] = bcap_dev->alloc_ctx; in bcap_queue_setup() 825 bcap_dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in bcap_probe() 826 if (IS_ERR(bcap_dev->alloc_ctx)) { in bcap_probe() 827 ret = PTR_ERR(bcap_dev->alloc_ctx); in bcap_probe() 973 vb2_dma_contig_cleanup_ctx(bcap_dev->alloc_ctx); in bcap_probe() 991 vb2_dma_contig_cleanup_ctx(bcap_dev->alloc_ctx); in bcap_remove()
|
/linux-4.4.14/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 116 alloc_ctxs[0] = ctx->dev->alloc_ctx; in g2d_queue_setup() 684 dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in g2d_probe() 685 if (IS_ERR(dev->alloc_ctx)) { in g2d_probe() 686 ret = PTR_ERR(dev->alloc_ctx); in g2d_probe() 742 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in g2d_probe() 763 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in g2d_remove()
|
D | g2d.h | 28 struct vb2_alloc_ctx *alloc_ctx; member
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 694 cobalt->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cobalt_probe() 695 if (IS_ERR(cobalt->alloc_ctx)) { in cobalt_probe() 704 vb2_dma_sg_cleanup_ctx(cobalt->alloc_ctx); in cobalt_probe() 785 vb2_dma_sg_cleanup_ctx(cobalt->alloc_ctx); in cobalt_probe() 821 vb2_dma_sg_cleanup_ctx(cobalt->alloc_ctx); in cobalt_remove()
|
D | cobalt-driver.h | 265 void *alloc_ctx; member
|
D | cobalt-v4l2.c | 65 alloc_ctxs[0] = s->cobalt->alloc_ctx; in cobalt_queue_setup()
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 1146 dev->alloc_ctx[0] = vb2_dma_contig_init_ctx(dev->mem_dev_l); in s5p_mfc_probe() 1147 if (IS_ERR(dev->alloc_ctx[0])) { in s5p_mfc_probe() 1148 ret = PTR_ERR(dev->alloc_ctx[0]); in s5p_mfc_probe() 1151 dev->alloc_ctx[1] = vb2_dma_contig_init_ctx(dev->mem_dev_r); in s5p_mfc_probe() 1152 if (IS_ERR(dev->alloc_ctx[1])) { in s5p_mfc_probe() 1153 ret = PTR_ERR(dev->alloc_ctx[1]); in s5p_mfc_probe() 1247 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[1]); in s5p_mfc_probe() 1249 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[0]); in s5p_mfc_probe() 1273 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[0]); in s5p_mfc_remove() 1274 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[1]); in s5p_mfc_remove()
|
D | s5p_mfc_dec.c | 935 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 938 ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; in s5p_mfc_queue_setup() 939 allocators[1] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 943 allocators[0] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup()
|
D | s5p_mfc_enc.c | 1843 allocators[0] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1860 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1862 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1865 ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; in s5p_mfc_queue_setup() 1867 ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; in s5p_mfc_queue_setup()
|
D | s5p_mfc_common.h | 331 void *alloc_ctx[2]; member
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-core.c | 480 camif->alloc_ctx = vb2_dma_contig_init_ctx(dev); in s3c_camif_probe() 481 if (IS_ERR(camif->alloc_ctx)) { in s3c_camif_probe() 482 ret = PTR_ERR(camif->alloc_ctx); in s3c_camif_probe() 523 vb2_dma_contig_cleanup_ctx(camif->alloc_ctx); in s3c_camif_probe()
|
D | camif-core.h | 294 struct vb2_alloc_ctx *alloc_ctx; member
|
D | camif-capture.c | 469 allocators[0] = camif->alloc_ctx; in queue_setup()
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | vpif_capture.h | 69 struct vb2_alloc_ctx *alloc_ctx; member
|
D | vpif_display.h | 78 struct vb2_alloc_ctx *alloc_ctx; member
|
D | vpif_display.c | 128 alloc_ctxs[0] = common->alloc_ctx; in vpif_buffer_queue_setup() 1199 common->alloc_ctx = vb2_dma_contig_init_ctx(vpif_dev); in vpif_probe_complete() 1200 if (IS_ERR(common->alloc_ctx)) { in vpif_probe_complete() 1202 err = PTR_ERR(common->alloc_ctx); in vpif_probe_complete() 1235 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_probe_complete() 1357 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_remove()
|
D | vpbe_display.c | 252 alloc_ctxs[0] = layer->alloc_ctx; in vpbe_buffer_queue_setup() 1461 disp_dev->dev[i]->alloc_ctx = in vpbe_display_probe() 1463 if (IS_ERR(disp_dev->dev[i]->alloc_ctx)) { in vpbe_display_probe() 1465 err = PTR_ERR(disp_dev->dev[i]->alloc_ctx); in vpbe_display_probe() 1486 vb2_dma_contig_cleanup_ctx(disp_dev->dev[k]->alloc_ctx); in vpbe_display_probe() 1514 vb2_dma_contig_cleanup_ctx(vpbe_display_layer->alloc_ctx); in vpbe_display_remove()
|
D | vpif_capture.c | 137 alloc_ctxs[0] = common->alloc_ctx; in vpif_buffer_queue_setup() 1382 common->alloc_ctx = vb2_dma_contig_init_ctx(vpif_dev); in vpif_probe_complete() 1383 if (IS_ERR(common->alloc_ctx)) { in vpif_probe_complete() 1385 err = PTR_ERR(common->alloc_ctx); in vpif_probe_complete() 1416 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_probe_complete() 1550 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_remove()
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | atmel-isi.c | 75 struct vb2_alloc_ctx *alloc_ctx; member 267 alloc_ctxs[0] = isi->alloc_ctx; in queue_setup() 884 vb2_dma_contig_cleanup_ctx(isi->alloc_ctx); in atmel_isi_remove() 988 isi->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in atmel_isi_probe() 989 if (IS_ERR(isi->alloc_ctx)) { in atmel_isi_probe() 990 ret = PTR_ERR(isi->alloc_ctx); in atmel_isi_probe() 1040 vb2_dma_contig_cleanup_ctx(isi->alloc_ctx); in atmel_isi_probe()
|
D | mx3_camera.c | 111 struct vb2_alloc_ctx *alloc_ctx; member 227 alloc_ctxs[0] = mx3_cam->alloc_ctx; in mx3_videobuf_setup() 1229 mx3_cam->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in mx3_camera_probe() 1230 if (IS_ERR(mx3_cam->alloc_ctx)) in mx3_camera_probe() 1231 return PTR_ERR(mx3_cam->alloc_ctx); in mx3_camera_probe() 1248 vb2_dma_contig_cleanup_ctx(mx3_cam->alloc_ctx); in mx3_camera_probe() 1267 vb2_dma_contig_cleanup_ctx(mx3_cam->alloc_ctx); in mx3_camera_remove()
|
D | rcar_vin.c | 482 struct vb2_alloc_ctx *alloc_ctx; member 570 alloc_ctxs[0] = priv->alloc_ctx; in rcar_vin_videobuf_setup() 1936 priv->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in rcar_vin_probe() 1937 if (IS_ERR(priv->alloc_ctx)) in rcar_vin_probe() 1938 return PTR_ERR(priv->alloc_ctx); in rcar_vin_probe() 1970 vb2_dma_contig_cleanup_ctx(priv->alloc_ctx); in rcar_vin_probe() 1983 vb2_dma_contig_cleanup_ctx(priv->alloc_ctx); in rcar_vin_remove()
|
D | mx2_camera.c | 269 struct vb2_alloc_ctx *alloc_ctx; member 487 alloc_ctxs[0] = pcdev->alloc_ctx; in mx2_videobuf_setup() 1588 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in mx2_camera_probe() 1589 if (IS_ERR(pcdev->alloc_ctx)) { in mx2_camera_probe() 1590 err = PTR_ERR(pcdev->alloc_ctx); in mx2_camera_probe() 1603 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in mx2_camera_probe() 1619 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in mx2_camera_remove()
|
D | sh_mobile_ceu_camera.c | 116 struct vb2_alloc_ctx *alloc_ctx; member 250 alloc_ctxs[0] = pcdev->alloc_ctx; in sh_mobile_ceu_videobuf_setup() 1852 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in sh_mobile_ceu_probe() 1853 if (IS_ERR(pcdev->alloc_ctx)) { in sh_mobile_ceu_probe() 1854 err = PTR_ERR(pcdev->alloc_ctx); in sh_mobile_ceu_probe() 1986 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in sh_mobile_ceu_probe() 2006 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in sh_mobile_ceu_remove()
|
/linux-4.4.14/include/media/davinci/ |
D | vpbe_display.h | 85 struct vb2_alloc_ctx *alloc_ctx; member
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-mpeg.c | 729 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx8802_probe() 730 if (IS_ERR(dev->alloc_ctx)) { in cx8802_probe() 731 err = PTR_ERR(dev->alloc_ctx); in cx8802_probe() 753 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8802_probe() 801 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8802_remove()
|
D | cx88-video.c | 441 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup() 1322 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx8800_initdev() 1323 if (IS_ERR(dev->alloc_ctx)) { in cx8800_initdev() 1324 err = PTR_ERR(dev->alloc_ctx); in cx8800_initdev() 1533 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8800_initdev() 1567 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8800_finidev()
|
D | cx88.h | 488 void *alloc_ctx; member 552 void *alloc_ctx; member
|
D | cx88-vbi.c | 121 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx88-blackbird.c | 650 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx88-dvb.c | 95 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.h | 126 struct vb2_alloc_ctx *alloc_ctx; member
|
D | vpfe_video.c | 527 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vpfe_release() 1098 alloc_ctxs[0] = video->alloc_ctx; in vpfe_buffer_queue_setup() 1333 video->alloc_ctx = vb2_dma_contig_init_ctx(vpfe_dev->pdev); in vpfe_reqbufs() 1334 if (IS_ERR(video->alloc_ctx)) { in vpfe_reqbufs() 1336 return PTR_ERR(video->alloc_ctx); in vpfe_reqbufs()
|
/linux-4.4.14/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 144 struct vb2_alloc_ctx *alloc_ctx; member 279 alloc_ctxs[0] = vip->alloc_ctx; in queue_setup() 879 vip->alloc_ctx = vb2_dma_contig_init_ctx(&vip->pdev->dev); in sta2x11_vip_init_buffer() 880 if (IS_ERR(vip->alloc_ctx)) { in sta2x11_vip_init_buffer() 882 return PTR_ERR(vip->alloc_ctx); in sta2x11_vip_init_buffer() 889 vb2_dma_contig_cleanup_ctx(vip->alloc_ctx); in sta2x11_vip_release_buffer()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 132 void *alloc_ctx; member
|
D | vsp1_video.c | 816 alloc_ctxs[i] = video->alloc_ctx; in vsp1_video_queue_setup() 1256 video->alloc_ctx = vb2_dma_contig_init_ctx(video->vsp1->dev); in vsp1_video_init() 1257 if (IS_ERR(video->alloc_ctx)) { in vsp1_video_init() 1258 ret = PTR_ERR(video->alloc_ctx); in vsp1_video_init() 1287 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vsp1_video_init() 1297 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vsp1_video_cleanup()
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp.h | 196 struct vb2_alloc_ctx *alloc_ctx; member
|
D | bdisp-v4l2.c | 464 allocators[0] = ctx->bdisp_dev->alloc_ctx; in bdisp_queue_setup() 1274 vb2_dma_contig_cleanup_ctx(bdisp->alloc_ctx); in bdisp_remove() 1377 bdisp->alloc_ctx = vb2_dma_contig_init_ctx(dev); in bdisp_probe() 1378 if (IS_ERR(bdisp->alloc_ctx)) { in bdisp_probe() 1379 ret = PTR_ERR(bdisp->alloc_ctx); in bdisp_probe() 1407 vb2_dma_contig_cleanup_ctx(bdisp->alloc_ctx); in bdisp_probe()
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.h | 133 void *alloc_ctx; member
|
D | jpeg-core.c | 2456 alloc_ctxs[0] = ctx->jpeg->alloc_ctx; in s5p_jpeg_queue_setup() 2842 jpeg->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in s5p_jpeg_probe() 2843 if (IS_ERR(jpeg->alloc_ctx)) { in s5p_jpeg_probe() 2845 ret = PTR_ERR(jpeg->alloc_ctx); in s5p_jpeg_probe() 2920 vb2_dma_contig_cleanup_ctx(jpeg->alloc_ctx); in s5p_jpeg_probe() 2940 vb2_dma_contig_cleanup_ctx(jpeg->alloc_ctx); in s5p_jpeg_remove()
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 83 mdev->alloc_ctx = vb2_dma_contig_init_ctx(mdev->dev); in mxr_acquire_video() 84 if (IS_ERR(mdev->alloc_ctx)) { in mxr_acquire_video() 86 ret = PTR_ERR(mdev->alloc_ctx); in mxr_acquire_video() 136 vb2_dma_contig_cleanup_ctx(mdev->alloc_ctx); in mxr_acquire_video() 154 vb2_dma_contig_cleanup_ctx(mdev->alloc_ctx); in mxr_release_video() 904 alloc_ctxs[i] = layer->mdev->alloc_ctx; in queue_setup()
|
D | mixer.h | 249 void *alloc_ctx; member
|
/linux-4.4.14/drivers/staging/media/omap4iss/ |
D | iss_video.h | 173 struct vb2_alloc_ctx *alloc_ctx; member
|
D | iss_video.c | 304 alloc_ctxs[0] = video->alloc_ctx; in iss_video_queue_setup() 994 video->alloc_ctx = vb2_dma_contig_init_ctx(video->iss->dev); in iss_video_open() 995 if (IS_ERR(video->alloc_ctx)) { in iss_video_open() 996 ret = PTR_ERR(video->alloc_ctx); in iss_video_open()
|
/linux-4.4.14/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 268 struct vb2_alloc_ctx *alloc_ctx; member
|
D | am437x-vpfe.c | 1926 alloc_ctxs[0] = vpfe->alloc_ctx; in vpfe_queue_setup() 2366 vpfe->alloc_ctx = vb2_dma_contig_init_ctx(vpfe->pdev); in vpfe_probe_complete() 2367 if (IS_ERR(vpfe->alloc_ctx)) { in vpfe_probe_complete() 2369 err = PTR_ERR(vpfe->alloc_ctx); in vpfe_probe_complete() 2387 vb2_dma_contig_cleanup_ctx(vpfe->alloc_ctx); in vpfe_probe_complete()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispvideo.h | 174 void *alloc_ctx; member
|
D | ispvideo.c | 336 alloc_ctxs[0] = video->alloc_ctx; in isp_video_queue_setup() 1367 video->alloc_ctx = vb2_dma_contig_init_ctx(video->isp->dev); in omap3isp_video_init() 1368 if (IS_ERR(video->alloc_ctx)) in omap3isp_video_init() 1369 return PTR_ERR(video->alloc_ctx); in omap3isp_video_init() 1373 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in omap3isp_video_init() 1404 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in omap3isp_video_cleanup()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 1007 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in saa7134_initdev() 1008 if (IS_ERR(dev->alloc_ctx)) { in saa7134_initdev() 1009 err = PTR_ERR(dev->alloc_ctx); in saa7134_initdev() 1119 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in saa7134_initdev() 1186 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in saa7134_finidev()
|
D | saa7134-vbi.c | 158 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | saa7134-ts.c | 134 alloc_ctxs[0] = dev->alloc_ctx; in saa7134_ts_queue_setup()
|
D | saa7134.h | 595 void *alloc_ctx; member
|
D | saa7134-video.c | 926 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpe.c | 365 struct vb2_alloc_ctx *alloc_ctx; member 1813 alloc_ctxs[i] = ctx->dev->alloc_ctx; in vpe_queue_setup() 2165 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in vpe_fw_cb() 2217 dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in vpe_probe() 2218 if (IS_ERR(dev->alloc_ctx)) { in vpe_probe() 2220 ret = PTR_ERR(dev->alloc_ctx); in vpe_probe() 2274 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in vpe_probe() 2290 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in vpe_remove()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 1304 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx25821_initdev() 1305 if (IS_ERR(dev->alloc_ctx)) { in cx25821_initdev() 1306 err = PTR_ERR(dev->alloc_ctx); in cx25821_initdev() 1344 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx25821_initdev() 1368 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx25821_finidev()
|
D | cx25821.h | 252 void *alloc_ctx; member
|
D | cx25821-video.c | 157 alloc_ctxs[0] = chan->dev->alloc_ctx; in cx25821_queue_setup()
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 1143 gsc->alloc_ctx = vb2_dma_contig_init_ctx(dev); in gsc_probe() 1144 if (IS_ERR(gsc->alloc_ctx)) { in gsc_probe() 1145 ret = PTR_ERR(gsc->alloc_ctx); in gsc_probe() 1171 vb2_dma_contig_cleanup_ctx(gsc->alloc_ctx); in gsc_remove()
|
D | gsc-core.h | 345 struct vb2_alloc_ctx *alloc_ctx; member
|
D | gsc-m2m.c | 233 allocators[i] = ctx->gsc_dev->alloc_ctx; in gsc_m2m_queue_setup()
|
/linux-4.4.14/drivers/media/platform/coda/ |
D | coda.h | 94 struct vb2_alloc_ctx *alloc_ctx; member
|
D | coda-common.c | 1149 alloc_ctxs[0] = ctx->dev->alloc_ctx; in coda_queue_setup() 1985 dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in coda_fw_callback() 1986 if (IS_ERR(dev->alloc_ctx)) { in coda_fw_callback() 2018 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in coda_fw_callback() 2268 if (dev->alloc_ctx) in coda_remove() 2269 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in coda_remove()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 135 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx23885-core.c | 2001 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx23885_initdev() 2002 if (IS_ERR(dev->alloc_ctx)) { in cx23885_initdev() 2003 err = PTR_ERR(dev->alloc_ctx); in cx23885_initdev() 2034 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx23885_initdev() 2061 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx23885_finidev()
|
D | cx23885.h | 431 void *alloc_ctx; member
|
D | cx23885-video.c | 326 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx23885-417.c | 1151 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx23885-dvb.c | 105 alloc_ctxs[0] = port->dev->alloc_ctx; in queue_setup()
|