| /openbmc/telemetry/tests/src/ |
| H A D | test_numeric_threshold.cpp | 29 void makeThreshold(Milliseconds dwellTime, numeric::Direction direction, in makeThreshold() 52 makeThreshold(0ms, numeric::Direction::increasing, 90.0, in SetUp() 78 numeric::Type::upperCritical, 0, numeric::Direction::increasing, 90.0); in TEST_F() 108 NumericParams& Direction(numeric::Direction val) in Direction() function 171 numeric::Direction direction; 260 .Direction(numeric::Direction::increasing) 266 .Direction(numeric::Direction::increasing) 272 .Direction(numeric::Direction::increasing) 278 .Direction(numeric::Direction::increasing) 284 .Direction(numeric::Direction::decreasing) [all …]
|
| /openbmc/pldm/platform-mc/ |
| H A D | numeric_sensor.hpp | 220 pldm::utils::Direction direction) in getThreshold() 222 if (direction != pldm::utils::Direction::HIGH && in getThreshold() 223 direction != pldm::utils::Direction::LOW) in getThreshold() 230 return direction == pldm::utils::Direction::HIGH in getThreshold() 234 return direction == pldm::utils::Direction::HIGH in getThreshold() 238 return direction == pldm::utils::Direction::HIGH in getThreshold() 255 pldm::utils::Direction direction) in isThresholdValid() 268 pldm::utils::Direction direction) in getThresholdAlarm() 277 return direction == pldm::utils::Direction::HIGH in getThresholdAlarm() 281 return direction == pldm::utils::Direction::HIGH in getThresholdAlarm() [all …]
|
| H A D | numeric_sensor.cpp | 27 static const std::array<pldm::utils::Direction, 2> allThresholdDirections = { 28 pldm::utils::Direction::HIGH, pldm::utils::Direction::LOW}; 812 void NumericSensor::setWarningThresholdAlarm(pldm::utils::Direction direction, in setWarningThresholdAlarm() 815 if (direction == pldm::utils::Direction::HIGH) in setWarningThresholdAlarm() 841 void NumericSensor::setCriticalThresholdAlarm(pldm::utils::Direction direction, in setCriticalThresholdAlarm() 844 if (direction == pldm::utils::Direction::HIGH) in setCriticalThresholdAlarm() 871 pldm::utils::Direction direction, double value, bool newAlarm) in setHardShutdownThresholdAlarm() 873 if (direction == pldm::utils::Direction::HIGH) in setHardShutdownThresholdAlarm() 900 pldm::utils::Direction direction, in setThresholdAlarm() 997 pldm::utils::Level level, pldm::utils::Direction direction, double value) in createThresholdLog() [all …]
|
| H A D | event_manager.cpp | 117 uint8_t, std::tuple<pldm::utils::Level, pldm::utils::Direction>> in triggerNumericSensorThresholdEvent() 120 {pldm::utils::Level::HARDSHUTDOWN, pldm::utils::Direction::HIGH}}, in triggerNumericSensorThresholdEvent() 122 {pldm::utils::Level::CRITICAL, pldm::utils::Direction::HIGH}}, in triggerNumericSensorThresholdEvent() 124 {pldm::utils::Level::WARNING, pldm::utils::Direction::HIGH}}, in triggerNumericSensorThresholdEvent() 126 {pldm::utils::Level::WARNING, pldm::utils::Direction::LOW}}, in triggerNumericSensorThresholdEvent() 128 {pldm::utils::Level::CRITICAL, pldm::utils::Direction::LOW}}, in triggerNumericSensorThresholdEvent() 130 {pldm::utils::Level::HARDSHUTDOWN, pldm::utils::Direction::LOW}}, in triggerNumericSensorThresholdEvent() 260 [&sensor](pldm::utils::Level level, pldm::utils::Direction direction, in processNumericSensorEvent()
|
| H A D | event_manager.hpp | 25 pldm::utils::Level, pldm::utils::Direction direction, double, bool, bool)>;
|
| /openbmc/qemu/docs/interop/ |
| H A D | barrier.rst | 31 Direction: 45 Direction: 61 Direction: 76 Direction: 86 Direction: 96 Direction: 117 Direction: 131 Direction: 147 Direction: 159 Direction: [all …]
|
| /openbmc/telemetry/src/ |
| H A D | numeric_threshold.cpp | 9 Milliseconds dwellTimeIn, numeric::Direction directionIn, in NumericThreshold() 66 crossedDecreasing = prevDirection == numeric::Direction::decreasing && in sensorUpdated() 68 crossedIncreasing = prevDirection == numeric::Direction::increasing && in sensorUpdated() 77 if ((direction == numeric::Direction::decreasing && crossedDecreasing) || in sensorUpdated() 78 (direction == numeric::Direction::increasing && crossedIncreasing) || in sensorUpdated() 79 (direction == numeric::Direction::either && in sensorUpdated() 85 prevDirection = value > prevValue ? numeric::Direction::increasing in sensorUpdated() 86 : value < prevValue ? numeric::Direction::decreasing in sensorUpdated() 87 : numeric::Direction::either; in sensorUpdated()
|
| H A D | numeric_threshold.hpp | 29 Milliseconds dwellTime, numeric::Direction direction, 48 const numeric::Direction direction; 57 numeric::Direction prevDirection = numeric::Direction::either;
|
| /openbmc/telemetry/src/types/ |
| H A D | trigger_types.hpp | 73 enum class Direction enum 93 constexpr std::array<std::pair<std::string_view, Direction>, 3> 96 Direction::either), 99 Direction::decreasing), 102 Direction::increasing)}; 116 inline Direction toDirection(const std::string& str) in toDirection() 121 inline std::string directionToString(Direction v) in directionToString() 129 std::tuple<Type, uint64_t, Direction, double>, utils::tstring::Type, 130 utils::tstring::DwellTime, utils::tstring::Direction, 211 struct EnumTraits<numeric::Direction>
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | event_manager_test.cpp | 514 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 521 EXPECT_EQ(direction, pldm::utils::Direction::HIGH); in TEST() 535 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 542 EXPECT_EQ(direction, pldm::utils::Direction::HIGH); in TEST() 556 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 570 EXPECT_EQ(direction, pldm::utils::Direction::HIGH); in TEST() 584 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 609 EXPECT_EQ(direction, pldm::utils::Direction::HIGH); in TEST() 623 [&callCount](pldm::utils::Level level, pldm::utils::Direction direction, in TEST() 630 EXPECT_EQ(direction, pldm::utils::Direction::LOW); in TEST() [all …]
|
| /openbmc/dbus-sensors/src/ |
| H A D | Thresholds.cpp | 43 Direction findThresholdDirection(const std::string& direct) in findThresholdDirection() 47 return Direction::HIGH; in findThresholdDirection() 51 return Direction::LOW; in findThresholdDirection() 53 return Direction::ERROR; in findThresholdDirection() 125 Direction direction = findThresholdDirection(directions); in parseThresholdsFromConfig() 127 if ((level == Level::ERROR) || (direction == Direction::ERROR)) in parseThresholdsFromConfig() 268 if (threshold.direction == thresholds::Direction::HIGH) in checkThresholds() 292 else if (threshold.direction == thresholds::Direction::LOW) in checkThresholds() 434 if (change.threshold.direction == thresholds::Direction::LOW) in checkThresholdsPowerDelay() 450 thresholds::Level level, thresholds::Direction direction, in assertThresholds() [all …]
|
| H A D | sensor.hpp | 132 using Direction = thresholds::Direction; typedef 402 static std::string propertyLevel(const Level lev, const Direction dir) in propertyLevel() 409 if (dir == Direction::HIGH) in propertyLevel() 413 if (dir == Direction::LOW) in propertyLevel() 422 static std::string propertyAlarm(const Level lev, const Direction dir) in propertyAlarm() 429 if (dir == Direction::HIGH) in propertyAlarm() 433 if (dir == Direction::LOW) in propertyAlarm() 573 thresholds::Direction opposite = thresholds::Direction::HIGH; in fillMissingThresholds() 574 if (thisThreshold.direction == thresholds::Direction::HIGH) in fillMissingThresholds() 576 opposite = thresholds::Direction::LOW; in fillMissingThresholds()
|
| H A D | Thresholds.hpp | 31 enum class Direction enum 40 const Level& lev, const Direction& dir, const double& val, in Threshold() 47 Direction direction; 60 thresholds::Level level, thresholds::Direction direction, 67 Direction direction;
|
| /openbmc/phosphor-power/ |
| H A D | gpio.cpp | 40 assert(direction == Direction::input); in read() 60 assert(direction == Direction::output); in set() 99 request.flags = (direction == Direction::input) ? GPIOHANDLE_REQUEST_INPUT in requestLine() 105 if (direction == Direction::output) in requestLine()
|
| H A D | gpio.hpp | 24 enum class Direction enum 63 GPIO(const std::string& device, gpioNum_t gpio, Direction direction) : in GPIO() 107 const Direction direction;
|
| /openbmc/witherspoon-pfault-analysis/ |
| H A D | gpio.hpp | 24 enum class Direction enum 63 GPIO(const std::string& device, gpioNum_t gpio, Direction direction) : in GPIO() 107 const Direction direction;
|
| H A D | gpio.cpp | 40 assert(direction == Direction::input); in read() 60 assert(direction == Direction::output); in set() 100 request.flags = (direction == Direction::input) ? GPIOHANDLE_REQUEST_INPUT in requestLine() 106 if (direction == Direction::output) in requestLine()
|
| /openbmc/dbus-sensors/src/nvidia-gpu/ |
| H A D | NvidiaGpuDevice.cpp | 78 thresholds::Level::CRITICAL, thresholds::Direction::HIGH, 95.0}}); in makeSensors() 186 thresholds::Direction::LOW, in processTLimitThresholds() 189 thresholds::Direction::LOW, in processTLimitThresholds() 192 thresholds::Direction::LOW, in processTLimitThresholds()
|
| /openbmc/telemetry/tests/src/params/ |
| H A D | trigger_params.hpp | 139 numeric::Direction::decreasing, 0.5}, 142 numeric::Direction::increasing, 90.2}};
|
| /openbmc/entity-manager/ |
| H A D | CONFIG_FORMAT.md | 149 "Direction": "greater than", 155 "Direction": "greater than", 161 "Direction": "less than", 167 "Direction": "less than", 181 "Direction": "greater than", 187 "Direction": "greater than", 193 "Direction": "less than", 199 "Direction": "less than", 233 "Direction": "less than", 239 "Direction": "less than",
|
| /openbmc/telemetry/src/utils/ |
| H A D | conversion_trigger.cpp | 53 labeledThresholdParam.at_label<ts::Direction>()), in operator ()() 127 paramUnpacked->at_label<ts::Direction>()), in fromLabeledThresholdParam()
|
| H A D | tstring.hpp | 75 struct Direction struct
|
| /openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
| H A D | CVE-2024-38535_pre.patch | 30 @@ -23,6 +23,7 @@ use crate::core::Direction; 37 tx: &mut HTTP2Transaction, direction: Direction, value: u8, 102 fn handle_headers(&mut self, blocks: &[parser::HTTP2FrameHeaderBlock], dir: Direction) {
|
| /openbmc/witherspoon-pfault-analysis/power-sequencer/ |
| H A D | ucd90160.cpp | 218 Direction::input)); in checkPGOODFaults() 381 Direction::input}; in doGPIOAnalysis()
|
| /openbmc/phosphor-power/power-sequencer/ |
| H A D | ucd90160.cpp | 218 Direction::input)); in checkPGOODFaults() 381 Direction::input}; in doGPIOAnalysis()
|