/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Triggers_v1.xml | 4 <!--# Redfish Schema: Triggers v1.4.0 --> 34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers"> 38 <EntityType Name="Triggers" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 39 …<Annotation Term="OData.Description" String="The `Triggers` schema describes a trigger condition t… 49 … <Annotation Term="OData.Description" String="Triggers can be updated to configure them."/> 55 <Annotation Term="OData.Description" String="Triggers can be deleted."/> 60 <String>/redfish/v1/TelemetryService/Triggers/{TriggersId}</String> 66 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_0"> 70 <EntityType Name="Triggers" BaseType="Triggers.Triggers"> 71 <Property Name="MetricType" Type="Triggers.v1_0_0.MetricTypeEnum"> [all …]
|
H A D | TriggersCollection_v1.xml | 27 <edmx:Include Namespace="Triggers"/> 37 … <Annotation Term="OData.Description" String="The collection of `Triggers` resource instances."/> 38 …iption" String="This resource shall represent a resource collection of `Triggers` instances for a … 42 …<Annotation Term="OData.Description" String="Create triggers through a `POST` to the trigger colle… 57 <String>/redfish/v1/TelemetryService/Triggers</String> 60 <NavigationProperty Name="Members" Type="Collection(Triggers.Triggers)">
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Triggers_v1.xml | 4 <!--# Redfish Schema: Triggers v1.4.0 --> 34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers"> 38 <EntityType Name="Triggers" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 39 …<Annotation Term="OData.Description" String="The `Triggers` schema describes a trigger condition t… 49 … <Annotation Term="OData.Description" String="Triggers can be updated to configure them."/> 55 <Annotation Term="OData.Description" String="Triggers can be deleted."/> 60 <String>/redfish/v1/TelemetryService/Triggers/{TriggersId}</String> 66 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_0"> 70 <EntityType Name="Triggers" BaseType="Triggers.Triggers"> 71 <Property Name="MetricType" Type="Triggers.v1_0_0.MetricTypeEnum"> [all …]
|
H A D | TriggersCollection_v1.xml | 27 <edmx:Include Namespace="Triggers"/> 37 … <Annotation Term="OData.Description" String="The collection of `Triggers` resource instances."/> 38 …iption" String="This resource shall represent a resource collection of `Triggers` instances for a … 42 …<Annotation Term="OData.Description" String="Create triggers through a `POST` to the trigger colle… 57 <String>/redfish/v1/TelemetryService/Triggers</String> 60 <NavigationProperty Name="Members" Type="Collection(Triggers.Triggers)">
|
/openbmc/linux/Documentation/iio/ |
H A D | iio_configfs.rst | 10 triggers). 30 3. Software triggers 33 One of the IIO default configfs groups is the "triggers" group. It is 35 under /config/iio/triggers. 37 IIO software triggers implementation offers support for creating multiple 76 Each trigger type has its own directory under /config/iio/triggers. Loading 78 /config/iio/triggers/trig-sample. 84 3.1 Hrtimer triggers creation and destruction 88 users to create hrtimer triggers under /config/iio/triggers/hrtimer. 92 $ mkdir /config/iio/triggers/hrtimer/instance1 [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | gen-fan-zone-defs.py | 176 if ("timer" in event["triggers"]) and ( 177 event["triggers"]["timer"] is not None 180 e += "\t" + event["triggers"]["timer"]["interval"] + ",\n" 181 e += "\t" + event["triggers"]["timer"]["type"] + "\n" 184 if ("signals" in event["triggers"]) and ( 185 event["triggers"]["signals"] is not None 187 for s in event["triggers"]["signals"]: 222 if "init" in event["triggers"]: 223 for i in event["triggers"]["init"]: 595 # Add event triggers [all …]
|
H A D | meson.build | 16 include_dirs += ['./json', './json/actions', './json/triggers'] 42 'json/triggers/init.cpp', 43 'json/triggers/parameter.cpp', 44 'json/triggers/signal.cpp', 45 'json/triggers/timer.cpp', 80 'triggers.cpp',
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | trigger.hpp | 12 #include "generated/enums/triggers.hpp" 68 inline triggers::TriggerActionEnum toRedfishTriggerAction( in toRedfishTriggerAction() 74 return triggers::TriggerActionEnum::RedfishMetricReport; in toRedfishTriggerAction() 79 return triggers::TriggerActionEnum::RedfishEvent; in toRedfishTriggerAction() 84 return triggers::TriggerActionEnum::LogToLogService; in toRedfishTriggerAction() 86 return triggers::TriggerActionEnum::Invalid; in toRedfishTriggerAction() 185 inline triggers::ThresholdActivation toRedfishActivation( in toRedfishActivation() 190 return triggers::ThresholdActivation::Either; in toRedfishActivation() 196 return triggers::ThresholdActivation::Decreasing; in toRedfishActivation() 202 return triggers::ThresholdActivation::Increasing; in toRedfishActivation() [all …]
|
/openbmc/phosphor-fan-presence/control/templates/ |
H A D | defs.mako | 97 %if ('timer' in event['triggers']) and \ 98 (event['triggers']['timer'] is not None): 100 ${event['triggers']['timer']['interval']}, 101 ${event['triggers']['timer']['type']} 104 %if ('signals' in event['triggers']) and \ 105 (event['triggers']['signals'] is not None): 106 %for s in event['triggers']['signals']: 128 %if ('init' in event['triggers']): 129 %for i in event['triggers']['init']:
|
H A D | fan_zone_defs.mako.cpp | 14 #include "triggers.hpp" 150 %if ('timer' in event['pc']['triggers']) and \ 151 (event['pc']['triggers']['timer'] is not None): 153 ${event['pc']['triggers']['pctime']['interval']}, 154 ${event['pc']['triggers']['pctime']['type']} 157 %if ('pcsigs' in event['pc']['triggers']) and \ 158 (event['pc']['triggers']['pcsigs'] is not None): 159 %for s in event['pc']['triggers']['pcsigs']: 181 %if ('init' in event['pc']['triggers']): 182 %for i in event['pc']['triggers']['init']:
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-ect.rst | 14 individual input and output hardware signals known as triggers to and from 30 The CTI driver enables the programming of the CTI to attach triggers to 34 activating connected output triggers there, unless filtered by the CTI 84 * ``nr_trigger_cons`` : total connections - triggers<N> directories. 88 * ``triggers<N>``: contains list of triggers for an individual connection. 97 triggers<N> directories 103 Each triggers directory has a set of parameters describing the triggers for 127 If a connection has zero signals in either the 'in' or 'out' triggers then 133 This provides an easy way to attach triggers to channels, without needing 180 * ``chan_xtrigs_in``: Read to show the input triggers attached to [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.c | 30 * If the SPR is not recognised by the hardware it triggers in dexcr_exists() 47 * Just test if a bad hashchk triggers a signal, without checking 53 volatile bool triggers; in hashchk_triggers() local 59 triggers = true; in hashchk_triggers() 61 triggers = false; in hashchk_triggers() 65 return triggers; in hashchk_triggers() 115 * If they differ, an interrupt triggers.
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | events.json | 12 "triggers": [ array 56 "triggers": [ array 87 "triggers": [ array 116 "triggers": [ array 145 "triggers": [ array 174 "triggers": [ array 235 "triggers": [ array 302 "triggers": [ 336 "triggers": [ 500 "triggers" 305 "triggers": [ global() array 469 "triggers": [ global() array 506 "triggers": [ global() array 548 "triggers": [ global() array 590 "triggers": [ global() array 632 "triggers": [ global() array 674 "triggers": [ global() array 716 "triggers": [ global() array 758 "triggers": [ global() array 800 "triggers": [ global() array 842 "triggers": [ global() array 884 "triggers": [ global() array 926 "triggers": [ global() array 968 "triggers": [ global() array 1010 "triggers": [ global() array 1052 "triggers": [ global() array 1094 "triggers": [ global() array 1136 "triggers": [ global() array 1178 "triggers": [ global() array 1220 "triggers": [ global() array 1262 "triggers": [ global() array 1304 "triggers": [ global() array 1346 "triggers": [ global() array 1509 "triggers": [ global() array 2136 "triggers": [ global() array 2182 "triggers": [ global() array 2213 "triggers": [ global() array 2322 "triggers": [ global() array [all...] |
/openbmc/linux/kernel/trace/ |
H A D | trace_events_trigger.c | 3 * trace_events_trigger - trace event triggers 25 /* make sure current triggers exit before free */ in trigger_data_free() 32 * event_triggers_call - Call triggers associated with a trace event 66 if (list_empty(&file->triggers)) in event_triggers_call() 69 list_for_each_entry_rcu(data, &file->triggers, list) { in event_triggers_call() 121 list_for_each_entry_rcu(data, &file->triggers, list) { in event_triggers_post_call() 140 return seq_list_next(t, &event_file->triggers, pos); in trigger_next() 147 list_for_each_entry_rcu(data, &file->triggers, list, in check_user_trigger() 166 if (list_empty(&event_file->triggers) || !check_user_trigger(event_file)) in trigger_start() 169 return seq_list_start(&event_file->triggers, *pos); in trigger_start() [all …]
|
/openbmc/telemetry/src/ |
H A D | trigger_manager.cpp | 69 triggers.erase( in removeTrigger() 70 std::remove_if(triggers.begin(), triggers.end(), in removeTrigger() 72 triggers.end()); in removeTrigger() 113 if (triggers.size() >= maxTriggers) in verifyAddTrigger() 132 triggers, [](const auto& trigger) { return trigger->getId(); }); in addTrigger() 139 triggers.emplace_back(triggerFactory->make( in addTrigger() 143 return *triggers.back(); in addTrigger()
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | events.json | 12 "triggers": [ array 66 "triggers": [ array 97 "triggers": [ array 126 "triggers": [ array 155 "triggers": [ array 184 "triggers": [ array 213 "triggers": [ array 242 "triggers": [ array 308 "triggers": [ array 380 "triggers" 383 "triggers": [ global() array 512 "triggers": [ global() array 549 "triggers": [ global() array 591 "triggers": [ global() array 633 "triggers": [ global() array 675 "triggers": [ global() array 717 "triggers": [ global() array 759 "triggers": [ global() array 801 "triggers": [ global() array 843 "triggers": [ global() array 885 "triggers": [ global() array 927 "triggers": [ global() array 969 "triggers": [ global() array 1011 "triggers": [ global() array 1053 "triggers": [ global() array 1181 "triggers": [ global() array 1640 "triggers": [ global() array 1686 "triggers": [ global() array 1717 "triggers": [ global() array 1826 "triggers": [ global() array [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge2U/ |
H A D | events.json | 12 "triggers": [ array 66 "triggers": [ array 97 "triggers": [ array 126 "triggers": [ array 155 "triggers": [ array 184 "triggers": [ array 213 "triggers": [ array 242 "triggers": [ array 308 "triggers": [ array 380 "triggers" 383 "triggers": [ global() array 512 "triggers": [ global() array 549 "triggers": [ global() array 591 "triggers": [ global() array 633 "triggers": [ global() array 675 "triggers": [ global() array 717 "triggers": [ global() array 759 "triggers": [ global() array 801 "triggers": [ global() array 843 "triggers": [ global() array 885 "triggers": [ global() array 927 "triggers": [ global() array 969 "triggers": [ global() array 1011 "triggers": [ global() array 1053 "triggers": [ global() array 1181 "triggers": [ global() array 1640 "triggers": [ global() array 1686 "triggers": [ global() array 1717 "triggers": [ global() array 1826 "triggers": [ global() array [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | events.json | 12 "triggers": [ array 66 "triggers": [ array 126 "triggers": [ array 198 "triggers": [ 232 "triggers": [ 355 "triggers": [ 392 "triggers": [ 434 "triggers": [ 476 "triggers": [ 518 "triggers" 201 "triggers": [ global() array 324 "triggers": [ global() array 361 "triggers": [ global() array 403 "triggers": [ global() array 445 "triggers": [ global() array 487 "triggers": [ global() array 529 "triggers": [ global() array 572 "triggers": [ global() array 614 "triggers": [ global() array 656 "triggers": [ global() array 698 "triggers": [ global() array 740 "triggers": [ global() array 782 "triggers": [ global() array 824 "triggers": [ global() array 866 "triggers": [ global() array 994 "triggers": [ global() array 1453 "triggers": [ global() array 1499 "triggers": [ global() array 1530 "triggers": [ global() array 1577 "triggers": [ global() array [all...] |
/openbmc/phosphor-fan-presence/control/json/ |
H A D | event.cpp | 63 // Don't call the powerOn or powerOff triggers in enable() 275 if (!jsonObj.contains("triggers")) in setTriggers() 277 log<level::ERR>("Missing required event triggers list", in setTriggers() 279 throw std::runtime_error("Missing required event triggers list"); in setTriggers() 281 for (const auto& jsonTrig : jsonObj["triggers"]) in setTriggers() 292 auto trigFunc = trigger::triggers.find(tClass); in setTriggers() 293 if (trigFunc != trigger::triggers.end()) in setTriggers() 301 // Construct list of available triggers in setTriggers() 303 std::next(trigger::triggers.begin()), trigger::triggers.end(), in setTriggers() 304 trigger::triggers.begin()->first, [](auto list, auto trig) { in setTriggers()
|
H A D | event.hpp | 42 * are made up of groups of sensors, triggers from those sensors, and actions 43 * to be run when a trigger occurs. The triggers and actions configured must be 77 * event triggers, etc... 82 * @brief Call any power on triggers 87 * @brief Call any power off triggers 183 * @brief Parse and set the event's triggers 187 * Sets the list of triggers for the event
|
/openbmc/linux/drivers/iio/ |
H A D | Kconfig | 30 (e.g. software triggers). For more info see 39 Provides IIO core support for triggers. Currently these 41 buffers. The triggers are effectively a 'capture 61 tristate "Enable software triggers support" 64 Provides IIO core support for software triggers. A software
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/witherspoon/ |
H A D | events.yaml | 324 triggers: 339 triggers: 357 triggers: 381 triggers: 433 triggers: 466 triggers: 500 triggers: 534 triggers: 568 triggers: 600 triggers: [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-cti | 23 Description: (Read) Number of devices connected to triggers on this CTI 25 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name 31 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals 37 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types 44 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals 50 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types 196 Description: (Read) List of output triggers filtered across all connections. 227 Description: (Read) Read to see input triggers connected to selected view 234 Description: (Read) Read to see output triggers connected to selected view
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | func_traceonoff_triggers.tc | 3 # description: ftrace - test for function traceon/off triggers 6 # The triggers are set within the set_ftrace_filter file 9 # Ftrace allows to add triggers to functions, such as enabling or disabling 13 # This test is designed to test enabling and disabling tracing triggers 167 fail "Tracing on and off triggers still exist"
|
/openbmc/phosphor-fan-presence/docs/control/ |
H A D | events.md | 4 can contain groups, triggers, and actions. 7 Triggers specify when an action should run. Groups specify which D-Bus objects 8 the triggers and actions should operate on. 13 - [Triggers](#triggers) 30 "triggers": [ 88 The actions and triggers defined with this group will look at this D-Bus 93 The actions and triggers defined with this group will look at this D-Bus 96 ## Triggers section in events.json 98 There are several classes of triggers, and the JSON configuration is different 103 Init triggers run when fan control events are enabled on fan control startup. [all …]
|