Home
last modified time | relevance | path

Searched full:discrete (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/openbmc/telemetry/src/types/
H A Dtrigger_types.hpp47 namespace discrete namespace
64 } // namespace discrete
140 std::vector<discrete::ThresholdParam>>;
144 std::vector<discrete::LabeledThresholdParam>>;
148 discrete::LabeledThresholdParam>;
153 return std::holds_alternative<std::vector<discrete::LabeledThresholdParam>>( in isTriggerThresholdDiscrete()
176 constexpr std::array<std::pair<std::string_view, discrete::Severity>, 3>
179 discrete::Severity::ok),
181 discrete::Severity::warning),
184 discrete::Severity::critical)};
[all …]
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/configuration/ncplite-yaml-config/
H A Dncplite-ipmi-sensors.yaml155 0x40: &discrete
176 <<: *discrete
183 <<: *discrete
190 <<: *discrete
197 <<: *discrete
204 <<: *discrete
211 <<: *discrete
218 <<: *discrete
225 <<: *discrete
232 <<: *discrete
[all …]
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp33 const std::vector<discrete::ThresholdParam>& arg) const in operator ()()
38 return discrete::LabeledThresholdParam( in operator ()()
59 const std::vector<discrete::LabeledThresholdParam>& arg) const in operator ()()
62 arg, [](const discrete::LabeledThresholdParam& labeledThresholdParam) { in operator ()()
63 return discrete::ThresholdParam( in operator ()()
92 return std::vector<discrete::ThresholdParam>(); in fromLabeledThresholdParam()
95 if (isFirstElementOfType<discrete::LabeledThresholdParam>(params)) in fromLabeledThresholdParam()
98 const discrete::LabeledThresholdParam* paramUnpacked = in fromLabeledThresholdParam()
99 std::get_if<discrete::LabeledThresholdParam>(&param); in fromLabeledThresholdParam()
105 return discrete::ThresholdParam( in fromLabeledThresholdParam()
/openbmc/telemetry/tests/src/
H A Dtest_trigger_actions.cpp116 namespace discrete namespace
118 using LogParam = std::tuple<::discrete::Severity, TriggerValue>;
123 std::make_tuple(::discrete::Severity::critical, in getCorrectParams()
125 std::make_tuple(::discrete::Severity::warning, TriggerValue("On")), in getCorrectParams()
126 std::make_tuple(::discrete::Severity::ok, TriggerValue("Off"))); in getCorrectParams()
132 std::make_tuple(static_cast<::discrete::Severity>(-1), in getIncorrectParams()
134 std::make_tuple(static_cast<::discrete::Severity>(42), in getIncorrectParams()
136 std::make_tuple(::discrete::Severity::critical, TriggerValue(42.0)), in getIncorrectParams()
137 std::make_tuple(::discrete::Severity::warning, TriggerValue(0.0)), in getIncorrectParams()
138 std::make_tuple(::discrete::Severity::ok, TriggerValue(0.1))); in getIncorrectParams()
[all …]
H A Dtest_trigger_manager.cpp29 const std::vector<discrete::LabeledThresholdParam> discThresh = in addTrigger()
92 auto thresholds = std::vector<discrete::LabeledThresholdParam>{ in TEST_F()
93 {"discrete_threshold1", discrete::Severity::ok, 10, "11.0"}, in TEST_F()
94 {"discrete_threshold2", discrete::Severity::warning, 10, "12.0"}, in TEST_F()
95 {"discrete_threshold3", discrete::Severity::critical, 10, "13.0"}}; in TEST_F()
107 auto thresholds = std::vector<discrete::LabeledThresholdParam>(); in TEST_F()
271 .name("My Discrete Trigger") in TEST_F()
272 .thresholdParams(std::vector<discrete::LabeledThresholdParam>{ in TEST_F()
273 discrete::LabeledThresholdParam{ in TEST_F()
275 discrete::Severity::warning, Milliseconds(10).count(), in TEST_F()
[all …]
H A Dtest_trigger.cpp36 .name("My Discrete Trigger")
37 .thresholdParams(std::vector<discrete::LabeledThresholdParam>{
38 discrete::LabeledThresholdParam{
39 "userId", discrete::Severity::warning,
41 discrete::LabeledThresholdParam{
42 "userId_2", discrete::Severity::critical,
166 getProperty<bool>(sut->getPath(), "Discrete"), in TEST_F()
174 EXPECT_THAT(getProperty<std::vector<discrete::ThresholdParam>>( in TEST_F()
319 std::vector<discrete::ThresholdParam>({std::make_tuple( in TEST_F()
320 "discrete threshold", utils::enumToString(discrete::Severity::ok), in TEST_F()
[all …]
H A Dtest_discrete_threshold.cpp32 discrete::Severity severity = discrete::Severity::ok, in makeThreshold()
54 sut = makeThreshold(0ms, "90.0", discrete::Severity::critical); in SetUp()
86 sut = makeThreshold(0ms, GetParam(), discrete::Severity::critical); in TEST_P()
87 LabeledThresholdParam expected = discrete::LabeledThresholdParam( in TEST_P()
88 "treshold name", discrete::Severity::critical, 0, GetParam()); in TEST_P()
112 auto sut = makeThreshold(0ms, "12.3", discrete::Severity::ok, "non-empty"); in TEST_F()
114 std::get<discrete::LabeledThresholdParam>(sut->getThresholdParam()) in TEST_F()
121 auto sut = makeThreshold(0ms, "12.3", discrete::Severity::ok, ""); in TEST_F()
123 std::get<discrete::LabeledThresholdParam>(sut->getThresholdParam()) in TEST_F()
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dqcom,usb-snps-femto-v2.yaml67 The hardware accepts only discrete values. The value closest to the
76 The hardware accepts only discrete values. The value closest to the
84 The hardware accepts only discrete values. The value closest to the
96 The hardware accepts only discrete values. The value closest to the
108 The hardware accepts only discrete values. The value closest to the
116 The hardware accepts only discrete values. The value closest to the
125 The hardware accepts only discrete values. The value closest to the
135 resistance on the USB. The hardware accepts only discrete values. The
146 The hardware accepts only discrete values. The value closest to the
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DTrigger.interface.yaml7 - name: Discrete
10 If true than trigger uses discrete thresholds as threshold conditions.
46 A collection of discrete thresholds that contains following fields -
47 user id, severity, dwell time and threshold value. Discrete value does
48 not need to be a number. Array size is not limited. If discrete
98 Defines a context of a message that is logged when discrete threshold
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DMetricDefinition.v1_3_4.json182 …rsus actual values. The property is not meaningful when the `MetricType` property is `Discrete`.",
247 …e `Units` property. The property is not meaningful when the `MetricType` property is `Discrete`.",
266 … "description": "This array property specifies possible values of a discrete metric.",
273 …fy the possible values of the discrete metric. This property shall have values when the `MetricTy…
315 …the property Units. The property is not meaningful when the `MetricType` property is `Discrete`.",
363 …the property Units. The property is not meaningful when the `MetricType` property is `Discrete`.",
404 …the metric reading. The property is not meaningful when the `MetricType` property is `Discrete`.",
461 "Discrete",
470 …"Discrete": "The metric is a discrete metric. The metric value is discrete. The possible values … string
473 …ng": "The metric is a non-discrete string metric. The metric reading is a non-discrete string tha…
[all …]
H A DTriggers.v1_4_0.json49 "description": "The characteristics of the discrete trigger.",
50 … "longDescription": "This object shall contain the characteristics of the discrete trigger.",
99 "description": "The discrete metric value that constitutes a trigger event.",
100 …"longDescription": "This property shall contain the value discrete metric that constitutes a trigg…
111 …"description": "The condition, in relationship to the discrete trigger values, which constitutes a…
117 "Changed": "A discrete trigger condition is met whenever the metric value changes.",
118 …"Specified": "A discrete trigger condition is met when the metric value becomes one of the values …
120 …iption": "This type shall specify the condition, in relationship to the discrete trigger values, w…
167 "Discrete"
170 "Discrete": "A discrete value trigger.", string
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DMetricDefinition.v1_3_4.json182 …rsus actual values. The property is not meaningful when the `MetricType` property is `Discrete`.",
247 …e `Units` property. The property is not meaningful when the `MetricType` property is `Discrete`.",
266 … "description": "This array property specifies possible values of a discrete metric.",
273 …fy the possible values of the discrete metric. This property shall have values when the `MetricTy…
315 …the property Units. The property is not meaningful when the `MetricType` property is `Discrete`.",
363 …the property Units. The property is not meaningful when the `MetricType` property is `Discrete`.",
404 …the metric reading. The property is not meaningful when the `MetricType` property is `Discrete`.",
461 "Discrete",
470 …"Discrete": "The metric is a discrete metric. The metric value is discrete. The possible values … string
473 …ng": "The metric is a non-discrete string metric. The metric reading is a non-discrete string tha…
[all …]
H A DTriggers.v1_4_0.json49 "description": "The characteristics of the discrete trigger.",
50 … "longDescription": "This object shall contain the characteristics of the discrete trigger.",
99 "description": "The discrete metric value that constitutes a trigger event.",
100 …"longDescription": "This property shall contain the value discrete metric that constitutes a trigg…
111 …"description": "The condition, in relationship to the discrete trigger values, which constitutes a…
117 "Changed": "A discrete trigger condition is met whenever the metric value changes.",
118 …"Specified": "A discrete trigger condition is met when the metric value becomes one of the values …
120 …iption": "This type shall specify the condition, in relationship to the discrete trigger values, w…
167 "Discrete"
170 "Discrete": "A discrete value trigger.", string
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c262 * radeon_atpx_set_discrete_state - power up/down discrete GPU
265 * @state: discrete GPU state (0 = power down, 1 = power up)
268 * power down/up the discrete GPU (all asics).
300 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
303 * switch the display mux between the discrete GPU and integrated GPU
332 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
335 * switch the i2c/hpd mux between the discrete GPU and integrated GPU
364 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
367 * function to notify the sbios that a switch between the discrete GPU and
396 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c297 * amdgpu_atpx_set_discrete_state - power up/down discrete GPU
300 * @state: discrete GPU state (0 = power down, 1 = power up)
303 * power down/up the discrete GPU (all asics).
335 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
338 * switch the display mux between the discrete GPU and integrated GPU
367 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
370 * switch the i2c/hpd mux between the discrete GPU and integrated GPU
399 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
402 * function to notify the sbios that a switch between the discrete GPU and
431 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
[all …]
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dtrusted_component.hpp12 Discrete, enumerator
18 {TrustedComponentType::Discrete, "Discrete"},
H A Dtriggers.hpp13 Discrete, enumerator
53 {MetricTypeEnum::Discrete, "Discrete"},
H A Dmetric_definition.hpp13 Discrete, enumerator
56 {MetricType::Discrete, "Discrete"},
/openbmc/telemetry/src/
H A Dtrigger_actions.hpp73 namespace discrete namespace
78 explicit LogToJournal(::discrete::Severity severity) : severity(severity) {} in LogToJournal()
85 const ::discrete::Severity severity;
101 ::discrete::Severity severity, boost::asio::io_context& ioc,
132 } // namespace discrete
H A Dtrigger_actions.cpp166 namespace discrete namespace
177 "Discrete condition '" + thresholdNameIn->get() + "' of trigger '" + in commit()
194 "Logging discrete trigger action to Redfish Event Log.", in commit()
206 ::discrete::Severity severity, boost::asio::io_context& ioc, in fillActions()
245 "Discrete condition 'OnChange' of trigger '" + triggerId + in commit()
260 "Logging onChange discrete trigger action to Redfish Event Log.", in commit()
300 } // namespace discrete
H A Dtrigger.cpp90 "DiscreteThresholds", std::vector<discrete::ThresholdParam>{}, in __anon5e4599b80402()
93 const std::vector<discrete::ThresholdParam>& newVal, in __anon5e4599b80402()
94 std::vector<discrete::ThresholdParam>& oldVal) { in __anon5e4599b80402()
108 std::get_if<std::vector<discrete::ThresholdParam>>( in __anon5e4599b80402()
113 return std::vector<discrete::ThresholdParam>{}; in __anon5e4599b80402()
189 "Discrete", isDiscreate(), sdbusplus::vtable::property_::const_, in __anon5e4599b80402()
286 utils::isFirstElementOfType<discrete::LabeledThresholdParam>( in isDiscreate()
H A Dtrigger_factory.cpp29 const std::vector<discrete::LabeledThresholdParam>& newParams) const in updateDiscreteThresholds()
50 std::get<discrete::LabeledThresholdParam>( in updateDiscreteThresholds()
135 std::get<std::vector<discrete::LabeledThresholdParam>>(newParams); in updateThresholds()
158 const discrete::LabeledThresholdParam& thresholdParam) const in makeDiscreteThreshold()
163 discrete::Severity severity = thresholdParam.at_label<ts::Severity>(); in makeDiscreteThreshold()
168 action::discrete::fillActions(actions, triggerActions, severity, in makeDiscreteThreshold()
209 action::discrete::onChange::fillActions(actions, triggerActions, in makeOnChangeThreshold()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DTrustedComponent.interface.yaml39 - name: Discrete
41 A discrete trusted component. It is "discrete" when basic
/openbmc/linux/drivers/usb/gadget/udc/
H A DKconfig21 # before discrete ones so they will be the initial/default value:
23 # - licensed IP used in both SOC and discrete versions
24 # - discrete ones (including all PCI-only controllers)
162 R8A66597 is a discrete USB host and peripheral controller chip that
174 Renesas USBHS is a discrete USB host and peripheral controller chip
276 # Controllers available in both integrated and discrete versions
283 M66592 is a discrete USB peripheral controller chip that
294 # Controllers available only in discrete form (and all PCI controllers)
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enum-framesizes.rst47 - **Discrete:** The function returns success if the given index value
52 ``discrete`` member is valid.
153 - ``discrete``
181 - Discrete frame size.

12345678910>>...13