Searched refs:sysfs_dir (Results 1 – 2 of 2) sorted by relevance
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 127 char *sysfs_dir; member 468 const char *sysfs_dir, const char *attr) in open_sysfs_attr() argument 473 snprintf(filename, sizeof(filename), SYSFS_DEVICE_PATH "/%s/%s", sysfs_dir, attr); in open_sysfs_attr() 490 const char *sysfs_dir, const char *attr, int max_value, int *value_p) in read_sysfs_attr() argument 497 fd = open_sysfs_attr(ctx, sysfs_dir, attr); in read_sysfs_attr() 573 ret = read_sysfs_attr(DEVICE_CTX(dev), priv->sysfs_dir, "bConfigurationValue", in sysfs_get_active_config() 720 if (priv->sysfs_dir) { in parse_config_descriptors() 791 if (priv->sysfs_dir) { in op_get_active_config_descriptor() 888 uint8_t devaddr, const char *sysfs_dir, int wrapped_fd) in initialize_device() argument 899 if (sysfs_dir) { in initialize_device() [all …]
|
D | linux_usbfs.h | 209 uint8_t busnum, uint8_t devaddr, const char *sysfs_dir);
|