Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/tests/
H A Dtest_Utils.cpp20 std::filesystem::path hwmonDir; member in TestUtils
32 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()
/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.cpp71 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()
H A Dpmbus.hpp284 fs::path hwmonDir; member in witherspoon::pmbus::PMBus
/openbmc/phosphor-power/
H A Dpmbus.cpp71 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()
H A Dpmbus.hpp403 fs::path hwmonDir; member in phosphor::pmbus::PMBus
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.cpp157 fs::path hwmonDir = pmbusInterface->getPath(Type::Hwmon); in buildPageToFileNumberMap() local
158 if (fs::is_directory(hwmonDir)) in buildPageToFileNumberMap()
164 for (const auto& f : fs::directory_iterator{hwmonDir}) in buildPageToFileNumberMap()