Lines Matching defs:arg
60 struct drm_mode_create_dumb arg;
70 memset(&arg, 0, sizeof(arg));
71 arg.bpp = bpp;
72 arg.width = width;
73 arg.height = height;
75 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg);
84 bo->handle = arg.handle;
85 bo->size = arg.size;
86 bo->pitch = arg.pitch;
93 struct drm_mode_map_dumb arg;
97 memset(&arg, 0, sizeof(arg));
98 arg.handle = bo->handle;
100 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg);
105 bo->fd, arg.offset);
343 struct drm_mode_destroy_dumb arg;
346 memset(&arg, 0, sizeof(arg));
347 arg.handle = bo->handle;
349 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg);