Searched refs:dev_node (Results 1 – 3 of 3) sorted by relevance
/external/libusb/libusb/os/ |
D | linux_udev.c | 201 const char *dev_node; in udev_device_info() local 203 dev_node = udev_device_get_devnode(udev_dev); in udev_device_info() 204 if (!dev_node) { in udev_device_info() 214 dev_node, *sys_name); in udev_device_info()
|
D | linux_usbfs.h | 188 uint8_t *busnum, uint8_t *devaddr, const char *dev_node,
|
D | linux_usbfs.c | 629 uint8_t *busnum, uint8_t *devaddr,const char *dev_node, in linux_get_device_address() argument 638 if (NULL == dev_node) { in linux_get_device_address() 643 if (!strncmp(dev_node, "/dev/bus/usb", 12)) { in linux_get_device_address() 644 sscanf (dev_node, "/dev/bus/usb/%hhu/%hhu", busnum, devaddr); in linux_get_device_address() 645 } else if (!strncmp(dev_node, "/proc/bus/usb", 13)) { in linux_get_device_address() 646 sscanf (dev_node, "/proc/bus/usb/%hhu/%hhu", busnum, devaddr); in linux_get_device_address()
|