/external/libdrm/ |
D | xf86drm.c | 166 drmIoctl(int fd, unsigned long request, void *arg) in drmIoctl() function 740 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion() 752 if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { in drmGetVersion() 809 ret = drmIoctl(fd, DRM_IOCTL_GET_CAP, &cap); in drmGetCap() 821 return drmIoctl(fd, DRM_IOCTL_SET_CLIENT_CAP, &cap); in drmSetClientCap() 857 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid() 860 if (drmIoctl(fd, DRM_IOCTL_GET_UNIQUE, &u)) in drmGetBusid() 887 if (drmIoctl(fd, DRM_IOCTL_SET_UNIQUE, &u)) { in drmSetBusid() 898 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) in drmGetMagic() 909 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) in drmAuthMagic() [all …]
|
D | xf86drmMode.c | 72 int ret = drmIoctl(fd, cmd, arg); in DRM_IOCTL() 169 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources() 195 if (drmIoctl(fd, DRM_IOCTL_MODE_GETRESOURCES, &res)) in drmModeGetResources() 315 if (drmIoctl(fd, DRM_IOCTL_MODE_GETFB, &info)) in drmModeGetFB() 357 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCRTC, &crtc)) in drmModeGetCrtc() 462 if (drmIoctl(fd, DRM_IOCTL_MODE_GETENCODER, &enc)) in drmModeGetEncoder() 490 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in drmModeGetConnector() 516 if (drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn)) in drmModeGetConnector() 610 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) in drmModeGetProperty() 624 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) { in drmModeGetProperty() [all …]
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 114 if (drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_GEM_CREATE, &req)){ in exynos_bo_create() 153 ret = drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_GEM_GET, &req); in exynos_bo_get_info() 184 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in exynos_bo_destroy() 218 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in exynos_bo_from_name() 254 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in exynos_bo_get_name() 292 ret = drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_GEM_MMAP, &req); in exynos_bo_map() 363 ret = drmIoctl(dev->fd, DRM_IOCTL_EXYNOS_VIDI_CONNECTION, &req); in exynos_vidi_connection()
|
D | exynos_fimg2d.c | 172 ret = drmIoctl(ctx->fd, DRM_IOCTL_EXYNOS_G2D_SET_CMDLIST, &cmdlist); in g2d_flush() 202 ret = drmIoctl(fd, DRM_IOCTL_EXYNOS_G2D_GET_VER, &ver); in g2d_init() 237 ret = drmIoctl(ctx->fd, DRM_IOCTL_EXYNOS_G2D_EXEC, &exec); in g2d_exec()
|
/external/libdrm/rockchip/ |
D | rockchip_drm.c | 114 if (drmIoctl(dev->fd, DRM_IOCTL_ROCKCHIP_GEM_CREATE, &req)){ in rockchip_bo_create() 175 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in rockchip_bo_destroy() 209 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in rockchip_bo_from_name() 245 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in rockchip_bo_get_name() 282 ret = drmIoctl(dev->fd, DRM_IOCTL_ROCKCHIP_GEM_MAP_OFFSET, &req); in rockchip_bo_map()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 599 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_BUSY, &busy); in drm_intel_gem_bo_busy() 619 drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in drm_intel_gem_bo_madvise_internal() 747 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_alloc_internal() 896 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_alloc_userptr() 977 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_bo_gem_create_from_name() 1022 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_bo_gem_create_from_name() 1065 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_GEM_CLOSE, &close); in drm_intel_gem_bo_free() 1299 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_map() 1326 ret = drmIoctl(bufmgr_gem->fd, in drm_intel_gem_bo_map() 1369 ret = drmIoctl(bufmgr_gem->fd, in map_gtt() [all …]
|
/external/libdrm/omap/ |
D | omap_drm.c | 184 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_from_handle() 297 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in omap_bo_from_name() 332 ret = drmIoctl(dev->fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &req); in omap_bo_from_dmabuf() 376 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in omap_bo_del() 394 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in omap_bo_get_name() 424 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &req); in omap_bo_dmabuf()
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 70 drmIoctl(dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_from_handle() 231 ret = drmIoctl(dev->fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &req); in fd_bo_from_dmabuf() 256 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in fd_bo_from_name() 339 drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_CLOSE, &req); in bo_del() 353 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in fd_bo_get_name() 382 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &req); in fd_bo_dmabuf()
|
/external/libdrm/libkms/ |
D | dumb.c | 102 ret = drmIoctl(kms->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in dumb_bo_create() 146 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); in dumb_bo_map() 185 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in dumb_bo_destroy()
|
D | exynos.c | 179 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in exynos_bo_destroy()
|
D | nouveau.c | 193 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in nouveau_bo_destroy()
|
D | radeon.c | 214 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in radeon_bo_destroy()
|
D | intel.c | 211 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg); in intel_bo_destroy()
|
/external/libdrm/tests/planetest/ |
D | bo.c | 82 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_MAP_DUMB, &md); in map_sp_bo() 113 ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATE_DUMB, &cd); in create_sp_bo() 169 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &dd); in free_sp_bo()
|
D | modeset.c | 24 ret = drmIoctl(dev->fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create_blob); in set_crtc_mode()
|
/external/libdrm/tegra/ |
D | tegra.c | 53 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free() 186 ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_OPEN, &open_args); in drm_tegra_bo_name_ref() 201 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &close_args); in drm_tegra_bo_name_ref() 218 ret = drmIoctl(bo->drm->fd, DRM_IOCTL_GEM_FLINK, &args); in drm_tegra_bo_name_get()
|
/external/libdrm/tests/radeon/ |
D | rbo.c | 58 r = drmIoctl(fd, DRM_IOCTL_GEM_OPEN, &open_arg); in rbo() 152 drmIoctl(bo->fd, DRM_IOCTL_GEM_CLOSE, &args); in rbo_decref()
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 92 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open() 145 drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_CLOSE, &args); in bo_unref() 336 r = drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_FLINK, &flink); in radeon_gem_get_kernel_name()
|
/external/libdrm/nouveau/ |
D | nouveau.c | 377 drmIoctl(bo->device->fd, DRM_IOCTL_GEM_CLOSE, &req); in nouveau_bo_del() 382 drmIoctl(bo->device->fd, DRM_IOCTL_GEM_CLOSE, &req); in nouveau_bo_del() 486 ret = drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req); in nouveau_bo_name_ref() 504 int ret = drmIoctl(bo->device->fd, DRM_IOCTL_GEM_FLINK, &req); in nouveau_bo_name_get()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 327 drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in gbm_dri_bo_destroy() 476 ret = drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_arg); in create_dumb() 491 ret = drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in create_dumb() 505 drmIoctl(dri->base.base.fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_arg); in create_dumb()
|
/external/drm_hwcomposer/ |
D | drmgenericimporter.cpp | 137 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBuffer()
|
D | nvimporter.cpp | 159 int ret = drmIoctl(drm_->fd(), DRM_IOCTL_GEM_CLOSE, &gem_close); in ReleaseBufferImpl()
|
D | drmresources.cpp | 372 int ret = drmIoctl(fd_, DRM_IOCTL_MODE_CREATEPROPBLOB, &create_blob); in CreatePropertyBlob() 388 int ret = drmIoctl(fd_, DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy_blob); in DestroyPropertyBlob()
|
/external/drm_gralloc/ |
D | gralloc_drm_rockchip.c | 85 drmIoctl(info->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_gem_rockchip_alloc()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_batchbuffer.c | 157 drmIoctl(idws->fd, DRM_IOCTL_I915_GEM_THROTTLE, NULL); in i915_drm_throttle()
|