Home
last modified time | relevance | path

Searched refs:udev (Results 1 – 25 of 41) sorted by relevance

12

/external/mesa3d/src/egl/drivers/dri2/
Dcommon.c46 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/
Dudev.c29 # 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 …]
DMakefile28 udev.So:
32 udev.so:
/external/mesa3d/src/gbm/main/
Dcommon.c40 _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()
Dcommon.h34 _gbm_udev_device_new_from_fd(struct udev *udev, int fd);
/external/autotest/client/site_tests/graphics_GpuReset/src/
Dgpureset.c110 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/
Ddrmtest.c60 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/
Dtestlibusb.c64 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/
Ddriver_name.c41 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/
Dlinux.c163 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/
Dpipe_loader_drm.c65 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/
Dlinuxdeviceinfo.cc71 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/
Degl.c69 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/
Dnative_drm.c158 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/
Dcontrol11 Verifies that ChromeOS-specific udev variables are set correctly by udev rules.
Dplatform_UdevVars.py31 devices = self.udev.list_devices(subsystem='input')
126 self.udev = pyudev.Context()
/external/autotest/client/site_tests/logging_UdevCrash/
Dcontrol7 PURPOSE = "Verify udev triggered crash works as expected."
17 Fake trackpad failure to trigger crash report with udev type, and
/external/libusb-compat/libusb/
Dcore.c657 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()
Dusb.h295 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/
Dcontrol9 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/
DFindUDev.cmake15 find_library(UDEV_LIBRARY NAMES udev
/external/autotest/client/site_tests/network_UdevRename/
Dcontrol15 In particular, we check that neither restarting udev, nor unloading
/external/libmtp/
DINSTALL82 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
Dhotplug.sh.in7 UDEVPATH=/etc/udev/rules.d
/external/libdrm/
DMakefile.am26 --enable-udev \

12