/third_party/eudev/ |
D | README_zh.md | 48 dev_t devnum = udev_device_get_devnum(device); 49 if (major(devnum) > 0) { 50 printf("devnum: %u:%u\n", major(devnum), minor(devnum));
|
/third_party/toybox/toys/other/ |
D | lsusb.c | 22 int busnum = 0, devnum = 0, pid = 0, vid = 0; in list_device() local 34 || sscanf(toybuf, "DEVNUM=%u\n", &devnum) in list_device() 38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid); in list_device()
|
/third_party/eudev/test/ |
D | test-libudev.c | 40 dev_t devnum; in print_device() local 78 devnum = udev_device_get_devnum(device); in print_device() 79 if (major(devnum) > 0) in print_device() 80 printf("devnum: %u:%u\n", major(devnum), minor(devnum)); in print_device() 152 dev_t devnum = makedev(1, 3); in test_device_devnum() local 155 printf("looking up device: %u:%u\n", major(devnum), minor(devnum)); in test_device_devnum() 156 device = udev_device_new_from_devnum(udev, 'c', devnum); in test_device_devnum()
|
/third_party/ffmpeg/libavdevice/ |
D | vfwcap.c | 251 int devnum; in vfw_read_header() local 261 for (devnum = 0; devnum <= 9; devnum++) { in vfw_read_header() 264 ret = capGetDriverDescription(devnum, in vfw_read_header() 268 av_log(s, AV_LOG_INFO, "Driver %d\n", devnum); in vfw_read_header() 283 devnum = atoi(s->url); in vfw_read_header() 285 ret = SendMessage(ctx->hwnd, WM_CAP_DRIVER_CONNECT, devnum, 0); in vfw_read_header()
|
/third_party/gstreamer/gstplugins_bad/sys/uvch264/ |
D | uvc_h264.c | 133 guint64 devnum; in xu_get_id() local 151 devnum = g_udev_device_get_sysfs_attr_as_uint64 (parent, "devnum"); in xu_get_id() 156 devnum == libusb_get_device_address (device_list[i])) { in xu_get_id()
|
/third_party/eudev/src/libudev/ |
D | libudev-device.c | 88 dev_t devnum; member 164 return udev_device->devnum; in udev_device_get_devnum() 167 static int udev_device_set_devnum(struct udev_device *udev_device, dev_t devnum) in udev_device_set_devnum() argument 171 udev_device->devnum = devnum; in udev_device_set_devnum() 173 snprintf(num, sizeof(num), "%u", major(devnum)); in udev_device_set_devnum() 175 snprintf(num, sizeof(num), "%u", minor(devnum)); in udev_device_set_devnum() 709 udev_device->devnum = makedev(maj, min); in udev_device_read_uevent_file() 840 _public_ struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum) in udev_device_new_from_devnum() argument 856 type_str, major(devnum), minor(devnum)); in udev_device_new_from_devnum()
|
D | libudev.h | 82 struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum);
|
/third_party/eudev/src/udev/ |
D | udevd.c | 98 dev_t devnum; member 490 event->devnum = udev_device_get_devnum(dev); in event_queue_insert() 537 …if (major(event->devnum) != 0 && event->devnum == loop_event->devnum && event->is_block == loop_ev… in is_devpath_busy() 560 …if (major(event->devnum) != 0 && (event->devnum != loop_event->devnum || event->is_block != loop_e… in is_devpath_busy()
|
D | udev-node.c | 256 dev_t devnum = udev_device_get_devnum(dev); in node_permissions_apply() local 272 if (((stats.st_mode & S_IFMT) != (mode & S_IFMT)) || (stats.st_rdev != devnum)) { in node_permissions_apply()
|
/third_party/lwip/src/include/lwip/ |
D | sio.h | 61 sio_fd_t sio_open(u8_t devnum);
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_udev.h | 101 struct udev_device * (*udev_device_new_from_devnum)(struct udev *udev, char type, dev_t devnum);
|
/third_party/libusb/libusb/os/ |
D | linux_usbfs.h | 98 unsigned int devnum; member
|
D | linux_usbfs.c | 221 int busnum, devnum; in is_usbdev_entry() local 223 if (sscanf(name, "usbdev%d.%d", &busnum, &devnum) != 2) in is_usbdev_entry() 225 if (busnum < 0 || busnum > UINT8_MAX || devnum < 0 || devnum > UINT8_MAX) { in is_usbdev_entry() 234 *dev_p = (uint8_t)devnum; in is_usbdev_entry() 1346 devaddr = ci.devnum; in op_wrap_sys_device()
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsa.c | 638 gint devnum; in gst_alsa_find_device_name() local 646 devnum = atoi (comma + 1); in gst_alsa_find_device_name() 647 ret = gst_alsa_find_device_name_no_handle (obj, dev, devnum, stream); in gst_alsa_find_device_name()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 66 dev_t devnum; member 185 if (sb.st_rdev == item->devnum) { in MaybeAddDevice() 211 item->devnum = sb.st_rdev; in MaybeAddDevice()
|
/third_party/eudev/export_include/ |
D | libudev.h | 82 struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum);
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.h | 278 uint16_t devnum; member
|
/third_party/weston/libweston/backend-drm/ |
D | drm-internal.h | 261 dev_t devnum; member
|
D | drm.c | 2554 if (b->drm.fd < 0 || b->drm.devnum != device || in drm_device_changed() 2571 dev_t devnum = udev_device_get_devnum(device); in drm_device_is_kms() local 2606 b->drm.devnum = devnum; in drm_device_is_kms()
|
/third_party/libdrm/include/drm/ |
D | drm.h | 468 int devnum; /**< device number */ member
|
/third_party/mesa3d/include/drm-uapi/ |
D | drm.h | 467 int devnum; /**< device number */ member
|
/third_party/libdrm/ |
D | xf86drm.h | 615 extern int drmGetInterruptFromBusID(int fd, int busnum, int devnum,
|
D | xf86drm.c | 2300 drm_public int drmGetInterruptFromBusID(int fd, int busnum, int devnum, in drmGetInterruptFromBusID() argument 2307 p.devnum = devnum; in drmGetInterruptFromBusID()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 991 udev->devnum = device_get_unit(dev); in usb_linux_create_usb_device()
|