Lines Matching full:pmbus
20 #include "pmbus.hpp"
42 // PsuInfo contains the device path, PMBus access type, and sysfs file name
44 std::tuple<std::string, phosphor::pmbus::Type, std::string>;
51 * @return tuple - device path, PMBus access type, and sysfs file name
109 // Get PSU device path, PMBus access type, and sysfs file name from JSON in getVersionJson()
116 phosphor::pmbus::PMBus pmbus(devicePath); in getVersionJson() local
117 version = pmbus.readString(fileName, type); in getVersionJson()
137 // Get PSU I2C bus/address and create PMBus interface in getVersionDbus()
139 auto pmbus = getPmbusIntf(i2cbus, i2caddr); in getVersionDbus() local
143 auto type = phosphor::pmbus::Type::HwmonDeviceDebug; in getVersionDbus()
144 std::string version = pmbus->readString(name, type); in getVersionDbus()