Home
last modified time | relevance | path

Searched refs:Direction (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/telemetry/tests/src/
H A Dtest_numeric_threshold.cpp29 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 Dnumeric_sensor.hpp220 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 Dnumeric_sensor.cpp27 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 Devent_manager.cpp117 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 Devent_manager.hpp25 pldm::utils::Level, pldm::utils::Direction direction, double, bool, bool)>;
/openbmc/qemu/docs/interop/
H A Dbarrier.rst31 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 Dnumeric_threshold.cpp9 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 Dnumeric_threshold.hpp29 Milliseconds dwellTime, numeric::Direction direction,
48 const numeric::Direction direction;
57 numeric::Direction prevDirection = numeric::Direction::either;
/openbmc/telemetry/src/types/
H A Dtrigger_types.hpp73 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 Devent_manager_test.cpp514 [&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 DThresholds.cpp43 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 Dsensor.hpp132 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 DThresholds.hpp31 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 Dgpio.cpp40 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 Dgpio.hpp24 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 Dgpio.hpp24 enum class Direction enum
63 GPIO(const std::string& device, gpioNum_t gpio, Direction direction) : in GPIO()
107 const Direction direction;
H A Dgpio.cpp40 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 DNvidiaGpuDevice.cpp78 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 Dtrigger_params.hpp139 numeric::Direction::decreasing, 0.5},
142 numeric::Direction::increasing, 90.2}};
/openbmc/entity-manager/
H A DCONFIG_FORMAT.md149 "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 Dconversion_trigger.cpp53 labeledThresholdParam.at_label<ts::Direction>()), in operator ()()
127 paramUnpacked->at_label<ts::Direction>()), in fromLabeledThresholdParam()
H A Dtstring.hpp75 struct Direction struct
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A DCVE-2024-38535_pre.patch30 @@ -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 Ducd90160.cpp218 Direction::input)); in checkPGOODFaults()
381 Direction::input}; in doGPIOAnalysis()
/openbmc/phosphor-power/power-sequencer/
H A Ducd90160.cpp218 Direction::input)); in checkPGOODFaults()
381 Direction::input}; in doGPIOAnalysis()

12