Searched refs:sysfs_attr (Results 1 – 1 of 1) sorted by relevance
632 int sysfs_attr; in linux_get_device_address() local654 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "busnum"); in linux_get_device_address()655 if (0 > sysfs_attr) in linux_get_device_address()656 return sysfs_attr; in linux_get_device_address()657 if (sysfs_attr > 255) in linux_get_device_address()659 *busnum = (uint8_t) sysfs_attr; in linux_get_device_address()661 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "devnum"); in linux_get_device_address()662 if (0 > sysfs_attr) in linux_get_device_address()663 return sysfs_attr; in linux_get_device_address()664 if (sysfs_attr > 255) in linux_get_device_address()[all …]