Home
last modified time | relevance | path

Searched refs:trigger (Results 1 – 25 of 1427) sorted by relevance

12345678910>>...58

/linux/tools/testing/selftests/ftrace/test.d/trigger/
A Dtrigger-filter.tc14 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger
23 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger
24 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger
25 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger
26 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger
27 echo '!traceoff' > events/sched/sched_process_fork/trigger
29 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger
30 echo '!traceoff' > events/sched/sched_process_fork/trigger
32 echo '!traceoff' > events/sched/sched_process_fork/trigger
34 echo '!traceoff' > events/sched/sched_process_fork/trigger
[all …]
A Dtrigger-eventonoff.tc12 FEATURE=`grep enable_event events/sched/sched_process_fork/trigger`
20 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
30 echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
39 ! echo 'enable_event:nogroup:noevent' > events/sched/sched_process_fork/trigger
40 ! echo 'disable_event+1' > events/sched/sched_process_fork/trigger
41 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
42 ! echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
43 ! echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
A Dtrigger-hist-expressions.tc13 trigger="events/sched/sched_process_fork/trigger"
15 reset_trigger_file $trigger
19 echo "hist:keys=common_pid:x=$2" > $trigger
23 actual=`grep -o 'x=[[:digit:]]*' $trigger | awk -F= '{ print $2 }'`
29 reset_trigger_file $trigger
33 trigger="events/sched/sched_process_fork/trigger"
36 ftrace_errlog_check 'hist:sched:sched_process_fork' "$2" $trigger
A Dtrigger-traceonoff.tc13 echo 'traceoff' > events/sched/sched_process_fork/trigger
23 echo 'traceon' > events/sched/sched_process_fork/trigger
32 ! echo 'traceoff:badparam' > events/sched/sched_process_fork/trigger
33 ! echo 'traceoff+0' > events/sched/sched_process_fork/trigger
34 echo 'traceon' > events/sched/sched_process_fork/trigger
35 ! echo 'traceon' > events/sched/sched_process_fork/trigger
36 ! echo 'traceoff' > events/sched/sched_process_fork/trigger
/linux/Documentation/driver-api/iio/
A Dtriggers.rst5 * struct iio_trigger — industrial I/O trigger device
21 IIO trigger sysfs interface
27 IIO trigger is registered with the IIO core and corresponds to trigger
35 specify the frequency for trigger calls.
39 trigger with our device by writing the trigger's name in the
42 IIO trigger setup
54 /* first, allocate memory for our trigger */
57 /* setup trigger operations field */
63 IIO trigger ops
72 trigger gets changed.
[all …]
/linux/tools/perf/util/
A Dtrigger.h25 struct trigger { struct
40 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available()
45 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error()
50 static inline void trigger_on(struct trigger *t) in trigger_on()
56 static inline void trigger_ready(struct trigger *t) in trigger_ready()
63 static inline void trigger_hit(struct trigger *t) in trigger_hit()
71 static inline void trigger_off(struct trigger *t) in trigger_off()
78 static inline void trigger_error(struct trigger *t) in trigger_error()
83 static inline bool trigger_is_ready(struct trigger *t) in trigger_is_ready()
88 static inline bool trigger_is_hit(struct trigger *t) in trigger_is_hit()
[all …]
/linux/drivers/vfio/pci/
A Dvfio_pci_intrs.c179 if (vdev->ctx[0].trigger) { in vfio_intx_set_signal()
195 if (IS_ERR(trigger)) { in vfio_intx_set_signal()
197 return PTR_ERR(trigger); in vfio_intx_set_signal()
200 vdev->ctx[0].trigger = trigger; in vfio_intx_set_signal()
210 eventfd_ctx_put(trigger); in vfio_intx_set_signal()
323 if (IS_ERR(trigger)) { in vfio_msi_set_vector_signal()
325 return PTR_ERR(trigger); in vfio_msi_set_vector_signal()
362 vdev->ctx[vector].trigger = trigger; in vfio_msi_set_vector_signal()
504 if (trigger) in vfio_pci_set_intx_trigger()
577 uint8_t trigger; in vfio_pci_set_ctx_trigger_single() local
[all …]
/linux/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc_intr.c66 struct eventfd_ctx *trigger; in vfio_set_trigger() local
71 if (irq->trigger) { in vfio_set_trigger()
74 eventfd_ctx_put(irq->trigger); in vfio_set_trigger()
75 irq->trigger = NULL; in vfio_set_trigger()
87 if (IS_ERR(trigger)) { in vfio_set_trigger()
89 return PTR_ERR(trigger); in vfio_set_trigger()
92 irq->trigger = trigger; in vfio_set_trigger()
98 eventfd_ctx_put(trigger); in vfio_set_trigger()
99 irq->trigger = NULL; in vfio_set_trigger()
148 u8 trigger = *(u8 *)data; in vfio_fsl_mc_set_irq_trigger() local
[all …]
/linux/drivers/leds/trigger/
A D.built-in.a.cmd1trigger/built-in.a := echo >/dev/null; rm -f drivers/leds/trigger/built-in.a; /usr/bin/ccache /hom…
/linux/Documentation/leds/
A Dledtrig-transient.rst30 trigger will be called, and LED state is changed to LED_OFF.
45 trigger registration, for each led class device that specifies this trigger
46 as its default trigger, trigger activation routine will get called. During
60 devices, that support this trigger as shown below::
62 echo transient > trigger
63 echo none > trigger
66 Add a new property trigger state to control the state.
74 duration to be set after trigger activation.
92 get changed by the trigger unless user does a set via
144 echo transient > trigger
[all …]
A Dledtrig-oneshot.rst5 This is a LED trigger useful for signaling the user of an event where there are
7 trigger, the application needs only to signal the trigger when an event has
8 happened, than the trigger turns the LED on and than keeps it off for a
11 This trigger is meant to be usable both for sporadic and dense events. In the
12 first case, the trigger produces a clear single controlled blink for each
20 The trigger can be activated from user space on led class devices as shown
23 echo oneshot > trigger
26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot
30 echo oneshot > trigger # set trigger for this led
/linux/Documentation/iio/
A Diio_configfs.rst38 trigger types. A new trigger type is usually implemented as a separate
42 * drivers/iio/trigger/iio-trig-sample.c
43 * sample kernel module implementing a new trigger type
51 * This allocates and registers an IIO trigger plus other
52 * trigger type specific initialization.
76 Each trigger type has its own directory under /config/iio/triggers. Loading
77 iio-trig-sample module will create 'trig-sample' trigger type directory
80 We support the following interrupt sources (trigger types):
95 Each trigger can have one or more attributes specific to the trigger type.
97 3.2 "hrtimer" trigger types attributes
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-bus-iio-trigger-sysfs5 This file is provided by the iio-trig-sysfs stand-alone trigger
7 driven driver, associated with this trigger, to capture data
9 automated testing or in situations, where other trigger methods
11 X is the IIO index of the trigger.
18 trigger. In order to associate the trigger with an IIO device
20 /sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
27 driver and it is used to activate the creation of a new trigger.
30 trigger. If the trigger with the specified id is already present
38 created trigger from the list of available triggers. In order to
40 associated file, representing the id of the trigger that needs
[all …]
A Dsysfs-bus-iio-timer-stm3210 used as trigger output (TRGO).
13 as trigger output.
15 The update event is selected as trigger output.
19 The trigger output send a positive pulse
22 OC1REF signal is used as trigger output.
24 OC2REF signal is used as trigger output.
26 OC3REF signal is used as trigger output.
28 OC4REF signal is used as trigger output.
33 OC5REF signal is used as trigger output.
35 OC6REF signal is used as trigger output.
[all …]
/linux/arch/arm/boot/dts/
A Dbcm47081-luxul-xwr-1200.dts35 linux,default-trigger = "default-on";
41 linux,default-trigger = "none";
47 linux,default-trigger = "none";
53 linux,default-trigger = "none";
59 linux,default-trigger = "none";
65 trigger-sources = <&ohci_port2>, <&ehci_port2>;
66 linux,default-trigger = "usbport";
72 linux,default-trigger = "timer";
78 linux,default-trigger = "none";
84 linux,default-trigger = "none";
[all …]
/linux/include/linux/
A Dleds.h149 struct led_trigger *trigger; member
382 int led_trigger_register(struct led_trigger *trigger);
383 void led_trigger_unregister(struct led_trigger *trigger);
385 struct led_trigger *trigger);
388 struct led_trigger **trigger);
389 void led_trigger_unregister_simple(struct led_trigger *trigger);
393 void led_trigger_blink_oneshot(struct led_trigger *trigger,
440 struct led_trigger **trigger) {} in led_trigger_register_simple() argument
442 static inline void led_trigger_event(struct led_trigger *trigger, in led_trigger_event() argument
444 static inline void led_trigger_blink(struct led_trigger *trigger, in led_trigger_blink() argument
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
A Dtrigger-inter-event-combined-hist.tc20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger
21 ….sched_waking).waking_latency($waking_lat,pid) if comm=="ping"' > events/sched/sched_wakeup/trigger
22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger
26 …eup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sched_switch/trigger
29 …wakeup_latency).waking_plus_wakeup_latency($ww_lat,pid)' >> events/synthetic/wakeup_latency/trigger
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
/linux/drivers/iio/trigger/
A Diio-trig-loop.c87 trig_info->swt.trigger = iio_trigger_alloc(NULL, "%s", name); in iio_trig_loop_probe()
88 if (!trig_info->swt.trigger) { in iio_trig_loop_probe()
93 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_loop_probe()
94 trig_info->swt.trigger->ops = &iio_loop_trigger_ops; in iio_trig_loop_probe()
96 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_loop_probe()
105 iio_trigger_free(trig_info->swt.trigger); in iio_trig_loop_probe()
116 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_loop_remove()
118 iio_trigger_unregister(swt->trigger); in iio_trig_loop_remove()
119 iio_trigger_free(swt->trigger); in iio_trig_loop_remove()
A Diio-trig-hrtimer.c105 iio_trigger_poll(info->swt.trigger); in iio_hrtimer_trig_handler()
138 trig_info->swt.trigger = iio_trigger_alloc(NULL, "%s", name); in iio_trig_hrtimer_probe()
139 if (!trig_info->swt.trigger) { in iio_trig_hrtimer_probe()
144 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_hrtimer_probe()
145 trig_info->swt.trigger->ops = &iio_hrtimer_trigger_ops; in iio_trig_hrtimer_probe()
146 trig_info->swt.trigger->dev.groups = iio_hrtimer_attr_groups; in iio_trig_hrtimer_probe()
154 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_hrtimer_probe()
161 iio_trigger_free(trig_info->swt.trigger); in iio_trig_hrtimer_probe()
172 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_hrtimer_remove()
174 iio_trigger_unregister(swt->trigger); in iio_trig_hrtimer_remove()
[all …]
A DKconfig10 tristate "High resolution timer trigger"
13 Provides a frequency based IIO trigger using high resolution
20 tristate "Generic interrupt trigger"
23 trigger. This may be provided by a gpio driver for example.
33 This can be used as trigger source for STM32 internal ADC
37 module will be called stm32-lptimer-trigger.
46 module will be called stm32-timer-trigger.
49 tristate "A kthread based hammering loop trigger"
52 An experimental trigger, used to allow sensors to be sampled as fast
55 trigger consumers.
[all …]
/linux/Documentation/devicetree/bindings/power/reset/
A Dltc2952-poweroff.txt3 This chip is used to externally trigger a system shut down. Once the trigger has
16 - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
17 chip's trigger line. If this property is not set, the
18 trigger function is ignored and the chip is kept alive
20 - trigger-delay-ms The number of milliseconds to wait after trigger line
29 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
30 trigger-delay-ms = <2000>;
/linux/drivers/vfio/platform/
A Dvfio_platform_irq.c176 struct eventfd_ctx *trigger; in vfio_set_trigger() local
179 if (irq->trigger) { in vfio_set_trigger()
183 eventfd_ctx_put(irq->trigger); in vfio_set_trigger()
184 irq->trigger = NULL; in vfio_set_trigger()
195 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger()
196 if (IS_ERR(trigger)) { in vfio_set_trigger()
198 return PTR_ERR(trigger); in vfio_set_trigger()
201 irq->trigger = trigger; in vfio_set_trigger()
207 eventfd_ctx_put(trigger); in vfio_set_trigger()
208 irq->trigger = NULL; in vfio_set_trigger()
[all …]
/linux/arch/ia64/kernel/
A Diosapic.c217 unsigned long pol, trigger, dmode; in set_rte() local
232 trigger = iosapic_intr_info[irq].trigger; in set_rte()
242 (trigger << IOSAPIC_TRIGGER_SHIFT) | in set_rte()
492 if (trigger == IOSAPIC_EDGE) in iosapic_find_sharable_irq()
497 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq()
545 if (trigger == IOSAPIC_EDGE) in ia64_native_iosapic_get_irq_chip()
585 (info->trigger != trigger || info->polarity != polarity)){ in register_intr()
598 iosapic_intr_info[irq].trigger = trigger; in register_intr()
786 unsigned long trigger, polarity; in iosapic_unregister_intr() local
825 trigger = iosapic_intr_info[irq].trigger; in iosapic_unregister_intr()
[all …]
/linux/drivers/leds/
A Dbuilt-in.a9 trigger/ledtrig-timer.o/
10 trigger/ledtrig-disk.o/
11 trigger/ledtrig-heartbeat.o/
12 trigger/ledtrig-cpu.o/
13 trigger/ledtrig-default-on.o/
14 trigger/ledtrig-panic.o/
A Dled-triggers.c99 led_cdev->trigger ? "none" : "[none]"); in led_trigger_format()
107 hit = led_cdev->trigger && !strcmp(led_cdev->trigger->name, trig->name); in led_trigger_format()
165 if (!led_cdev->trigger && !trig) in led_trigger_set()
172 if (led_cdev->trigger) { in led_trigger_set()
182 if (led_cdev->trigger->deactivate) in led_trigger_set()
183 led_cdev->trigger->deactivate(led_cdev); in led_trigger_set()
185 led_cdev->trigger = NULL; in led_trigger_set()
194 led_cdev->trigger = trig; in led_trigger_set()
228 spin_lock(&led_cdev->trigger->leddev_list_lock); in led_trigger_set()
232 led_cdev->trigger = NULL; in led_trigger_set()
[all …]

Completed in 34 milliseconds

12345678910>>...58