Home
last modified time | relevance | path

Searched refs:pmbus_utils (Results 1 – 15 of 15) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpmbus_utils_tests.cpp27 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 Dconfig_file_parser_tests.cpp3793 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 Dconfiguration_tests.cpp45 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 Dsensor_monitoring_tests.cpp49 using namespace phosphor::power::regulators::pmbus_utils;
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dpmbus_write_vout_command_action_tests.cpp52 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 Dpmbus_read_sensor_action_tests.cpp41 using namespace phosphor::power::regulators::pmbus_utils;
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_read_sensor_action.cpp47 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 Dpmbus_write_vout_command_action.cpp45 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 Dpmbus_write_vout_command_action.hpp91 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 Dpmbus_read_sensor_action.hpp70 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 Dconfig_file_parser.cpp889 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 Dpmbus_utils.cpp19 namespace phosphor::power::regulators::pmbus_utils namespace
H A Dpmbus_utils.hpp27 namespace phosphor::power::regulators::pmbus_utils namespace
H A Dmeson.build21 'pmbus_utils.cpp',
H A Dconfig_file_parser.hpp731 pmbus_utils::SensorDataFormat
852 pmbus_utils::VoutDataFormat parseVoutDataFormat(const nlohmann::json& element);