Searched refs:devnode (Results 1 – 7 of 7) sorted by relevance
/external/libusb/libusb/os/ |
D | netbsd_usb.c | 36 char devnode[16]; member 147 char devnode[16]; in netbsd_get_device_list() local 155 snprintf(devnode, sizeof(devnode), "/dev/ugen%d.00", i); in netbsd_get_device_list() 157 if ((fd = open(devnode, O_RDONLY)) < 0) { in netbsd_get_device_list() 159 usbi_err(ctx, "could not open %s", devnode); in netbsd_get_device_list() 179 strlcpy(dpriv->devnode, devnode, sizeof(devnode)); in netbsd_get_device_list() 218 dpriv->fd = open(dpriv->devnode, O_RDWR); in netbsd_open() 220 dpriv->fd = open(dpriv->devnode, O_RDONLY); in netbsd_open() 225 usbi_dbg("open %s: fd %d", dpriv->devnode, dpriv->fd); in netbsd_open() 290 fd = open(dpriv->devnode, O_RDONLY); in netbsd_get_config_descriptor() [all …]
|
D | openbsd_usb.c | 251 char devnode[16]; in obsd_open() local 258 snprintf(devnode, sizeof(devnode), DEVPATH "%s.00", in obsd_open() 260 dpriv->fd = open(devnode, O_RDWR); in obsd_open() 264 usbi_dbg("open %s: fd %d", devnode, dpriv->fd); in obsd_open() 694 char devnode[16]; in _access_endpoint() local 708 snprintf(devnode, sizeof(devnode), DEVPATH "%s.%02d", in _access_endpoint() 712 if (((fd = open(devnode, O_RDWR)) < 0) && (errno == ENXIO)) in _access_endpoint() 713 if ((fd = open(devnode, mode)) < 0) in _access_endpoint()
|
/external/adhd/cras/src/server/ |
D | cras_gpio_jack.c | 81 const char *devnode = udev_device_get_devnode(dev); in gpio_switch_list_for_each() local 84 if (devnode == NULL) in gpio_switch_list_for_each() 87 ioctl_name = sys_input_get_device_name(devnode); in gpio_switch_list_for_each() 91 if (callback(devnode, ioctl_name, arg)) { in gpio_switch_list_for_each()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | battor_device_mapping.py | 102 devnode = device_tree_map[bus].FindDeviceNumber(device) 103 yield devnode.serial
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | battor_device_mapping.py | 102 devnode = device_tree_map[bus].FindDeviceNumber(device) 103 yield devnode.serial
|
/external/linux-kselftest/tools/testing/selftests/media_tests/ |
D | regression_test.txt | 21 Start media_device_test to regression test media devnode dynamic alloc 24 seconds. The idea is when device file goes away, media devnode and cdev
|
/external/kernel-headers/original/uapi/linux/ |
D | media.h | 369 struct media_v2_intf_devnode devnode; member
|