Lines Matching refs:device
35 struct kms_device *device = plane->device;
40 p = drmModeGetPlane(device->fd, plane->id);
46 for (i = 0; i < device->num_crtcs; i++) {
48 p->crtc_id = device->crtcs[i]->id;
54 for (i = 0; i < device->num_crtcs; i++) {
55 if (device->crtcs[i]->id == p->crtc_id) {
56 plane->crtc = device->crtcs[i];
72 props = drmModeObjectGetProperties(device->fd, plane->id,
80 prop = drmModeGetProperty(device->fd, props->props[i]);
94 struct kms_plane *kms_plane_create(struct kms_device *device, uint32_t id)
102 plane->device = device;
118 struct kms_device *device = plane->device;
121 err = drmModeSetPlane(device->fd, plane->id, plane->crtc->id, fb->id,