/linux-4.1.27/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() 232 static void *vb2_dma_sg_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_dma_sg_get_userptr() argument 236 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_get_userptr() 675 static void *vb2_dma_sg_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_dma_sg_attach_dmabuf() argument 678 struct vb2_dma_sg_conf *conf = alloc_ctx; in vb2_dma_sg_attach_dmabuf() 745 void vb2_dma_sg_cleanup_ctx(void *alloc_ctx) in vb2_dma_sg_cleanup_ctx() argument 747 if (!IS_ERR_OR_NULL(alloc_ctx)) in vb2_dma_sg_cleanup_ctx() 748 kfree(alloc_ctx); in vb2_dma_sg_cleanup_ctx()
|
D | videobuf2-dma-contig.c | 158 static void *vb2_dc_alloc(void *alloc_ctx, unsigned long size, in vb2_dc_alloc() argument 161 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_alloc() 570 static void *vb2_dc_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_dc_get_userptr() argument 573 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_get_userptr() 809 static void *vb2_dc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_dc_attach_dmabuf() argument 812 struct vb2_dc_conf *conf = alloc_ctx; in vb2_dc_attach_dmabuf() 876 void vb2_dma_contig_cleanup_ctx(void *alloc_ctx) in vb2_dma_contig_cleanup_ctx() argument 878 if (!IS_ERR_OR_NULL(alloc_ctx)) in vb2_dma_contig_cleanup_ctx() 879 kfree(alloc_ctx); in vb2_dma_contig_cleanup_ctx()
|
D | videobuf2-vmalloc.c | 38 static void *vb2_vmalloc_alloc(void *alloc_ctx, unsigned long size, in vb2_vmalloc_alloc() argument 74 static void *vb2_vmalloc_get_userptr(void *alloc_ctx, unsigned long vaddr, in vb2_vmalloc_get_userptr() argument 424 static void *vb2_vmalloc_attach_dmabuf(void *alloc_ctx, struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf() argument
|
D | videobuf2-core.c | 204 mem_priv = call_ptr_memop(vb, alloc, q->alloc_ctx[plane], in __vb2_buf_mem_alloc() 919 memset(q->alloc_ctx, 0, sizeof(q->alloc_ctx)); in __reqbufs() 927 q->plane_sizes, q->alloc_ctx); in __reqbufs() 952 &num_planes, q->plane_sizes, q->alloc_ctx); in __reqbufs() 1028 memset(q->alloc_ctx, 0, sizeof(q->alloc_ctx)); in __create_bufs() 1040 &num_planes, q->plane_sizes, q->alloc_ctx); in __create_bufs() 1063 &num_planes, q->plane_sizes, q->alloc_ctx); in __create_bufs() 1444 mem_priv = call_ptr_memop(vb, get_userptr, q->alloc_ctx[plane], in __qbuf_userptr() 1555 mem_priv = call_ptr_memop(vb, attach_dmabuf, q->alloc_ctx[plane], in __qbuf_dmabuf()
|
/linux-4.1.27/drivers/media/pci/tw68/ |
D | tw68-core.c | 307 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in tw68_initdev() 308 if (IS_ERR(dev->alloc_ctx)) { in tw68_initdev() 309 err = PTR_ERR(dev->alloc_ctx); in tw68_initdev() 345 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in tw68_initdev() 369 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in tw68_finidev()
|
D | tw68.h | 183 void *alloc_ctx; member
|
D | tw68-video.c | 387 alloc_ctxs[0] = dev->alloc_ctx; in tw68_queue_setup()
|
/linux-4.1.27/Documentation/video4linux/ |
D | v4l2-pci-skeleton.c | 75 struct vb2_alloc_ctx *alloc_ctx; member 189 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.1.27/include/media/ |
D | videobuf2-core.h | 85 void *(*alloc)(void *alloc_ctx, unsigned long size, 91 void *(*get_userptr)(void *alloc_ctx, unsigned long vaddr, 99 void *(*attach_dmabuf)(void *alloc_ctx, struct dma_buf *dbuf, 419 void *alloc_ctx[VIDEO_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.1.27/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.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 321 alloc_ctxs[0] = solo_dev->alloc_ctx; in solo_queue_setup() 685 solo_dev->alloc_ctx = vb2_dma_contig_init_ctx(&solo_dev->pdev->dev); in solo_v4l2_init() 686 if (IS_ERR(solo_dev->alloc_ctx)) { in solo_v4l2_init() 688 return PTR_ERR(solo_dev->alloc_ctx); in solo_v4l2_init() 718 vb2_dma_contig_cleanup_ctx(solo_dev->alloc_ctx); in solo_v4l2_init() 730 vb2_dma_contig_cleanup_ctx(solo_dev->alloc_ctx); in solo_v4l2_exit()
|
D | solo6x10.h | 181 void *alloc_ctx; member 273 struct vb2_alloc_ctx *alloc_ctx; member
|
D | solo6x10-v4l2-enc.c | 670 alloc_ctxs[0] = solo_enc->alloc_ctx; in solo_enc_queue_setup() 1238 solo_enc->alloc_ctx = vb2_dma_sg_init_ctx(&solo_dev->pdev->dev); in solo_enc_alloc() 1239 if (IS_ERR(solo_enc->alloc_ctx)) { in solo_enc_alloc() 1240 ret = PTR_ERR(solo_enc->alloc_ctx); in solo_enc_alloc() 1346 vb2_dma_sg_cleanup_ctx(solo_enc->alloc_ctx); in solo_enc_alloc() 1361 vb2_dma_sg_cleanup_ctx(solo_enc->alloc_ctx); in solo_enc_free()
|
/linux-4.1.27/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-lite.h | 151 struct vb2_alloc_ctx *alloc_ctx; member
|
D | fimc-isp.h | 164 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 | 393 allocators[i] = fimc->alloc_ctx; in queue_setup() 1570 fimc->alloc_ctx = vb2_dma_contig_init_ctx(dev); in fimc_lite_probe() 1571 if (IS_ERR(fimc->alloc_ctx)) { in fimc_lite_probe() 1572 ret = PTR_ERR(fimc->alloc_ctx); in fimc_lite_probe() 1670 vb2_dma_contig_cleanup_ctx(fimc->alloc_ctx); in fimc_lite_remove()
|
D | fimc-isp-video.c | 74 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 | 381 allocators[i] = ctx->fimc_dev->alloc_ctx; in queue_setup()
|
/linux-4.1.27/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() 951 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in emmaprp_probe() 952 if (IS_ERR(pcdev->alloc_ctx)) { in emmaprp_probe() 954 ret = PTR_ERR(pcdev->alloc_ctx); in emmaprp_probe() 977 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in emmaprp_probe() 996 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in emmaprp_remove()
|
D | sh_veu.c | 121 struct vb2_alloc_ctx *alloc_ctx; member 904 alloc_ctxs[0] = veu->alloc_ctx; in sh_veu_queue_setup() 1154 veu->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in sh_veu_probe() 1155 if (IS_ERR(veu->alloc_ctx)) { in sh_veu_probe() 1156 ret = PTR_ERR(veu->alloc_ctx); in sh_veu_probe() 1193 vb2_dma_contig_cleanup_ctx(veu->alloc_ctx); in sh_veu_probe() 1208 vb2_dma_contig_cleanup_ctx(veu->alloc_ctx); in sh_veu_remove()
|
D | m2m-deinterlace.c | 139 struct vb2_alloc_ctx *alloc_ctx; member 823 alloc_ctxs[0] = ctx->dev->alloc_ctx; in deinterlace_queue_setup() 1047 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in deinterlace_probe() 1048 if (IS_ERR(pcdev->alloc_ctx)) { in deinterlace_probe() 1050 ret = PTR_ERR(pcdev->alloc_ctx); in deinterlace_probe() 1067 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in deinterlace_probe() 1084 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in deinterlace_remove()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 1139 dev->alloc_ctx[0] = vb2_dma_contig_init_ctx(dev->mem_dev_l); in s5p_mfc_probe() 1140 if (IS_ERR(dev->alloc_ctx[0])) { in s5p_mfc_probe() 1141 ret = PTR_ERR(dev->alloc_ctx[0]); in s5p_mfc_probe() 1144 dev->alloc_ctx[1] = vb2_dma_contig_init_ctx(dev->mem_dev_r); in s5p_mfc_probe() 1145 if (IS_ERR(dev->alloc_ctx[1])) { in s5p_mfc_probe() 1146 ret = PTR_ERR(dev->alloc_ctx[1]); in s5p_mfc_probe() 1240 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[1]); in s5p_mfc_probe() 1242 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[0]); in s5p_mfc_probe() 1266 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[0]); in s5p_mfc_remove() 1267 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx[1]); in s5p_mfc_remove() [all …]
|
D | s5p_mfc_dec.c | 930 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 933 ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; in s5p_mfc_queue_setup() 934 allocators[1] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 938 allocators[0] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup()
|
D | s5p_mfc_enc.c | 1836 allocators[0] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1853 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1855 ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX]; in s5p_mfc_queue_setup() 1858 ctx->dev->alloc_ctx[MFC_BANK2_ALLOC_CTX]; in s5p_mfc_queue_setup() 1860 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.1.27/drivers/media/platform/soc_camera/ |
D | atmel-isi.c | 74 struct vb2_alloc_ctx *alloc_ctx; member 259 alloc_ctxs[0] = isi->alloc_ctx; in queue_setup() 877 vb2_dma_contig_cleanup_ctx(isi->alloc_ctx); in atmel_isi_remove() 1002 isi->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in atmel_isi_probe() 1003 if (IS_ERR(isi->alloc_ctx)) { in atmel_isi_probe() 1004 ret = PTR_ERR(isi->alloc_ctx); in atmel_isi_probe() 1057 vb2_dma_contig_cleanup_ctx(isi->alloc_ctx); in atmel_isi_probe()
|
D | mx3_camera.c | 111 struct vb2_alloc_ctx *alloc_ctx; member 226 alloc_ctxs[0] = mx3_cam->alloc_ctx; in mx3_videobuf_setup() 1212 mx3_cam->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in mx3_camera_probe() 1213 if (IS_ERR(mx3_cam->alloc_ctx)) in mx3_camera_probe() 1214 return PTR_ERR(mx3_cam->alloc_ctx); in mx3_camera_probe() 1231 vb2_dma_contig_cleanup_ctx(mx3_cam->alloc_ctx); in mx3_camera_probe() 1250 vb2_dma_contig_cleanup_ctx(mx3_cam->alloc_ctx); in mx3_camera_remove()
|
D | rcar_vin.c | 481 struct vb2_alloc_ctx *alloc_ctx; member 565 alloc_ctxs[0] = priv->alloc_ctx; in rcar_vin_videobuf_setup() 1905 priv->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in rcar_vin_probe() 1906 if (IS_ERR(priv->alloc_ctx)) in rcar_vin_probe() 1907 return PTR_ERR(priv->alloc_ctx); in rcar_vin_probe() 1939 vb2_dma_contig_cleanup_ctx(priv->alloc_ctx); in rcar_vin_probe() 1952 vb2_dma_contig_cleanup_ctx(priv->alloc_ctx); in rcar_vin_remove()
|
D | mx2_camera.c | 269 struct vb2_alloc_ctx *alloc_ctx; member 486 alloc_ctxs[0] = pcdev->alloc_ctx; in mx2_videobuf_setup() 1571 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in mx2_camera_probe() 1572 if (IS_ERR(pcdev->alloc_ctx)) { in mx2_camera_probe() 1573 err = PTR_ERR(pcdev->alloc_ctx); in mx2_camera_probe() 1586 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in mx2_camera_probe() 1602 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 248 alloc_ctxs[0] = pcdev->alloc_ctx; in sh_mobile_ceu_videobuf_setup() 1825 pcdev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in sh_mobile_ceu_probe() 1826 if (IS_ERR(pcdev->alloc_ctx)) { in sh_mobile_ceu_probe() 1827 err = PTR_ERR(pcdev->alloc_ctx); in sh_mobile_ceu_probe() 1959 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in sh_mobile_ceu_probe() 1979 vb2_dma_contig_cleanup_ctx(pcdev->alloc_ctx); in sh_mobile_ceu_remove()
|
/linux-4.1.27/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 95 struct vb2_alloc_ctx *alloc_ctx; member 214 alloc_ctxs[0] = bcap_dev->alloc_ctx; in bcap_queue_setup() 806 bcap_dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in bcap_probe() 807 if (IS_ERR(bcap_dev->alloc_ctx)) { in bcap_probe() 808 ret = PTR_ERR(bcap_dev->alloc_ctx); in bcap_probe() 954 vb2_dma_contig_cleanup_ctx(bcap_dev->alloc_ctx); in bcap_probe() 972 vb2_dma_contig_cleanup_ctx(bcap_dev->alloc_ctx); in bcap_remove()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-dma.h | 91 void *alloc_ctx; member
|
D | xilinx-dma.c | 325 alloc_ctxs[0] = dma->alloc_ctx; in xvip_dma_queue_setup() 701 dma->alloc_ctx = vb2_dma_contig_init_ctx(dma->xdev->dev); in xvip_dma_init() 702 if (IS_ERR(dma->alloc_ctx)) in xvip_dma_init() 759 if (!IS_ERR_OR_NULL(dma->alloc_ctx)) in xvip_dma_cleanup() 760 vb2_dma_contig_cleanup_ctx(dma->alloc_ctx); in xvip_dma_cleanup()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | sur40.c | 153 struct vb2_alloc_ctx *alloc_ctx; member 570 sur40->alloc_ctx = vb2_dma_sg_init_ctx(sur40->dev); in sur40_probe() 571 if (IS_ERR(sur40->alloc_ctx)) { in sur40_probe() 616 vb2_dma_sg_cleanup_ctx(sur40->alloc_ctx); in sur40_disconnect() 648 alloc_ctxs[0] = sur40->alloc_ctx; in sur40_queue_setup()
|
/linux-4.1.27/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 | 471 allocators[0] = camif->alloc_ctx; in queue_setup()
|
/linux-4.1.27/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 | vpbe_display.c | 256 alloc_ctxs[0] = layer->alloc_ctx; in vpbe_buffer_queue_setup() 1460 disp_dev->dev[i]->alloc_ctx = in vpbe_display_probe() 1462 if (IS_ERR(disp_dev->dev[i]->alloc_ctx)) { in vpbe_display_probe() 1464 err = PTR_ERR(disp_dev->dev[i]->alloc_ctx); in vpbe_display_probe() 1485 vb2_dma_contig_cleanup_ctx(disp_dev->dev[k]->alloc_ctx); in vpbe_display_probe() 1513 vb2_dma_contig_cleanup_ctx(vpbe_display_layer->alloc_ctx); in vpbe_display_remove()
|
D | vpif_display.c | 125 alloc_ctxs[0] = common->alloc_ctx; in vpif_buffer_queue_setup() 1193 common->alloc_ctx = vb2_dma_contig_init_ctx(vpif_dev); in vpif_probe_complete() 1194 if (IS_ERR(common->alloc_ctx)) { in vpif_probe_complete() 1196 err = PTR_ERR(common->alloc_ctx); in vpif_probe_complete() 1229 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_probe_complete() 1351 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_remove()
|
D | vpif_capture.c | 134 alloc_ctxs[0] = common->alloc_ctx; in vpif_buffer_queue_setup() 1377 common->alloc_ctx = vb2_dma_contig_init_ctx(vpif_dev); in vpif_probe_complete() 1378 if (IS_ERR(common->alloc_ctx)) { in vpif_probe_complete() 1380 err = PTR_ERR(common->alloc_ctx); in vpif_probe_complete() 1411 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_probe_complete() 1545 vb2_dma_contig_cleanup_ctx(common->alloc_ctx); in vpif_remove()
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 116 alloc_ctxs[0] = ctx->dev->alloc_ctx; in g2d_queue_setup() 683 dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in g2d_probe() 684 if (IS_ERR(dev->alloc_ctx)) { in g2d_probe() 685 ret = PTR_ERR(dev->alloc_ctx); in g2d_probe() 741 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in g2d_probe() 762 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in g2d_remove()
|
D | g2d.h | 28 struct vb2_alloc_ctx *alloc_ctx; member
|
/linux-4.1.27/include/media/davinci/ |
D | vpbe_display.h | 84 struct vb2_alloc_ctx *alloc_ctx; member
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-mpeg.c | 732 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx8802_probe() 733 if (IS_ERR(dev->alloc_ctx)) { in cx8802_probe() 734 err = PTR_ERR(dev->alloc_ctx); in cx8802_probe() 756 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8802_probe() 804 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx8802_remove()
|
D | cx88-video.c | 443 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 | 123 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.1.27/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() 874 vip->alloc_ctx = vb2_dma_contig_init_ctx(&vip->pdev->dev); in sta2x11_vip_init_buffer() 875 if (IS_ERR(vip->alloc_ctx)) { in sta2x11_vip_init_buffer() 877 return PTR_ERR(vip->alloc_ctx); in sta2x11_vip_init_buffer() 884 vb2_dma_contig_cleanup_ctx(vip->alloc_ctx); in sta2x11_vip_release_buffer()
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.h | 125 struct vb2_alloc_ctx *alloc_ctx; member
|
D | vpfe_video.c | 530 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vpfe_release() 1107 alloc_ctxs[0] = video->alloc_ctx; in vpfe_buffer_queue_setup() 1335 video->alloc_ctx = vb2_dma_contig_init_ctx(vpfe_dev->pdev); in vpfe_reqbufs() 1336 if (IS_ERR(video->alloc_ctx)) { in vpfe_reqbufs() 1338 return PTR_ERR(video->alloc_ctx); in vpfe_reqbufs()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 132 void *alloc_ctx; member
|
D | vsp1_video.c | 736 alloc_ctxs[i] = video->alloc_ctx; in vsp1_video_queue_setup() 1174 video->alloc_ctx = vb2_dma_contig_init_ctx(video->vsp1->dev); in vsp1_video_init() 1175 if (IS_ERR(video->alloc_ctx)) { in vsp1_video_init() 1176 ret = PTR_ERR(video->alloc_ctx); in vsp1_video_init() 1205 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vsp1_video_init() 1215 vb2_dma_contig_cleanup_ctx(video->alloc_ctx); in vsp1_video_cleanup()
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.h | 127 void *alloc_ctx; member
|
D | jpeg-core.c | 2146 alloc_ctxs[0] = ctx->jpeg->alloc_ctx; in s5p_jpeg_queue_setup() 2520 jpeg->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in s5p_jpeg_probe() 2521 if (IS_ERR(jpeg->alloc_ctx)) { in s5p_jpeg_probe() 2523 ret = PTR_ERR(jpeg->alloc_ctx); in s5p_jpeg_probe() 2602 vb2_dma_contig_cleanup_ctx(jpeg->alloc_ctx); in s5p_jpeg_probe() 2628 vb2_dma_contig_cleanup_ctx(jpeg->alloc_ctx); in s5p_jpeg_remove()
|
/linux-4.1.27/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.1.27/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 267 struct vb2_alloc_ctx *alloc_ctx; member
|
D | am437x-vpfe.c | 1939 alloc_ctxs[0] = vpfe->alloc_ctx; in vpfe_queue_setup() 2375 vpfe->alloc_ctx = vb2_dma_contig_init_ctx(vpfe->pdev); in vpfe_probe_complete() 2376 if (IS_ERR(vpfe->alloc_ctx)) { in vpfe_probe_complete() 2378 err = PTR_ERR(vpfe->alloc_ctx); in vpfe_probe_complete() 2396 vb2_dma_contig_cleanup_ctx(vpfe->alloc_ctx); in vpfe_probe_complete()
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_video.h | 173 struct vb2_alloc_ctx *alloc_ctx; member
|
D | iss_video.c | 305 alloc_ctxs[0] = video->alloc_ctx; in iss_video_queue_setup() 1068 video->alloc_ctx = vb2_dma_contig_init_ctx(video->iss->dev); in iss_video_open() 1069 if (IS_ERR(video->alloc_ctx)) { in iss_video_open() 1070 ret = PTR_ERR(video->alloc_ctx); in iss_video_open()
|
/linux-4.1.27/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.1.27/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 1004 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in saa7134_initdev() 1005 if (IS_ERR(dev->alloc_ctx)) { in saa7134_initdev() 1006 err = PTR_ERR(dev->alloc_ctx); in saa7134_initdev() 1116 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in saa7134_initdev() 1183 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in saa7134_finidev()
|
D | saa7134-vbi.c | 155 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | saa7134-ts.c | 130 alloc_ctxs[0] = dev->alloc_ctx; in saa7134_ts_queue_setup()
|
D | saa7134.h | 591 void *alloc_ctx; member
|
D | saa7134-video.c | 921 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
/linux-4.1.27/drivers/staging/media/dt3155v4l/ |
D | dt3155v4l.c | 233 if (pd->q->alloc_ctx[0]) in dt3155_queue_setup() 238 pd->q->alloc_ctx[0] = ret; in dt3155_queue_setup() 434 if (pd->q->alloc_ctx[0]) in dt3155_release() 435 vb2_dma_contig_cleanup_ctx(pd->q->alloc_ctx[0]); in dt3155_release()
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
D | vpe.c | 365 struct vb2_alloc_ctx *alloc_ctx; member 1815 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.1.27/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() 1343 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx25821_initdev() 1367 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx25821_finidev()
|
D | cx25821.h | 251 void *alloc_ctx; member
|
D | cx25821-video.c | 156 alloc_ctxs[0] = chan->dev->alloc_ctx; in cx25821_queue_setup()
|
/linux-4.1.27/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.1.27/drivers/media/platform/coda/ |
D | coda.h | 94 struct vb2_alloc_ctx *alloc_ctx; member
|
D | coda-common.c | 1147 alloc_ctxs[0] = ctx->dev->alloc_ctx; in coda_queue_setup() 1966 dev->alloc_ctx = vb2_dma_contig_init_ctx(&pdev->dev); in coda_fw_callback() 1967 if (IS_ERR(dev->alloc_ctx)) { in coda_fw_callback() 1999 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in coda_fw_callback() 2251 if (dev->alloc_ctx) in coda_remove() 2252 vb2_dma_contig_cleanup_ctx(dev->alloc_ctx); in coda_remove()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 135 alloc_ctxs[0] = dev->alloc_ctx; in queue_setup()
|
D | cx23885-core.c | 1999 dev->alloc_ctx = vb2_dma_sg_init_ctx(&pci_dev->dev); in cx23885_initdev() 2000 if (IS_ERR(dev->alloc_ctx)) { in cx23885_initdev() 2001 err = PTR_ERR(dev->alloc_ctx); in cx23885_initdev() 2032 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx23885_initdev() 2059 vb2_dma_sg_cleanup_ctx(dev->alloc_ctx); in cx23885_finidev()
|
D | cx23885.h | 430 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()
|