Home
last modified time | relevance | path

Searched refs:drmIoctl (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drm.c560 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl() function
1254 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion()
1266 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion()
1326 ret = drmIoctl(fd, DRM_IOCTL_GET_CAP, &cap); in drmGetCap()
1342 return drmIoctl(fd, DRM_IOCTL_SET_CLIENT_CAP, &cap); in drmSetClientCap()
1377 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid()
1380 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) { in drmGetBusid()
1410 if (drmIoctl(fd, DRM_IOCTL_SET_UNIQUE, &u)) { in drmSetBusid()
1423 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) in drmGetMagic()
1435 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) in drmAuthMagic()
[all …]
H A Dxf86drmMode.c65 int ret = drmIoctl(fd, cmd, arg); in DRM_IOCTL()
156 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res) != 0) in drmIsKMS()
169 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources()
195 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources()
329 if (drmIoctl(fd, DRM_IOCTL_MODE_GETFB, &info)) in drmModeGetFB()
371 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) in drmModeGetCrtc()
477 if (drmIoctl(fd, DRM_IOCTL_MODE_GETENCODER, &enc)) in drmModeGetEncoder()
509 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in _drmModeGetConnector()
539 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in _drmModeGetConnector()
641 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) in drmModeGetProperty()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddumb_bo.c59 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create()
87 ret = drmIoctl(fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map()
110 ret = drmIoctl(fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); in dumb_bo_get_fd()
149 ret = drmIoctl(fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Ddrm_device.cpp108 ret = drmIoctl(fd_.Get(), DRM_IOCTL_MODE_CREATE_DUMB, &arg); in CreateDumbObject()
144 ret = drmIoctl(fd_.Get(), DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in DestroyDumbObject()
164 ret = drmIoctl(fd_.Get(), DRM_IOCTL_MODE_MAP_DUMB, &arg); in RequestMapDumbObject()
/OK3568_Linux_fs/external/drm-cursor/
H A Dtest.c26 drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in main()
34 drmIoctl(fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in main()
/OK3568_Linux_fs/device/rockchip/common/data/
H A Dkmsgrab.c21 ret = drmIoctl(fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &arg); in map_fb()
45 ret = drmIoctl(fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); in get_fb_dmafd()
57 drmIoctl(fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in destroy_dumb()
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_mem.c91 ret = drmIoctl(dma_node_fd, DRM_IOCTL_ROCKCHIP_GEM_CREATE, &req); in crypto_alloc_node_drm()
104 ret = drmIoctl(dma_node_fd, DRM_IOCTL_ROCKCHIP_GEM_MAP_OFFSET, &map_req); in crypto_alloc_node_drm()
133 drmIoctl(dma_node_fd, DRM_IOCTL_GEM_CLOSE, &req); in crypto_alloc_node_drm()
160 drmIoctl(dma_node_fd, DRM_IOCTL_GEM_CLOSE, &req); in crypto_free_node_drm()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/drmDsp/
H A Dbo.c91 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_MAP_DUMB, &md); in map_sp_bo()
123 ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATE_DUMB, &cd); in create_sp_bo()
184 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &dd); in free_sp_bo()
/OK3568_Linux_fs/buildroot/package/libdrm/
H A D0005-HACK-Bypass-drm-GetBusid-drmAuthMagic-SetInterfaceVe.patch30 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u))
40 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth))
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/
H A Dgraphics_drm.c105 ret = drmIoctl(drm_fd, DRM_IOCTL_GEM_CLOSE, &gem_close); in drm_destroy_surface()
158 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drm_create_surface()
184 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_MAP_DUMB, &map_dumb); in drm_create_surface()
/OK3568_Linux_fs/external/recovery/minui/
H A Dgraphics_drm.c110 ret = drmIoctl(drm_fd, DRM_IOCTL_GEM_CLOSE, &gem_close); in drm_destroy_surface()
165 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drm_create_surface()
191 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_MAP_DUMB, &map_dumb); in drm_create_surface()
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c133 err = drmIoctl (allocator->priv->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in gst_kms_allocator_memory_reset()
195 ret = drmIoctl (allocator->priv->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in gst_kms_allocator_memory_create()
371 err = drmIoctl (alloc->priv->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in gst_kms_memory_map()
599 err = drmIoctl (alloc->priv->fd, DRM_IOCTL_GEM_CLOSE, &arg); in gst_kms_allocator_dmabuf_import()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/
H A D0028-kmssink-Avoid-double-closing-shared-gem-handle.patch34 err = drmIoctl (alloc->priv->fd, DRM_IOCTL_GEM_CLOSE, &arg);
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/
H A D0029-kmssink-Avoid-double-closing-shared-gem-handle.patch34 err = drmIoctl (alloc->priv->fd, DRM_IOCTL_GEM_CLOSE, &arg);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/
H A D0029-kmssink-Avoid-double-closing-shared-gem-handle.patch34 err = drmIoctl (alloc->priv->fd, DRM_IOCTL_GEM_CLOSE, &arg);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/
H A Drkdrm_display.c185 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &alloc_arg); in drmGetBuffer()
197 ret = drmIoctl(fd, DRM_IOCTL_MODE_MAP_DUMB, &mmap_arg); in drmGetBuffer()
242 drmIoctl(fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destory_arg); in drmGetBuffer()
H A DdrmDsp.c331 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in drmDspFrame()
/OK3568_Linux_fs/buildroot/package/weston/
H A D0060-backend-drm-Support-getting-drm-fb-from-dmabuf-direc.patch33 + drmIoctl(fb->fd, DRM_IOCTL_GEM_CLOSE, &arg);
H A D0053-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch73 + ret = drmIoctl(fb->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &prime_arg);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0057-backend-drm-Support-getting-drm-fb-from-dmabuf-direc.patch33 + drmIoctl(fb->fd, DRM_IOCTL_GEM_CLOSE, &arg);
H A D0050-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch73 + ret = drmIoctl(fb->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &prime_arg);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0061-backend-drm-Support-getting-drm-fb-from-dmabuf-direc.patch33 + drmIoctl(fb->fd, DRM_IOCTL_GEM_CLOSE, &arg);
H A D0053-HACK-pixman-renderer-Support-passing-dma-fd-to-pixma.patch73 + ret = drmIoctl(fb->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &prime_arg);
/OK3568_Linux_fs/buildroot/package/lvgl/lv_drivers/
H A D0006-drm-Reconstructs-the-drm-display-driver.patch167 + ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg);
171 + ret = drmIoctl(dev->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &fd_args);
223 + drmIoctl(dev->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg);
273 + ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg);
1213 - ret = drmIoctl(drm_dev.fd, DRM_IOCTL_MODE_CREATE_DUMB, &creq);
1228 - ret = drmIoctl(drm_dev.fd, DRM_IOCTL_MODE_MAP_DUMB, &mreq);
/OK3568_Linux_fs/external/libmali/hook/
H A Dhook.c280 ret = drmIoctl(fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in gbm_bo_map()

12