Searched refs:sysfs_dir (Results 1 – 2 of 2) sorted by relevance
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 140 char *sysfs_dir; member 528 SYSFS_DEVICE_PATH, priv->sysfs_dir, attr); in _open_sysfs_attr() 889 uint8_t devaddr, const char *sysfs_dir) in initialize_device() argument 900 if (sysfs_dir) { in initialize_device() 901 priv->sysfs_dir = strdup(sysfs_dir); in initialize_device() 902 if (!priv->sysfs_dir) in initialize_device() 907 speed = __read_sysfs_attr(DEVICE_CTX(dev), sysfs_dir, "speed"); in initialize_device() 989 static int linux_get_parent_info(struct libusb_device *dev, const char *sysfs_dir) in linux_get_parent_info() argument 997 if (NULL == sysfs_dir || 0 == strncmp(sysfs_dir, "usb", 3)) { in linux_get_parent_info() 1002 parent_sysfs_dir = strdup(sysfs_dir); in linux_get_parent_info() [all …]
|
D | linux_usbfs.h | 191 uint8_t busnum, uint8_t devaddr, const char *sysfs_dir);
|