Home | History | Annotate | Download | only in kms

Lines Matching refs:device

48 	struct kms_device *device;
55 fprintf(stderr, "usage: %s DEVICE\n", argv[0]);
74 device = kms_device_open(fd);
75 if (!device) {
80 if (device->num_screens < 1) {
82 kms_device_close(device);
88 screen = device->screens[0];
93 fb = kms_framebuffer_create(device, screen->width, screen->height,
111 err = kms_screen_set(screen, device->crtcs[index++], fb);
144 if (index >= device->num_crtcs)
147 err = kms_screen_set(screen, device->crtcs[index], fb);
157 kms_device_close(device);