Home
last modified time | relevance | path

Searched refs:VoutDataFormat (Results 1 – 11 of 11) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Dpmbus_utils.cpp22 void parseVoutMode(uint8_t voutModeValue, VoutDataFormat& format, in parseVoutMode()
32 format = VoutDataFormat::linear; in parseVoutMode()
35 format = VoutDataFormat::vid; in parseVoutMode()
38 format = VoutDataFormat::direct; in parseVoutMode()
41 format = VoutDataFormat::ieee; in parseVoutMode()
49 if (format == VoutDataFormat::linear) in parseVoutMode()
76 std::string toString(VoutDataFormat format) in toString()
81 case VoutDataFormat::linear: in toString()
84 case VoutDataFormat::vid: in toString()
87 case VoutDataFormat::direct: in toString()
[all …]
H A Dpmbus_utils.hpp68 enum class VoutDataFormat enum
109 void parseVoutMode(uint8_t voutModeValue, VoutDataFormat& format,
126 std::string toString(VoutDataFormat format);
H A Dconfig_file_parser.cpp889 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::linear; in parsePMBusWriteVoutCommand()
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()
1225 format = pmbus_utils::VoutDataFormat::ieee; in parseVoutDataFormat()
H A Dconfig_file_parser.hpp852 pmbus_utils::VoutDataFormat parseVoutDataFormat(const nlohmann::json& element);
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpmbus_utils_tests.cpp27 pmbus_utils::VoutDataFormat format; in TEST()
63 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
69 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
75 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); in TEST()
81 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::vid); 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.cpp3985 EXPECT_EQ(action->getFormat(), pmbus_utils::VoutDataFormat::linear); in TEST()
5316 pmbus_utils::VoutDataFormat value = parseVoutDataFormat(element); in TEST()
5317 pmbus_utils::VoutDataFormat format = in TEST()
5318 pmbus_utils::VoutDataFormat::linear; in TEST()
5325 pmbus_utils::VoutDataFormat value = parseVoutDataFormat(element); in TEST()
5326 pmbus_utils::VoutDataFormat format = pmbus_utils::VoutDataFormat::vid; in TEST()
5333 pmbus_utils::VoutDataFormat value = parseVoutDataFormat(element); in TEST()
5334 pmbus_utils::VoutDataFormat format = in TEST()
5335 pmbus_utils::VoutDataFormat::direct; in TEST()
5342 pmbus_utils::VoutDataFormat value = parseVoutDataFormat(element); in TEST()
[all …]
H A Dconfiguration_tests.cpp158 volts, pmbus_utils::VoutDataFormat::linear, -8, false); in TEST()
354 volts, pmbus_utils::VoutDataFormat::linear, -8, false); in TEST()
/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 …]
/openbmc/phosphor-power/phosphor-regulators/src/actions/
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.cpp111 pmbus_utils::VoutDataFormat format; in getExponentValue()
116 if (format != pmbus_utils::VoutDataFormat::linear) in getExponentValue()
H A Dpmbus_write_vout_command_action.cpp109 pmbus_utils::VoutDataFormat format; in getExponentValue()
114 if (format != pmbus_utils::VoutDataFormat::linear) in getExponentValue()