/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_write_vout_command_action.hpp | 40 * The volts value to write can be specified in the constructor. Otherwise, the 41 * volts value will be obtained from the ActionEnvironment. 49 * Currently only the linear data format is supported. The volts value is 82 * @param volts Optional volts value to write to VOUT_COMMAND. 83 * @param format Data format of the volts value written to VOUT_COMMAND. 85 * @param exponent Optional exponent to use to convert the volts value to 91 std::optional<double> volts, pmbus_utils::VoutDataFormat format, in PMBusWriteVoutCommandAction() argument 93 volts{volts}, format{format}, exponent{exponent}, in PMBusWriteVoutCommandAction() 106 * Writes a volts value to VOUT_COMMAND using the I2C interface. 108 * If a volts value was specified in the constructor, that value will be [all …]
|
H A D | pmbus_write_vout_command_action.cpp | 34 // Get volts value in execute() 40 // Get exponent value for converting volts value to linear format in execute() 43 // Convert volts value to linear data format in execute() 79 if (volts.has_value()) in toString() 81 ss << "volts: " << volts.value() << ", "; in toString() 130 if (volts.has_value()) in getVoltsValue() 132 // A volts value is defined for this action in getVoltsValue() 133 voltsValue = volts.value(); in getVoltsValue() 137 // A volts value is defined in the ActionEnvironment in getVoltsValue() 142 throw ActionError(*this, "No volts value defined"); in getVoltsValue()
|
H A D | action_environment.hpp | 43 * - current volts value (if any) 197 * Returns the current volts value, if set. 199 * @return current volts value 203 return volts; in getVolts() 238 * Sets the current volts value. 240 * @param volts new volts value. 242 void setVolts(double volts) in setVolts() argument 244 this->volts = volts; in setVolts() 264 * Current volts value (if set). 266 std::optional<double> volts{}; member in phosphor::power::regulators::ActionEnvironment
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | pmbus_write_vout_command_action_tests.cpp | 48 // Test where works: Volts value and exponent value are specified in TEST() 51 std::optional<double> volts{1.3}; in TEST() local 55 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 68 // Test where works: Volts value and exponent value are not specified in TEST() 71 std::optional<double> volts{}; in TEST() local 75 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 89 std::optional<double> volts{}; in TEST() local 93 PMBusWriteVoutCommandAction action{volts, format, exponent, isVerified}; in TEST() 108 // Test where works: Volts value and exponent value defined in action; in TEST() 138 // Linear format volts value = (1.3 / 2^(-8)) = 332.8 = 333 = 0x014D in TEST() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | configuration_tests.cpp | 58 // Test where volts value specified in TEST() 60 std::optional<double> volts{1.3}; in TEST() local 66 Configuration configuration(volts, std::move(actions)); in TEST() 72 // Test where volts value not specified in TEST() 74 std::optional<double> volts{}; in TEST() local 79 Configuration configuration(volts, std::move(actions)); in TEST() 88 // Test where works: Volts value not specified in TEST() 108 // Create Configuration with no volts value specified in TEST() 109 std::optional<double> volts{}; in TEST() local 113 std::make_unique<Configuration>(volts, std::move(actions)); in TEST() [all …]
|
H A D | pmbus_utils_tests.cpp | 226 double volts; in TEST() local 230 volts = 13.9; in TEST() 233 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 3); in TEST() 236 volts = 14.0; in TEST() 239 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 4); in TEST() 242 volts = 2.49; in TEST() 245 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 2); in TEST() 248 volts = 2.51; in TEST() 251 EXPECT_EQ(pmbus_utils::convertToVoutLinear(volts, exponent), 3); in TEST() 254 volts = 1.32613; in TEST() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | pmbus_write_vout_command.md | 22 Currently only the linear format is supported. The decimal value of the "volts" 38 If you wish to verify that the specified volts value was successfully written to 56 | volts | no | number | Volts value to write, expressed as a decimal n… 70 "Set output voltage. Get volts value from configuration.", 82 "Set output voltage. Explicitly specify volts and exponent.", 86 "volts": 1.03,
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | configuration.hpp | 53 * require a volts value, such as PMBusWriteVoutCommandAction, can obtain it 70 * @param volts optional output voltage value 73 explicit Configuration(std::optional<double> volts, in Configuration() argument 75 volts{volts}, actions{std::move(actions)} in Configuration() 120 * @return optional volts value 124 return volts; in getVolts() 143 const std::optional<double> volts{}; member in phosphor::power::regulators::Configuration
|
H A D | configuration.cpp | 53 if (volts.has_value()) in execute() 55 message += ": volts=" + std::to_string(volts.value()); in execute() 62 if (volts.has_value()) in execute() 64 environment.setVolts(volts.value()); in execute()
|
H A D | pmbus_utils.hpp | 168 * Converts a linear data format output voltage value to a volts value. 188 * Converts a volts value to the linear data format for output voltage. 201 * @param volts volts value to convert; must not be negative 205 inline uint16_t convertToVoutLinear(double volts, int8_t exponent) in convertToVoutLinear() argument 207 // Obtain mantissa using equation 'mantissa = volts / 2^exponent' in convertToVoutLinear() 208 double mantissa = volts / std::pow(2.0, static_cast<double>(exponent)); in convertToVoutLinear()
|
/openbmc/linux/drivers/pcmcia/ |
D | yenta_socket.h |
|
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/ |
H A D | daytonax-ipmi-sensors.yaml | 299 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 321 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 343 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 365 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 387 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 409 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 431 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 453 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 475 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 497 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-sensors.yaml | 106 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 128 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 150 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 172 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1243 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1264 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1285 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1306 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1327 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 1348 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/ |
H A D | config.yaml | 302 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 321 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 340 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 359 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 377 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 396 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 415 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 434 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 452 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 471 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/linux/drivers/macintosh/ |
D | windfarm_smu_sensors.c |
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
D | lltc,ltc4286.yaml |
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/ |
H A D | ethanolx-ipmi-sensors.yaml | 376 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 398 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 485 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 507 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 594 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 616 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 638 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 747 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 769 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 791 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Sensor/Aggregation/History/ |
H A D | Average.interface.yaml | 19 voltage namespace, Unit must be "Volts". For objects in the altitude 43 - name: Volts 45 Electromotive force as volts.
|
H A D | Maximum.interface.yaml | 19 voltage namespace, Unit must be "Volts". For objects in the altitude 43 - name: Volts 45 Electromotive force as volts.
|
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/ |
H A D | nf5280m7-ipmi-sensors.yaml | 514 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 536 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 558 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 580 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 601 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 622 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 643 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 664 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 685 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts 908 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | pmbus_driver_device.cpp | 91 double volts{0.0}; in getReadVout() local 99 volts = millivolts / 1000.0; in getReadVout() 107 return volts; in getReadVout() 112 double volts{0.0}; in getVoutUVFaultLimit() local 120 volts = millivolts / 1000.0; in getVoutUVFaultLimit() 128 return volts; in getVoutUVFaultLimit()
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
D | ovti,ov7251.yaml |
|
D | ovti,ov5645.yaml |
|
D | ovti,ov9282.yaml |
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | power_message_registry.hpp | 794 …"Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside… 808 …"Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of… 822 "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.", 836 "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.", 850 "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.", 864 "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.", 878 "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.", 892 "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.", 906 …"Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside… 920 …"Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of… [all …]
|