/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | pmbus_utils_tests.cpp | 27 pmbus_utils::VoutDataFormat format; in TEST() 107 pmbus_utils::SensorDataFormat format = in TEST() 108 pmbus_utils::SensorDataFormat::linear_11; in TEST() 114 pmbus_utils::SensorDataFormat format = in TEST() 115 pmbus_utils::SensorDataFormat::linear_16; in TEST() 121 pmbus_utils::VoutDataFormat format = in TEST() 122 pmbus_utils::VoutDataFormat::linear; in TEST() 128 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::vid; in TEST() 134 pmbus_utils::VoutDataFormat format = in TEST() 135 pmbus_utils::VoutDataFormat::direct; in TEST() [all …]
|
H A D | config_file_parser_tests.cpp | 3793 pmbus_utils::SensorDataFormat::linear_11); in TEST() 4890 pmbus_utils::SensorDataFormat format = in TEST() 4891 pmbus_utils::SensorDataFormat::linear_11; in TEST() 4899 pmbus_utils::SensorDataFormat format = in TEST() 4900 pmbus_utils::SensorDataFormat::linear_16; in TEST() 5317 pmbus_utils::VoutDataFormat format = in TEST() 5318 pmbus_utils::VoutDataFormat::linear; in TEST() 5326 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::vid; in TEST() 5334 pmbus_utils::VoutDataFormat format = in TEST() 5335 pmbus_utils::VoutDataFormat::direct; in TEST() [all …]
|
H A D | configuration_tests.cpp | 45 using namespace phosphor::power::regulators::pmbus_utils; 158 volts, pmbus_utils::VoutDataFormat::linear, -8, false); in TEST() 354 volts, pmbus_utils::VoutDataFormat::linear, -8, false); in TEST()
|
H A D | sensor_monitoring_tests.cpp | 49 using namespace phosphor::power::regulators::pmbus_utils;
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | pmbus_write_vout_command_action_tests.cpp | 52 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 72 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 90 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::direct}; in TEST() 140 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 185 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 206 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 235 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 575 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 597 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() 606 pmbus_utils::VoutDataFormat format{pmbus_utils::VoutDataFormat::linear}; in TEST() [all …]
|
H A D | pmbus_read_sensor_action_tests.cpp | 41 using namespace phosphor::power::regulators::pmbus_utils;
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_read_sensor_action.cpp | 47 case pmbus_utils::SensorDataFormat::linear_11: in execute() 48 sensorValue = pmbus_utils::convertFromLinear(value); in execute() 50 case pmbus_utils::SensorDataFormat::linear_16: in execute() 53 pmbus_utils::convertFromVoutLinear(value, exponentValue); in execute() 85 ss << "format: " << pmbus_utils::toString(format); in toString() 108 interface.read(pmbus_utils::VOUT_MODE, voutModeValue); in getExponentValue() 111 pmbus_utils::VoutDataFormat format; in getExponentValue() 113 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in getExponentValue() 116 if (format != pmbus_utils::VoutDataFormat::linear) in getExponentValue()
|
H A D | pmbus_write_vout_command_action.cpp | 45 pmbus_utils::convertToVoutLinear(voltsValue, exponentValue); in execute() 49 interface.write(pmbus_utils::VOUT_COMMAND, linearValue); in execute() 84 ss << "format: " << pmbus_utils::toString(format); in toString() 106 interface.read(pmbus_utils::VOUT_MODE, voutModeValue); in getExponentValue() 109 pmbus_utils::VoutDataFormat format; in getExponentValue() 111 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in getExponentValue() 114 if (format != pmbus_utils::VoutDataFormat::linear) in getExponentValue() 155 interface.read(pmbus_utils::VOUT_COMMAND, valueRead); in verifyWrite()
|
H A D | pmbus_write_vout_command_action.hpp | 91 std::optional<double> volts, pmbus_utils::VoutDataFormat format, in PMBusWriteVoutCommandAction() 97 if (format != pmbus_utils::VoutDataFormat::linear) 147 pmbus_utils::VoutDataFormat getFormat() const in getFormat() 234 const pmbus_utils::VoutDataFormat format{};
|
H A D | pmbus_read_sensor_action.hpp | 70 pmbus_utils::SensorDataFormat format, in PMBusReadSensorAction() 127 pmbus_utils::SensorDataFormat getFormat() const in getFormat() 180 const pmbus_utils::SensorDataFormat format{};
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | config_file_parser.cpp | 889 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::linear; in parsePMBusWriteVoutCommand() 1098 pmbus_utils::SensorDataFormat parseSensorDataFormat(const json& element) in parseSensorDataFormat() 1105 pmbus_utils::SensorDataFormat format{}; in parseSensorDataFormat() 1109 format = pmbus_utils::SensorDataFormat::linear_11; in parseSensorDataFormat() 1113 format = pmbus_utils::SensorDataFormat::linear_16; in parseSensorDataFormat() 1202 pmbus_utils::VoutDataFormat parseVoutDataFormat(const json& element) in parseVoutDataFormat() 1209 pmbus_utils::VoutDataFormat format{}; in parseVoutDataFormat() 1213 format = pmbus_utils::VoutDataFormat::linear; in parseVoutDataFormat() 1217 format = pmbus_utils::VoutDataFormat::vid; in parseVoutDataFormat() 1221 format = pmbus_utils::VoutDataFormat::direct; in parseVoutDataFormat() [all …]
|
H A D | pmbus_utils.cpp | 19 namespace phosphor::power::regulators::pmbus_utils namespace
|
H A D | pmbus_utils.hpp | 27 namespace phosphor::power::regulators::pmbus_utils namespace
|
H A D | meson.build | 21 'pmbus_utils.cpp',
|
H A D | config_file_parser.hpp | 731 pmbus_utils::SensorDataFormat 852 pmbus_utils::VoutDataFormat parseVoutDataFormat(const nlohmann::json& element);
|