Home | History | Annotate | Download | only in libkms

Lines Matching defs:arg

63 	struct drm_exynos_gem_create arg;
94 memset(&arg, 0, sizeof(arg));
95 arg.size = size;
97 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg));
102 bo->base.handle = arg.handle;
128 struct drm_mode_map_dumb arg;
138 memset(&arg, 0, sizeof(arg));
139 arg.handle = bo->base.handle;
141 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg);
145 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset);
168 struct drm_gem_close arg;
177 memset(&arg, 0, sizeof(arg));
178 arg.handle = bo->base.handle;
180 ret = drmIoctl(bo->base.kms->fd, DRM_IOCTL_GEM_CLOSE, &arg);