Home | History | Annotate | Download | only in modetest

Lines Matching defs:arg

64 	struct drm_mode_create_dumb arg;
74 memset(&arg, 0, sizeof(arg));
75 arg.bpp = bpp;
76 arg.width = width;
77 arg.height = height;
79 ret = drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg);
88 bo->handle = arg.handle;
89 bo->size = arg.size;
90 bo->pitch = arg.pitch;
97 struct drm_mode_map_dumb arg;
101 memset(&arg, 0, sizeof(arg));
102 arg.handle = bo->handle;
104 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg);
109 bo->fd, arg.offset);
334 struct drm_mode_destroy_dumb arg;
337 memset(&arg, 0, sizeof(arg));
338 arg.handle = bo->handle;
340 ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg);