Searched refs:convertToVoutLinear (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | pmbus_utils_tests.cpp | 233 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 3); in TEST() 239 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 4); in TEST() 245 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 2); in TEST() 251 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 3); in TEST() 257 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 339); in TEST() 263 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 340); in TEST()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | pmbus_utils.hpp | 205 inline uint16_t convertToVoutLinear(double volts, int8_t exponent) in convertToVoutLinear() function
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_write_vout_command_action.cpp | 45 pmbus_utils::convertToVoutLinear(voltsValue, exponentValue); in execute()
|