/external/mesa3d/src/gbm/main/ |
common.c | 40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) 50 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 53 "gbm: could not create udev device for fd %d", fd); 63 struct udev *udev; local 68 udev = udev_new(); 69 device = _gbm_udev_device_new_from_fd(udev, fd); 80 udev_unref(udev);
|
/external/libusb-compat/examples/ |
testlibusb.c | 64 usb_dev_handle *udev; local 69 udev = usb_open(dev); 70 if (udev) { 72 ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string)); 83 ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string)); 101 if (udev && verbose) { 103 ret = usb_get_string_simple(udev, dev->descriptor.iSerialNumber, string, sizeof(string)); 110 if (udev) 111 usb_close(udev);
|
/external/mesa3d/src/egl/drivers/dri2/ |
common.c | 46 dri2_udev_device_new_from_fd(struct udev *udev, int fd) 56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 59 "EGL-DRI2: could not create udev device for fd %d", fd); 69 struct udev *udev; local 74 udev = udev_new(); 75 device = dri2_udev_device_new_from_fd(udev, fd); 86 udev_unref(udev); 94 struct udev *udev local [all...] |
/external/mesa3d/src/gbm/backends/dri/ |
driver_name.c | 41 struct udev *udev; local 47 udev = udev_new(); 48 device = _gbm_udev_device_new_from_fd(udev, fd); 86 udev_unref(udev);
|
/external/dhcpcd-6.8.2/dev/ |
udev.c | 29 # warning This version of udev is too old does not support 32 # warning udev-settle service or similar if starting 43 static const char udev_name[] = "udev"; 44 static struct udev *udev; variable in typeref:struct:udev 62 device = udev_device_new_from_subsystem_sysname(udev, "net", ifname); 91 /* udev filter documentation says "usually" so double check */ 113 if (udev) { 114 udev_unref(udev); 115 udev = NULL [all...] |
/external/libdrm/tests/ |
drmtest.c | 60 struct udev *udev; local 68 udev = udev_new(); 69 if (udev == NULL) { 70 fprintf(stderr, "failed to initialize udev context\n"); 75 e = udev_enumerate_new(udev); 80 device = udev_device_new_from_syspath(udev, path); 104 udev_unref(udev);
|
/external/autotest/client/site_tests/graphics_GpuReset/src/ |
gpureset.c | 8 * and wait for a udev event notifying us of a GPU hang. 110 struct udev *udev; local 118 udev = udev_new(); 119 if (udev == NULL) 123 e = udev_enumerate_new(udev); 128 device = udev_device_new_from_syspath(udev, path); 152 udev_unref(udev); 160 struct udev* udev; local [all...] |
/external/mesa3d/src/gallium/auxiliary/pipe-loader/ |
pipe_loader_drm.c | 65 struct udev *udev = NULL; local 73 udev = udev_new(); 74 if (!udev) 77 device = udev_device_new_from_devnum(udev, 'c', stat.st_rdev); 96 if (udev) 97 udev_unref(udev);
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
native_drm.c | 158 struct udev *udev; local 163 udev = udev_new(); 169 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 172 "could not create udev device for fd %d", fd); 183 udev_unref(udev);
|
/external/mesa3d/src/gallium/targets/egl-static/ |
egl.c | 69 struct udev *udev = NULL; local 76 udev = udev_new(); 82 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 85 "could not create udev device for fd %d", fd); 106 if (udev) 107 udev_unref(udev);
|
/external/libusb-compat/libusb/ |
core.c | 657 usb_dev_handle *udev = malloc(sizeof(*udev)); local 658 if (!udev) 661 r = libusb_open((libusb_device *) dev->dev, &udev->handle); 664 free(udev); 669 udev->last_claimed_interface = -1; 670 udev->device = dev; 671 return udev;
|