Home
last modified time | relevance | path

Searched refs:sysfs_dir (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c104 char *sysfs_dir; member
286 SYSFS_DEVICE_PATH, priv->sysfs_dir, attr); in __open_sysfs_attr()
666 uint8_t devaddr, const char *sysfs_dir) in initialize_device() argument
679 if (sysfs_dir) { in initialize_device()
680 priv->sysfs_dir = malloc(strlen(sysfs_dir) + 1); in initialize_device()
681 if (!priv->sysfs_dir) in initialize_device()
683 strcpy(priv->sysfs_dir, sysfs_dir); in initialize_device()
788 const char *sysfs_dir) in enumerate_device() argument
814 r = initialize_device(dev, busnum, devaddr, sysfs_dir); in enumerate_device()
1317 if (priv->sysfs_dir) in op_destroy_device()
[all …]