Home
last modified time | relevance | path

Searched full:threshold (Results 1 – 25 of 1518) sorted by relevance

12345678910>>...61

/openbmc/dbus-sensors/src/
H A DThresholds.cpp59 std::vector<thresholds::Threshold>& thresholdVector, in parseThresholdsFromConfig()
115 "Malformed threshold on configuration interface: '{INTERFACE}'", in parseThresholdsFromConfig()
140 const thresholds::Threshold& threshold, in persistThreshold() argument
149 [&, path, threshold, thresholdInterface, in persistThreshold()
154 return; // threshold not supported in persistThreshold()
162 lg2::error("No label in threshold configuration"); in persistThreshold()
179 lg2::error("Malformed threshold in configuration"); in persistThreshold()
187 if ((findThresholdLevel(severity) != threshold.level) || in persistThreshold()
188 (findThresholdDirection(dir) != threshold.direction)) in persistThreshold()
193 std::variant<double> value(threshold.value); in persistThreshold()
[all …]
H A DThresholds.hpp37 struct Threshold struct
39 Threshold( in Threshold() argument
52 bool operator==(const Threshold& rhs) const in operator ==() argument
78 bool hasActiveTimer(const Threshold& threshold, bool assert) in hasActiveTimer()
84 if ((timer.first.level == threshold.level) && in hasActiveTimer()
85 (timer.first.direction == threshold.direction) && in hasActiveTimer()
95 void stopTimer(const Threshold& threshold, bool assert) in stopTimer()
103 if ((timerUsed.level == threshold.level) && in stopTimer()
104 (timerUsed.direction == threshold.direction) && in stopTimer()
114 const Threshold& threshold, bool assert,
[all …]
/openbmc/linux/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-hi8435
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_cold_reset.robot7 ... threshold values, and other 'power up' default state to be restored.
16 ... impact on sensor threshold value change with cold reset.
18 ... The script changes sensor threshold value for Fan sensor,
20 ... compares sensor threshold values of initial and reading after cold reset.
68 Verify Cold Reset Impact On Sensor Threshold Via IPMI
69 [Documentation] Modify sensor threshold, perform cold reset,
70 ... and verify if sensor threshold reverts back to initial value.
76 # Get initial sensor threshold readings.
77 ${sensor_name} ${sensor_threshold}= Get The Sensor Name And Threshold ${sensor_list}
84 # Modify Default Threshold Value For An Sensor To Set An New Threshold Value
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DTrigger.interface.yaml10 If true than trigger uses discrete thresholds as threshold conditions.
17 Defines actions which are taken when threshold conditions are met.
26 Collection of Report objects that are updated when threshold
40 dwell time, direction and threshold value. Array is limited by Type
47 user id, severity, dwell time and threshold value. Discrete value does
49 threshold array is empty then every value change is taken into account
50 of threshold condition. Dwell time specifies for how long condition
60 Defines a action which is taken once threshold condition is met.
72 Defines a context of a message that is logged when numeric threshold
81 Defines in which direction threshold value is crossed to fulfill
[all …]
/openbmc/bmcweb/redfish-core/include/registries/
H A Denvironmental_message_registry.hpp177 …"Indicates that a flow rate reading is no longer below the lower critical threshold but is still o…
178 …"Flow rate '%1' reading of %2 L/min is now above the %3 lower critical threshold but remains outsi…
191 …"Indicates that a flow rate reading is no longer below the lower fatal threshold but is still outs…
192 …"Flow rate '%1' reading of %2 L/min is now above the %3 lower fatal threshold but remains outside …
205 "Indicates that a flow rate reading is above the upper caution threshold.",
206 "Flow rate '%1' reading of %2 L/min is above the %3 upper caution threshold.",
219 "Indicates that a flow rate reading is above the upper critical threshold.",
220 "Flow rate '%1' reading of %2 L/min is above the %3 upper critical threshold.",
233 "Indicates that a flow rate reading is above the upper fatal threshold.",
234 "Flow rate '%1' reading of %2 L/min is above the %3 upper fatal threshold.",
[all …]
H A Dpower_message_registry.hpp105 …"Indicates that a current reading is no longer below the lower critical threshold but is still out…
106 …"Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outsi…
119 …"Indicates that a current reading is no longer below the lower fatal threshold but is still outsid…
120 …"Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside …
133 "Indicates that a current reading is above the upper caution threshold.",
134 "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.",
147 "Indicates that a current reading is above the upper critical threshold.",
148 "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.",
161 "Indicates that a current reading is above the upper fatal threshold.",
162 "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.",
[all …]
/openbmc/linux/Documentation/hwmon/
Dmax1668.rst
Dltc2947.rst
/openbmc/phosphor-virtual-sensor/src/
H A DvirtualSensor.hpp170 /** @brief The critical threshold interface object */
171 std::unique_ptr<Threshold<CriticalObject>> criticalIface;
172 /** @brief The warning threshold interface object */
173 std::unique_ptr<Threshold<WarningObject>> warningIface;
174 /** @brief The soft shutdown threshold interface object */
175 std::unique_ptr<Threshold<SoftShutdownObject>> softShutdownIface;
176 /** @brief The hard shutdown threshold interface object */
177 std::unique_ptr<Threshold<HardShutdownObject>> hardShutdownIface;
178 /** @brief The performance loss threshold interface object */
179 std::unique_ptr<Threshold<PerformanceLossObject>> perfLossIface;
[all …]
H A DvirtualSensor.cpp125 "Invalid threshold direction specified in entity manager"); in getThresholdType()
146 "Invalid threshold severity specified in entity manager"); in getSeverityField()
158 "Invalid threshold severity specified in entity manager"); in getSeverityField()
180 auto threshold = getThresholdType(direction, severity); in parseThresholds() local
181 thresholds[threshold] = value; in parseThresholds()
187 thresholds[threshold + "Hysteresis"] = hysteresis; in parseThresholds()
192 thresholds[threshold + "Direction"] = entityInterface; in parseThresholds()
243 /* Get threshold values if defined in config */ in initVirtualSensor()
244 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor() local
246 createThresholds(threshold, objPath, units); in initVirtualSensor()
[all …]
/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.hpp13 #include <xyz/openbmc_project/Sensor/Threshold/Critical/server.hpp>
14 #include <xyz/openbmc_project/Sensor/Threshold/HardShutdown/server.hpp>
15 #include <xyz/openbmc_project/Sensor/Threshold/Warning/server.hpp>
37 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::Warning>;
39 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::Critical>;
41 sdbusplus::xyz::openbmc_project::Sensor::Threshold::server::HardShutdown>;
95 /** @brief Check if value is over threshold.
98 * @param[in] direction - upper or lower threshold checking
100 * @param[in] threshold - threshold value
105 double threshold, double hyst);
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Sensor/Threshold/
H A Dmeson.build8 sdbusplus_current_path = 'xyz/openbmc_project/Sensor/Threshold'
13 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold.errors.yaml',
14 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold.events.yaml',
28 'xyz/openbmc_project/Sensor/Threshold',
41 'xyz/openbmc_project/Sensor/Threshold/Critical__markdown'.underscorify(),
43 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml',
57 'xyz/openbmc_project/Sensor/Threshold/Critical',
65 'xyz/openbmc_project/Sensor/Threshold/HardShutdown__markdown'.underscorify(),
67 '../../../../../yaml/xyz/openbmc_project/Sensor/Threshold/HardShutdown.interface.yaml',
81 'xyz/openbmc_project/Sensor/Threshold/HardShutdown',
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-write-threshold.c2 * Test block device write threshold
11 #include "block/write-threshold.h"
16 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_not_trigger() local
21 bdrv_write_threshold_set(&bs, threshold); in test_threshold_not_trigger()
23 g_assert_cmpuint(bdrv_write_threshold_get(&bs), ==, threshold); in test_threshold_not_trigger()
29 uint64_t threshold = 4 * 1024 * 1024; in test_threshold_trigger() local
34 bdrv_write_threshold_set(&bs, threshold); in test_threshold_trigger()
35 bdrv_write_threshold_check_write(&bs, threshold - 1024, 2 * 1024); in test_threshold_trigger()
43 g_test_add_func("/write-threshold/not-trigger", test_threshold_not_trigger); in main()
44 g_test_add_func("/write-threshold/trigger", test_threshold_trigger); in main()
/openbmc/phosphor-health-monitor/
H A Dbmc_health_config_json.md38 - This indicates the number of samples being used for threshold value
46 - `Threshold`
47 - The following threshold levels (with bounds) are supported.
58 - Threshold may have following attributes
60 - This indicates the percentage value at which specific threshold gets
62 - For lower bound, the threshold gets asserted if metric value falls
63 below the specified threshold percentage value.
64 - For upper bound, the threshold gets asserted if metric value goes
65 beyond the specified threshold percentage value.
67 shall be logged when threshold gets asserted.
[all …]
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/fans/phosphor-fan/catalina/
H A Dconfig.json17 "threshold": 5, number
26 "threshold": 5, number
46 "threshold": 5, number
55 "threshold": 5, number
75 "threshold": 5, number
84 "threshold": 5, number
104 "threshold": 5, number
113 "threshold": 5, number
133 "threshold": 5, number
142 "threshold": 5, number
[all …]
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/
H A Dconfig.json18 "threshold": 30, number
23 "threshold": 30, number
43 "threshold": 30, number
48 "threshold": 30, number
68 "threshold": 30, number
73 "threshold": 30, number
93 "threshold": 30, number
98 "threshold": 30, number
118 "threshold": 30, number
123 "threshold": 30, number
[all …]
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge2U/
H A Dconfig.json18 "threshold": 45, number
23 "threshold": 45, number
43 "threshold": 45, number
48 "threshold": 45, number
68 "threshold": 45, number
73 "threshold": 45, number
93 "threshold": 45, number
98 "threshold": 45, number
118 "threshold": 45, number
123 "threshold": 45, number
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/
H A DThreshold.interface.yaml2 Provides threshold functionality for Metrics and Sensors. Any object
3 implementing Threshold interface must implement a Value interface at
10 This indicates the threshold ranges applicable for the corresponding
26 This indicates the assertion change for a threshold.
31 This indicates the threshold type for the assertion.
35 This indicates the threshold bound for the assertion.
49 This indicates the type of threshold.
68 This indicates the threshold direction.
72 Indicates the upper bound of the threshold.
75 Indicates the lower bound of the threshold.
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/Threshold/
H A DSoftShutdown.interface.yaml3 implementing Sensor.Threshold.Shutdown must be instantiated in the correct
20 Additionally, any object implementing Sensor.Threshold.SoftShutdown must
28 The upper bound of the soft shutdown threshold. A value of 'NaN' is
29 used to indicate there is no threshold of this type.
34 The lower bound of the soft shutdown threshold. A value of 'NaN' is
35 used to indicate there is no threshold of this type.
56 The high threshold alarm asserted.
64 The high threshold alarm deasserted.
72 The low threshold alarm asserted.
80 The low threshold alarm deasserted.
H A DPerformanceLoss.interface.yaml3 implementing Sensor.Threshold.PerformanceLoss must be instantiated in the
20 Additionally, any object implementing Sensor.Threshold.PerformanceLoss must
28 The upper bound of the warning threshold. A value of 'NaN' is used to
29 indicate there is no threshold of this type.
34 The lower bound of the warning threshold. A value of 'NaN' is used to
35 indicate there is no threshold of this type.
57 The high threshold alarm asserted.
65 The high threshold alarm deasserted.
73 The low threshold alarm asserted.
81 The low threshold alarm deasserted.
H A DHardShutdown.interface.yaml4 implementing Sensor.Threshold.HardShutdown must be instantiated in the
21 Additionally, any object implementing Sensor.Threshold.HardShutdown must
29 The upper bound of the shutdown threshold. A value of 'NaN' is used
30 to indicate there is no threshold of this type.
35 The lower bound of the shutdown threshold. A value of 'NaN' is used
36 to indicate there is no threshold of this type.
57 The high threshold alarm asserted.
65 The high threshold alarm deasserted.
73 The low threshold alarm asserted.
81 The low threshold alarm deasserted.
H A DWarning.interface.yaml3 Sensor.Threshold.Warning must be instantiated in the correct hierarchy
20 Additionally, any object implementing Sensor.Threshold.Warning must also
28 The upper bound of the warning threshold. A value of 'NaN' is used to
29 indicate there is no threshold of this type.
34 The lower bound of the warning threshold. A value of 'NaN' is used to
35 indicate there is no threshold of this type.
55 The high threshold alarm asserted.
63 The high threshold alarm deasserted.
71 The low threshold alarm asserted.
79 The low threshold alarm deasserted.
H A DCritical.interface.yaml3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy
20 Additionally, any object implementing Sensor.Threshold.Critical must also
28 The upper bound of the critical threshold. A value of 'NaN' is used
29 to indicate there is no threshold of this type.
34 The lower bound of the critical threshold. A value of 'NaN' is used
35 to indicate there is no threshold of this type.
55 The high threshold alarm asserted.
63 The high threshold alarm deasserted.
71 The low threshold alarm asserted.
79 The low threshold alarm deasserted.
/openbmc/linux/Documentation/misc-devices/
Dbh1770glc.rst

12345678910>>...61