Home
last modified time | relevance | path

Searched refs:convertToVoutLinear (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpmbus_utils_tests.cpp233 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 Dpmbus_utils.hpp205 inline uint16_t convertToVoutLinear(double volts, int8_t exponent) in convertToVoutLinear() function
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_write_vout_command_action.cpp45 pmbus_utils::convertToVoutLinear(voltsValue, exponentValue); in execute()