Home
last modified time | relevance | path

Searched refs:udev (Results 1 – 25 of 28) 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/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/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/libdrm/libkms/
Dlinux.c159 struct udev *udev;
173 udev = udev_new();
174 if (!udev)
177 device = udev_device_new_from_devnum(udev, 'c', buffer.st_rdev);
193 udev_unref(udev);
200 udev_unref(udev);
/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/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/libvncserver/x11vnc/
Duinput.c361 struct uinput_user_dev udev; in initialize_uinput()
407 memset(&udev, 0, sizeof(udev)); in initialize_uinput()
409 strncpy(udev.name, "x11vnc injector", UINPUT_MAX_NAME_SIZE); in initialize_uinput()
413 udev.id.bustype = get_bustype(s); in initialize_uinput()
415 udev.id.bustype = BUS_USB; in initialize_uinput()
420 udev.id.version = atoi(s); in initialize_uinput()
422 udev.id.version = 4; in initialize_uinput()
461 udev.absmin[ABS_X] = 0; in initialize_uinput()
462 udev.absmax[ABS_X] = gw; in initialize_uinput()
463 udev.absfuzz[ABS_X] = 0; in initialize_uinput()
[all …]
/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/libvncserver/x11vnc/misc/
Duinput.pl44 $udev = "uinput.pl";
45 $n = 80 - length($udev);
46 $udev .= "\0" x $n;
48 $udev .= "\0" x 2; # bus
49 $udev .= "\0" x 2; # vendor
50 $udev .= "\0" x 2; # product
51 $udev .= "\0" x 2; # version
53 $udev .= "\0" x 4; # ff_effects_max
61 $udev .= pack("i", $WIDTH-1);
63 $udev .= pack("i", $HEIGHT-1);
[all …]
/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/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/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
DTODO15 to tweak the udev config not to load USB mass storage support for
DREADME325 know we cannot use udev, because udev is called after-the-fact:
327 udev is called.
476 claim to be mass storage so udev will capture is and make the
DChangeLog173 * examples/hotplug.c: change the udev match rule from
1154 * examples/hotplug.c: edit up into a udev ruleset that is
1156 udev versions out there. Now please DON'T update udev
1165 * examples/hotplug.c: use old udev style by default, use new
1453 * examples/hotplug.c: fix GOTO style in udev map.
/external/selinux/policycoreutils/sepolicy/sepolicy/help/
Dfile_equiv.txt9 …when ever the matchpathcon function is called. Tools like restorecon/rpm/udev and others will all…
/external/libdrm/
Dconfigure.ac56 AC_ARG_ENABLE([udev], optenable
57 [AS_HELP_STRING([--enable-udev],
58 … [Enable support for using udev instead of mknod (default: disabled)])],
/external/mesa3d/
Dconfigure.ac1240 AC_MSG_ERROR([gbm needs udev]))
1587 AC_MSG_ERROR([cannot build $plat platfrom without udev]) ;;
/external/wpa_supplicant_8/wpa_supplicant/
DREADME949 can be started when an interface is added (hotplug/udev/etc. scripts).
/external/selinux/libselinux/
DChangeLog58 * Support udev-197 and higher from Sven Vermeulen and Dan Walsh.
/external/selinux/policycoreutils/
DChangeLog439 udev scripts that was broken by policycoreutils 2.0.70.

12