Home
last modified time | relevance | path

Searched full:volts (Results 1 – 25 of 175) sorted by relevance

1234567

/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_write_vout_command_action.hpp40 * 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 Dpmbus_write_vout_command_action.cpp34 // 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 Daction_environment.hpp43 * - 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 Dpmbus_write_vout_command_action_tests.cpp48 // 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 Dconfiguration_tests.cpp58 // 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 Dpmbus_utils_tests.cpp226 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 Dpmbus_write_vout_command.md22 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 Dconfiguration.hpp53 * 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 Dconfiguration.cpp53 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 Dpmbus_utils.hpp168 * 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/
H A Dyenta_socket.h29 #define CB_5VCARD 0x00000400 /* Card Vcc at 5.0 volts? */
30 #define CB_3VCARD 0x00000800 /* Card Vcc at 3.3 volts? */
31 #define CB_XVCARD 0x00001000 /* Card Vcc at X.X volts? */
32 #define CB_YVCARD 0x00002000 /* Card Vcc at Y.Y volts? */
33 #define CB_5VSOCKET 0x10000000 /* Socket Vcc at 5.0 volts? */
34 #define CB_3VSOCKET 0x20000000 /* Socket Vcc at 3.3 volts? */
35 #define CB_XVSOCKET 0x40000000 /* Socket Vcc at X.X volts? */
36 #define CB_YVSOCKET 0x80000000 /* Socket Vcc at Y.Y volts? */
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/
H A Dfp5280g3-ipmi-sensors.yaml106 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-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/
H A Ddaytonax-ipmi-sensors.yaml299 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-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/
H A Dconfig.yaml302 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/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-sensors.yaml376 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/linux/drivers/macintosh/
H A Dwindfarm_smu_sensors.c275 struct wf_sensor *volts; member
289 if (pow->volts) in smu_cpu_power_release()
290 wf_put_sensor(pow->volts); in smu_cpu_power_release()
299 s32 volts, amps, power; in smu_cpu_power_get() local
312 rc = pow->volts->ops->get_value(pow->volts, &volts); in smu_cpu_power_get()
316 power = (s32)((((u64)volts) * ((u64)amps)) >> 16); in smu_cpu_power_get()
337 smu_cpu_power_create(struct wf_sensor *volts, struct wf_sensor *amps) in smu_cpu_power_create() argument
347 wf_get_sensor(volts); in smu_cpu_power_create()
348 pow->volts = volts; in smu_cpu_power_create()
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/
H A Dnf5280m7-ipmi-sensors.yaml514 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/linux/Documentation/devicetree/bindings/hwmon/
H A Dlltc,ltc4286.yaml24 voltage range is 25.6 volts or 102.4 volts for this chip.
25 The default is 102.4 volts.
/openbmc/bmcweb/redfish-core/include/registries/
H A Dpower_message_registry.hpp791 …"Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside…
805 …"Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of…
819 "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.",
833 "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.",
847 "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.",
861 "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.",
875 "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.",
889 "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.",
903 …"Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside…
917 …"Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of…
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Sensor/Aggregation/History/
H A DAverage.interface.yaml19 voltage namespace, Unit must be "Volts". For objects in the altitude
43 - name: Volts
45 Electromotive force as volts.
H A DMaximum.interface.yaml19 voltage namespace, Unit must be "Volts". For objects in the altitude
43 - name: Volts
45 Electromotive force as volts.
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpmbus_driver_device.cpp91 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/phosphor-power/phosphor-regulators/config_files/
H A DRainier.json29 "Write volts value to VOUT_COMMAND in linear format.",
30 "Get volts value from configuration. Get exponent",
1057 "volts": 0.9, number
1080 "volts": 0.9, number
1106 "volts": 0.9, number
1132 "volts": 0.9, number
1156 "volts": 0.9, number
1167 "volts": 1.0, number
1191 "volts": 1.02, number
1202 "volts": 1.0, number
[all …]
H A DBlueRidge.json29 "Write volts value to VOUT_COMMAND in linear format.",
30 "Get volts value from configuration. Get exponent",
1057 "volts": 0.9, number
1080 "volts": 0.9, number
1106 "volts": 0.9, number
1132 "volts": 0.9, number
1156 "volts": 0.9, number
1167 "volts": 1.0, number
1191 "volts": 0.94, number
1202 "volts": 1.0, number
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/
H A Dovti,ov7251.yaml34 description: Analog voltage supply, 2.8 volts
37 description: Digital core voltage supply, 1.2 volts
40 description: Digital I/O voltage supply, 1.8 volts

1234567