Home
last modified time | relevance | path

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

123

/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;
257 .Direction(numeric::Direction::increasing)
263 .Direction(numeric::Direction::increasing)
269 .Direction(numeric::Direction::increasing)
275 .Direction(numeric::Direction::increasing)
281 .Direction(numeric::Direction::decreasing)
[all …]
/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/pldm/platform-mc/
H A Devent_manager.cpp163 pldm::utils::Direction::HIGH, in processNumericSensorEvent()
167 pldm::utils::Direction::HIGH, value, true, true); in processNumericSensorEvent()
173 pldm::utils::Direction::HIGH, value, true, true); in processNumericSensorEvent()
181 pldm::utils::Direction::LOW, value, true, true); in processNumericSensorEvent()
187 pldm::utils::Direction::LOW, in processNumericSensorEvent()
191 pldm::utils::Direction::LOW, value, true, true); in processNumericSensorEvent()
208 pldm::utils::Direction::LOW, in processNumericSensorEvent()
212 pldm::utils::Direction::HIGH, value, true, true); in processNumericSensorEvent()
218 pldm::utils::Direction::LOW, value, false, false); in processNumericSensorEvent()
227 pldm::utils::Direction::LOW, value, true, true); in processNumericSensorEvent()
[all …]
H A Dnumeric_sensor.cpp825 pldm::utils::Level eventType, pldm::utils::Direction direction, in triggerThresholdEvent()
853 if (direction == pldm::utils::Direction::HIGH && in triggerThresholdEvent()
871 else if (direction == pldm::utils::Direction::LOW && in triggerThresholdEvent()
900 if (direction == pldm::utils::Direction::HIGH && in triggerThresholdEvent()
918 else if (direction == pldm::utils::Direction::LOW && in triggerThresholdEvent()
H A Dnumeric_sensor.hpp191 pldm::utils::Direction direction, double rawValue,
/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,
45 const numeric::Direction direction;
54 numeric::Direction prevDirection = numeric::Direction::either;
/openbmc/telemetry/src/types/
H A Dtrigger_types.hpp77 enum class Direction enum
97 constexpr std::array<std::pair<std::string_view, Direction>, 3>
100 Direction::either),
103 Direction::decreasing),
106 Direction::increasing)};
120 inline Direction toDirection(const std::string& str) in toDirection()
125 inline std::string directionToString(Direction v) in directionToString()
133 utils::LabeledTuple<std::tuple<Type, uint64_t, Direction, double>,
135 utils::tstring::Direction,
216 struct EnumTraits<numeric::Direction>
/openbmc/dbus-sensors/src/
H A DThresholds.cpp44 Direction findThresholdDirection(const std::string& direct) in findThresholdDirection()
48 return Direction::HIGH; in findThresholdDirection()
52 return Direction::LOW; in findThresholdDirection()
54 return Direction::ERROR; in findThresholdDirection()
125 Direction direction = findThresholdDirection(directions); in parseThresholdsFromConfig()
127 if ((level == Level::ERROR) || (direction == Direction::ERROR)) in parseThresholdsFromConfig()
267 if (threshold.direction == thresholds::Direction::HIGH) in checkThresholds()
289 else if (threshold.direction == thresholds::Direction::LOW) in checkThresholds()
430 if (change.threshold.direction == thresholds::Direction::LOW) in checkThresholdsPowerDelay()
446 thresholds::Level level, thresholds::Direction direction, in assertThresholds()
[all …]
H A Dsensor.hpp118 using Direction = thresholds::Direction; typedef
386 static std::string propertyLevel(const Level lev, const Direction dir) in propertyLevel()
393 if (dir == Direction::HIGH) in propertyLevel()
397 if (dir == Direction::LOW) in propertyLevel()
406 static std::string propertyAlarm(const Level lev, const Direction dir) in propertyAlarm()
413 if (dir == Direction::HIGH) in propertyAlarm()
417 if (dir == Direction::LOW) in propertyAlarm()
557 thresholds::Direction opposite = thresholds::Direction::HIGH; in fillMissingThresholds()
558 if (thisThreshold.direction == thresholds::Direction::HIGH) in fillMissingThresholds()
560 opposite = thresholds::Direction::LOW; in fillMissingThresholds()
H A DThresholds.hpp27 enum class Direction enum
36 const Level& lev, const Direction& dir, const double& val, in Threshold()
43 Direction direction;
56 thresholds::Level level, thresholds::Direction direction,
63 Direction direction;
/openbmc/phosphor-power/
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()
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.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()
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/entity-manager/
H A DCONFIG_FORMAT.md147 "Direction": "greater than",
153 "Direction": "greater than",
159 "Direction": "less than",
165 "Direction": "less than",
179 "Direction": "greater than",
185 "Direction": "greater than",
191 "Direction": "less than",
197 "Direction": "less than",
231 "Direction": "less than",
237 "Direction": "less than",
/openbmc/telemetry/tests/src/params/
H A Dtrigger_params.hpp139 numeric::Direction::decreasing, 0.5},
142 numeric::Direction::increasing, 90.2}};
/openbmc/linux/Documentation/driver-api/soundwire/
H A Dstream.rst37 | (Data) | Data Direction | (Data) |
51 | (Data) | Data Direction | (Data) |
65 | (Data) | | | Data Direction | (Data) |
91 | (Data) | | | Data Direction | (Data) |
139 | (Data) | Data Direction | (Data) |
148 | (Data) | Data Direction | (Data) |
162 | (Data) | Data Direction | (Data) |
171 | (Data) | Data Direction | (Data) |
183 | (Data) | Data Direction | (Data) |
192 | (Data) | Data Direction | (Data) |
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp52 labeledThresholdParam.at_label<ts::Direction>()), in operator ()()
125 paramUnpacked->at_label<ts::Direction>()), in fromLabeledThresholdParam()
H A Dtstring.hpp75 struct Direction struct
/openbmc/linux/include/uapi/linux/
H A Dcciss_defs.h101 BYTE Direction:2; member
/openbmc/linux/Documentation/driver-api/
H A Dgeneric-counter.rst68 Signal does not trigger the count function. In Pulse-Direction count
69 function mode, this Signal is evaluated as Direction.
106 * Pulse-Direction:
193 operating in a non-quadrature Pulse-Direction mode could have one input
201 | Function: Pulse-Direction | <------------- / A \ (Movement)
205 | | <------------- / B \ (Direction)
209 Only Signal A triggers the "Pulse-Direction" update function, but the
/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/phosphor-power/power-sequencer/
H A Ducd90160.cpp218 Direction::input)); in checkPGOODFaults()
381 Direction::input}; in doGPIOAnalysis()
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Ducd90160.cpp218 Direction::input)); in checkPGOODFaults()
381 Direction::input}; in doGPIOAnalysis()

123