Home | History | Annotate | Download | only in dri2

Lines Matching refs:device

48    struct udev_device *device;
56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev);
57 if (device == NULL) {
59 "EGL-DRI2: could not create udev device for fd %d", fd);
63 return device;
70 struct udev_device *device;
75 device = dri2_udev_device_new_from_fd(udev, fd);
76 if (device == NULL)
79 const_device_name = udev_device_get_devnode(device);
85 udev_device_unref(device);
95 struct udev_device *device, *parent;
101 device = dri2_udev_device_new_from_fd(udev, fd);
102 if (device == NULL)
105 parent = udev_device_get_parent(device);
107 _eglLog(_EGL_WARNING, "DRI2: could not get parent device");
138 udev_device_unref(device);