Home
last modified time | relevance | path

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

/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.cpp68 return basePath; in getPath()
71 return basePath / "hwmon" / hwmonDir; in getPath()
92 auto path = basePath / "name"; in getDeviceName()
158 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in readBit()
196 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in read()
227 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in readString()
267 fs::canonical(basePath).c_str())); in readBinary()
302 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in write()
308 fs::path path{basePath}; in findHwmonDir()
335 entry("DEVICE_PATH=%s", basePath.c_str())); in findHwmonDir()
H A Dpmbus.hpp127 PMBus(const std::string& path) : basePath(path) in PMBus()
144 basePath(path), driverName(driverName), instance(instance) in PMBus()
232 return basePath; in path()
279 fs::path basePath; member in witherspoon::pmbus::PMBus
/openbmc/phosphor-power/
H A Dpmbus.cpp68 return basePath; in getPath()
71 return basePath / "hwmon" / hwmonDir; in getPath()
92 auto path = basePath / "name"; in getDeviceName()
164 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in readBit()
207 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in read()
245 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in readString()
287 fs::canonical(basePath).c_str())); in readBinary()
323 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in write()
361 metadata::CALLOUT_DEVICE_PATH(fs::canonical(basePath).c_str())); in writeBinary()
367 fs::path path{basePath}; in findHwmonDir()
[all …]
H A Dpmbus.hpp223 PMBus(const std::string& path) : basePath(path) in PMBus()
240 basePath(path), driverName(driverName), instance(instance) in PMBus()
351 return basePath; in path()
398 fs::path basePath; member in phosphor::pmbus::PMBus
/openbmc/telemetry/tests/src/
H A Dtest_path_append.cpp36 auto [basePath, extension, expectedPath] = GetParam(); in TEST_P()
37 EXPECT_EQ(pathAppend(basePath, extension), expectedPath); in TEST_P()
56 auto [basePath, extension] = GetParam(); in TEST_P()
57 EXPECT_THROW(pathAppend(basePath, extension), in TEST_P()
/openbmc/phosphor-led-manager/test/
H A Dutest-led-yaml-group-priority.cpp20 const std::string basePath = "/xyz/openbmc_project/led/groups/"; variable
24 const std::string groupPath = basePath + "group1"; in TEST()
42 const std::string groupPath = basePath + "group2"; in TEST()
60 const std::string groupPath = basePath + "group3"; in TEST()
80 const std::string groupPath = basePath + "group4"; in TEST()
H A Dutest-led-yaml-led-priority.cpp20 const std::string basePath = "/xyz/openbmc_project/led/groups/"; variable
24 const std::string groupPath = basePath + "group1"; in TEST()
42 const std::string groupPath = basePath + "group2"; in TEST()
60 const std::string groupPath = basePath + "group3"; in TEST()
H A Dutest-led-yaml-empty-group.cpp13 const std::string basePath = "/xyz/openbmc_project/led/groups/"; variable
24 const std::string emptyGroupPath = basePath + "emptygroup"; in TEST()
25 const std::string nonEmptyGroupPath = basePath + "nonemptygroup"; in TEST()
/openbmc/witherspoon-pfault-analysis/power-supply/
H A Dmain.cpp124 std::string basePath = in main()
127 psuDevice->enableHistory(basePath, numRecords, syncGPIOPath, gpioNum); in main()
130 sdbusplus::server::manager_t objManager{bus, basePath.c_str()}; in main()
/openbmc/phosphor-power/power-supply/
H A Dmain.cpp126 std::string basePath = in main()
129 psuDevice->enableHistory(basePath, numRecords, syncGPIOPath, gpioNum); in main()
132 sdbusplus::server::manager_t objManager{bus, basePath.c_str()}; in main()
/openbmc/phosphor-fan-presence/control/json/utils/
H A Dpcie_card_metadata.cpp50 const auto basePath = in loadCards()
54 confFile = fs::path{confOverridePath} / basePath; in loadCards()
58 confFile = fs::path{confBasePath} / basePath; in loadCards()
/openbmc/openpower-occ-control/
H A Docc_device.cpp135 fs::path Device::getFilenameByRegex(fs::path basePath, in getFilenameByRegex() argument
140 for (auto& file : fs::directory_iterator(basePath)) in getFilenameByRegex()
H A Docc_device.hpp298 fs::path getFilenameByRegex(fs::path basePath,
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Drepository.hpp147 explicit Repository(const std::filesystem::path& basePath) : in Repository() argument
148 Repository(basePath, getPELRepoSize(), getMaxNumPELs()) in Repository()
159 Repository(const std::filesystem::path& basePath, size_t repoSize,
H A Drepository.cpp61 Repository::Repository(const std::filesystem::path& basePath, size_t repoSize, in Repository() argument
63 _logPath(basePath / "logs"), _maxRepoSize(repoSize), in Repository()
64 _maxNumPELs(maxNumPELs), _archivePath(basePath / "logs" / "archive") in Repository()
H A Ddevice_callouts.cpp39 auto basePath = getPELReadOnlyDataPath(); in getJSONFilename() local
63 path = basePath / filename; in getJSONFilename()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp201 sdbusplus::message::object_path basePath{"/"}; in getChassis() local
207 bus, assocPath, basePath, interfaces, 0); in getChassis()
/openbmc/service-config-manager/src/
H A Dmain.cpp240 sdbusplus::message::object_path basePath( in handleListUnitsResponse() local
242 std::string objPath(basePath / it.first); in handleListUnitsResponse()
/openbmc/bmcweb/redfish-core/lib/
H A Dcertificate_service.hpp257 const std::string& basePath, const nlohmann::json::json_pointer& listPtr, in getCertificateList() argument
263 basePath, 0, interfaces, in getCertificateList()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp1041 std::string basePath = "/xyz/openbmc_project/user/ldap/openldap"; in getPrivilegeMapperObject() local
1045 getServiceName(std::move(basePath), std::move(interface)); in getPrivilegeMapperObject()
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp690 constexpr const char* basePath = in Drive() local
693 objServer.add_interface(basePath + driveName, inventory::interface); in Drive()