Searched refs:sysfsRootPath (Results 1 – 2 of 2) sorted by relevance
535 std::filesystem::path sysfsRootPath; member541 explicit AssociatedDevice(std::filesystem::path sysfsRootPath) in AssociatedDevice()542 : sysfsRootPath(sysfsRootPath), nextBatteryId(0), nextLightId(0) {} in AssociatedDevice()
562 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::POWER_SUPPLY); in configureBatteryLocked()588 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::LEDS); in configureLightsLocked()1953 std::optional<std::filesystem::path> sysfsRootPath = getSysfsRootPath(devicePath.c_str()); in openDeviceLocked() local1954 if (sysfsRootPath.has_value()) { in openDeviceLocked()1963 associatedDevice = std::make_shared<AssociatedDevice>(sysfsRootPath.value()); in openDeviceLocked()