Lines Matching full:pmbus
16 #include "pmbus.hpp"
28 namespace pmbus namespace
47 std::string PMBus::insertPageNum(const std::string& templateName, size_t page) in insertPageNum()
61 fs::path PMBus::getPath(Type type) in getPath()
74 return debugPath / "pmbus" / hwmonDir; in getPath()
83 return debugPath / "pmbus" / hwmonDir / getDeviceName(); in getPath()
88 std::string PMBus::getDeviceName() in getDeviceName()
103 log<level::ERR>((std::string("Unable to read PMBus device name " in getDeviceName()
112 bool PMBus::readBitInPage(const std::string& name, size_t page, Type type) in readBitInPage()
118 bool PMBus::readBit(const std::string& name, Type type) in readBit()
170 bool PMBus::exists(const std::string& name, Type type) in exists()
177 uint64_t PMBus::read(const std::string& name, Type type, bool errTrace) in read()
218 std::string PMBus::readString(const std::string& name, Type type) in readString()
251 std::vector<uint8_t> PMBus::readBinary(const std::string& name, Type type, in readBinary()
296 void PMBus::write(const std::string& name, int value, Type type) in write()
327 void PMBus::writeBinary(const std::string& name, std::vector<uint8_t> data, in writeBinary()
365 void PMBus::findHwmonDir() in findHwmonDir()
400 std::unique_ptr<PMBusBase> PMBus::createPMBus(std::uint8_t bus, in createPMBus()
405 auto interface = std::make_unique<PMBus>(physpath); in createPMBus()
413 return PMBus::createPMBus(bus, address); in createPMBus()
416 } // namespace pmbus