/external/mesa3d/src/egl/drivers/dri2/ |
D | common.c | 46 dri2_udev_device_new_from_fd(struct udev *udev, int fd) in dri2_udev_device_new_from_fd() argument 56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in dri2_udev_device_new_from_fd() 69 struct udev *udev; in dri2_get_device_name_for_fd() local 74 udev = udev_new(); in dri2_get_device_name_for_fd() 75 device = dri2_udev_device_new_from_fd(udev, fd); in dri2_get_device_name_for_fd() 86 udev_unref(udev); in dri2_get_device_name_for_fd() 94 struct udev *udev; in dri2_get_driver_for_fd() local 100 udev = udev_new(); in dri2_get_driver_for_fd() 101 device = dri2_udev_device_new_from_fd(udev, fd); in dri2_get_driver_for_fd() 139 udev_unref(udev); in dri2_get_driver_for_fd()
|
/external/dhcpcd-6.8.2/dev/ |
D | udev.c | 29 # warning This version of udev is too old does not support 32 # warning udev-settle service or similar if starting 44 static struct udev *udev; variable 62 device = udev_device_new_from_subsystem_sysname(udev, "net", ifname); in udev_initialized() 113 if (udev) { in udev_stop() 114 udev_unref(udev); in udev_stop() 115 udev = NULL; in udev_stop() 124 if (udev) { in udev_start() 130 udev = udev_new(); in udev_start() 131 if (udev == NULL) { in udev_start() [all …]
|
D | Makefile | 28 udev.So: 32 udev.so:
|
/external/mesa3d/src/gbm/main/ |
D | common.c | 40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) in _gbm_udev_device_new_from_fd() argument 50 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in _gbm_udev_device_new_from_fd() 63 struct udev *udev; in _gbm_fd_get_device_name() local 68 udev = udev_new(); in _gbm_fd_get_device_name() 69 device = _gbm_udev_device_new_from_fd(udev, fd); in _gbm_fd_get_device_name() 80 udev_unref(udev); in _gbm_fd_get_device_name()
|
D | common.h | 34 _gbm_udev_device_new_from_fd(struct udev *udev, int fd);
|
/external/autotest/client/site_tests/graphics_GpuReset/src/ |
D | gpureset.c | 110 struct udev *udev; in drm_open_matching() local 118 udev = udev_new(); in drm_open_matching() 119 if (udev == NULL) in drm_open_matching() 123 e = udev_enumerate_new(udev); in drm_open_matching() 128 device = udev_device_new_from_syspath(udev, path); in drm_open_matching() 152 udev_unref(udev); in drm_open_matching() 160 struct udev* udev; in udev_init() local 162 udev = udev_new(); in udev_init() 163 if (!udev) { in udev_init() 169 struct udev_monitor* monitor = udev_monitor_new_from_netlink(udev, "udev"); in udev_init() [all …]
|
/external/libdrm/tests/ |
D | drmtest.c | 60 struct udev *udev; in drm_open_matching() local 68 udev = udev_new(); in drm_open_matching() 69 if (udev == NULL) { in drm_open_matching() 75 e = udev_enumerate_new(udev); in drm_open_matching() 80 device = udev_device_new_from_syspath(udev, path); in drm_open_matching() 104 udev_unref(udev); in drm_open_matching()
|
/external/libusb-compat/examples/ |
D | testlibusb.c | 64 usb_dev_handle *udev; in print_device() local 69 udev = usb_open(dev); in print_device() 70 if (udev) { in print_device() 72 ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string)); in print_device() 83 ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string)); in print_device() 101 if (udev && verbose) { in print_device() 103 ret = usb_get_string_simple(udev, dev->descriptor.iSerialNumber, string, sizeof(string)); in print_device() 110 if (udev) in print_device() 111 usb_close(udev); in print_device()
|
/external/mesa3d/src/gbm/backends/dri/ |
D | driver_name.c | 41 struct udev *udev; in dri_fd_get_driver_name() local 47 udev = udev_new(); in dri_fd_get_driver_name() 48 device = _gbm_udev_device_new_from_fd(udev, fd); in dri_fd_get_driver_name() 86 udev_unref(udev); in dri_fd_get_driver_name()
|
/external/libdrm/libkms/ |
D | linux.c | 163 struct udev *udev; 177 udev = udev_new(); 178 if (!udev) 181 device = udev_device_new_from_devnum(udev, 'c', buffer.st_rdev); 197 udev_unref(udev); 204 udev_unref(udev);
|
/external/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader_drm.c | 65 struct udev *udev = NULL; in find_drm_pci_id() local 73 udev = udev_new(); in find_drm_pci_id() 74 if (!udev) in find_drm_pci_id() 77 device = udev_device_new_from_devnum(udev, 'c', stat.st_rdev); in find_drm_pci_id() 96 if (udev) in find_drm_pci_id() 97 udev_unref(udev); in find_drm_pci_id()
|
/external/webrtc/talk/media/devices/ |
D | linuxdeviceinfo.cc | 71 udev* instance() { return udev_; } in instance() 75 udev* udev_; 80 ScopedUdevEnumerate(LibUDevSymbolTable* libudev, udev* udev) in ScopedUdevEnumerate() argument 82 enumerate_ = libudev_->udev_enumerate_new()(udev); in ScopedUdevEnumerate()
|
/external/mesa3d/src/gallium/targets/egl-static/ |
D | egl.c | 69 struct udev *udev = NULL; in drm_fd_get_pci_id() local 76 udev = udev_new(); in drm_fd_get_pci_id() 82 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in drm_fd_get_pci_id() 106 if (udev) in drm_fd_get_pci_id() 107 udev_unref(udev); in drm_fd_get_pci_id()
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
D | native_drm.c | 158 struct udev *udev; in drm_get_device_name() local 163 udev = udev_new(); in drm_get_device_name() 169 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in drm_get_device_name() 183 udev_unref(udev); in drm_get_device_name()
|
/external/autotest/client/site_tests/platform_UdevVars/ |
D | control | 11 Verifies that ChromeOS-specific udev variables are set correctly by udev rules.
|
D | platform_UdevVars.py | 31 devices = self.udev.list_devices(subsystem='input') 126 self.udev = pyudev.Context()
|
/external/autotest/client/site_tests/logging_UdevCrash/ |
D | control | 7 PURPOSE = "Verify udev triggered crash works as expected." 17 Fake trackpad failure to trigger crash report with udev type, and
|
/external/libusb-compat/libusb/ |
D | core.c | 657 usb_dev_handle *udev = malloc(sizeof(*udev)); in usb_open() local 658 if (!udev) in usb_open() 661 r = libusb_open((libusb_device *) dev->dev, &udev->handle); in usb_open() 664 free(udev); in usb_open() 669 udev->last_claimed_interface = -1; in usb_open() 670 udev->device = dev; in usb_open() 671 return udev; in usb_open()
|
D | usb.h | 295 int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, 297 int usb_get_descriptor(usb_dev_handle *udev, unsigned char type,
|
/external/autotest/client/site_tests/graphics_GpuReset/ |
D | control | 9 Detection of udev event notification of a GPU hang. 26 erroneous GPU command packet and send it to the GPU, and wait for a udev
|
/external/vulkan-validation-layers/cmake/ |
D | FindUDev.cmake | 15 find_library(UDEV_LIBRARY NAMES udev
|
/external/autotest/client/site_tests/network_UdevRename/ |
D | control | 15 In particular, we check that neither restarting udev, nor unloading
|
/external/libmtp/ |
D | INSTALL | 82 the udev hotplugging support, see below. 147 Linux udev hotplugging 151 and rely solely on udev, and rules stored below /etc/udev/rules.d to
|
D | hotplug.sh.in | 7 UDEVPATH=/etc/udev/rules.d
|
/external/libdrm/ |
D | Makefile.am | 26 --enable-udev \
|