Searched refs:hwmonDir (Results 1 – 6 of 6) sorted by relevance
20 std::filesystem::path hwmonDir; member in TestUtils32 hwmonDir = std::filesystem::path(testDir) / "hwmon"; in TestUtils()33 std::filesystem::create_directory(hwmonDir); in TestUtils()34 auto hwmon10 = hwmonDir / "hwmon10"; in TestUtils()35 std::filesystem::create_directory(hwmonDir / "hwmon10"); in TestUtils()102 auto ret = findFiles(hwmonDir, R"(in\d+_input)", foundPaths); in TEST_F()111 auto ret = findFiles(hwmonDir, R"(temp\d+_input)", foundPaths); in TEST_F()148 std::string p = hwmonDir.string() + "/"; in TEST_F()
71 return basePath / "hwmon" / hwmonDir; in getPath()74 return debugPath / "pmbus" / hwmonDir; in getPath()83 return debugPath / "pmbus" / hwmonDir / getDeviceName(); in getPath()323 hwmonDir = f.path().filename(); in findHwmonDir()331 if (hwmonDir.empty()) in findHwmonDir()
284 fs::path hwmonDir; member in witherspoon::pmbus::PMBus
71 return basePath / "hwmon" / hwmonDir; in getPath()74 return debugPath / "pmbus" / hwmonDir; in getPath()83 return debugPath / "pmbus" / hwmonDir / getDeviceName(); in getPath()382 hwmonDir = f.path().filename(); in findHwmonDir()390 if (hwmonDir.empty()) in findHwmonDir()
403 fs::path hwmonDir; member in phosphor::pmbus::PMBus
157 fs::path hwmonDir = pmbusInterface->getPath(Type::Hwmon); in buildPageToFileNumberMap() local158 if (fs::is_directory(hwmonDir)) in buildPageToFileNumberMap()164 for (const auto& f : fs::directory_iterator{hwmonDir}) in buildPageToFileNumberMap()