/linux-6.6.21/tools/testing/selftests/ftrace/test.d/trigger/ ! |
D | trigger-filter.tc | 14 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 28 ! echo 'traceoff if common_pid == child_pid' > 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 31 echo 'traceoff if common_pid >= 0' > events/sched/sched_process_fork/trigger [all …]
|
D | trigger-eventonoff.tc | 12 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
|
D | trigger-hist-expressions.tc | 13 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
|
D | trigger-traceonoff.tc | 13 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
|
D | trigger-stacktrace.tc | 11 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger` 20 echo 'stacktrace' > events/sched/sched_process_fork/trigger 29 ! echo "stacktrace:foo" > events/sched/sched_process_fork/trigger 30 echo "stacktrace" > events/sched/sched_process_fork/trigger 31 ! echo "stacktrace" > events/sched/sched_process_fork/trigger
|
/linux-6.6.21/Documentation/driver-api/iio/ ! |
D | triggers.rst | 5 * struct iio_trigger — industrial I/O trigger device 9 * :c:func:`iio_trigger_validate_own_device` — Check if a trigger and IIO 13 on some external event (trigger) as opposed to periodically polling for data. 14 An IIO trigger can be provided by a device driver that also has an IIO device 18 a specific file in sysfs). A trigger may initiate data capture for a number of 21 IIO trigger sysfs interface 26 * :file:`/sys/bus/iio/devices/trigger{Y}/*`, this file is created once an 27 IIO trigger is registered with the IIO core and corresponds to trigger 32 * :file:`name`, trigger name that can be later used for association with a 35 specify the frequency for trigger calls. [all …]
|
/linux-6.6.21/tools/perf/util/ ! |
D | trigger.h | 25 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-6.6.21/tools/tracing/rtla/src/ ! |
D | trace.c | 214 if (free_event->trigger) in trace_events_free() 215 free(free_event->trigger); in trace_events_free() 265 int trace_event_add_trigger(struct trace_events *event, char *trigger) in trace_event_add_trigger() argument 267 if (event->trigger) in trace_event_add_trigger() 268 free(event->trigger); in trace_event_add_trigger() 270 event->trigger = strdup(trigger); in trace_event_add_trigger() 271 if (!event->trigger) in trace_event_add_trigger() 321 if (!tevent->trigger) in trace_event_save_hist() 325 retval = strncmp(tevent->trigger, "hist:", strlen("hist:")); in trace_event_save_hist() 361 char trigger[1024]; in trace_event_disable_trigger() local [all …]
|
/linux-6.6.21/drivers/vfio/fsl-mc/ ! |
D | vfio_fsl_mc_intr.c | 57 eventfd_signal(mc_irq->trigger, 1); in vfio_fsl_mc_irq_handler() 65 struct eventfd_ctx *trigger; in vfio_set_trigger() local 70 if (irq->trigger) { in vfio_set_trigger() 73 eventfd_ctx_put(irq->trigger); in vfio_set_trigger() 74 irq->trigger = NULL; in vfio_set_trigger() 85 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger() 86 if (IS_ERR(trigger)) { in vfio_set_trigger() 88 return PTR_ERR(trigger); in vfio_set_trigger() 91 irq->trigger = trigger; in vfio_set_trigger() 97 eventfd_ctx_put(trigger); in vfio_set_trigger() [all …]
|
/linux-6.6.21/Documentation/iio/ ! |
D | iio_configfs.rst | 38 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): 87 Loading iio-trig-hrtimer module will register hrtimer trigger types allowing 95 Each trigger can have one or more attributes specific to the trigger type. [all …]
|
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ ! |
D | trigger-inter-event-combined-hist.tc | 20 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-6.6.21/drivers/vfio/pci/ ! |
D | vfio_pci_intrs.c | 26 struct eventfd_ctx *trigger; member 97 eventfd_signal(ctx->trigger, 1); in vfio_send_intx_eventfd() 268 struct eventfd_ctx *trigger; in vfio_intx_set_signal() local 276 if (ctx->trigger) { in vfio_intx_set_signal() 279 eventfd_ctx_put(ctx->trigger); in vfio_intx_set_signal() 280 ctx->trigger = NULL; in vfio_intx_set_signal() 291 trigger = eventfd_ctx_fdget(fd); in vfio_intx_set_signal() 292 if (IS_ERR(trigger)) { in vfio_intx_set_signal() 294 return PTR_ERR(trigger); in vfio_intx_set_signal() 297 ctx->trigger = trigger; in vfio_intx_set_signal() [all …]
|
/linux-6.6.21/Documentation/ABI/testing/ ! |
D | sysfs-bus-iio-trigger-sysfs | 5 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 …]
|
D | sysfs-bus-iio-timer-stm32 | 10 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-6.6.21/Documentation/leds/ ! |
D | ledtrig-transient.rst | 5 The leds timer trigger does not currently have an interface to activate 10 should stay in off state. The on and off cycle repeats until the trigger 15 Without one shot timer interface, user space can still use timer trigger to 20 Transient trigger addresses the need for one shot timer activation. The 21 transient trigger can be enabled and disabled just like the other leds 25 triggers it supports and a default trigger. During registration, activation 26 routine for the default trigger gets called. During registration of an led 30 trigger will be called, and LED state is changed to LED_OFF. 34 suspend and resume actions and the currently enabled trigger. LED state 42 echo 0 > brightness, it will result in deactivating the current trigger. [all …]
|
D | ledtrig-oneshot.rst | 5 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, then the trigger turns the LED on and then 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-6.6.21/drivers/iio/trigger/ ! |
D | iio-trig-loop.c | 87 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()
|
D | iio-trig-hrtimer.c | 105 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 …]
|
D | Kconfig | 10 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-6.6.21/Documentation/devicetree/bindings/power/reset/ ! |
D | ltc2952-poweroff.txt | 3 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-6.6.21/arch/arm/boot/dts/broadcom/ ! |
D | bcm47081-luxul-xwr-1200.dts | 39 linux,default-trigger = "default-on"; 45 linux,default-trigger = "none"; 51 linux,default-trigger = "none"; 57 linux,default-trigger = "none"; 63 linux,default-trigger = "none"; 69 trigger-sources = <&ohci_port2>, <&ehci_port2>; 70 linux,default-trigger = "usbport"; 76 linux,default-trigger = "timer"; 82 linux,default-trigger = "none"; 88 linux,default-trigger = "none"; [all …]
|
/linux-6.6.21/drivers/vfio/platform/ ! |
D | vfio_platform_irq.c | 158 eventfd_signal(irq_ctx->trigger, 1); in vfio_automasked_irq_handler() 167 eventfd_signal(irq_ctx->trigger, 1); in vfio_irq_handler() 176 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() 194 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger() 195 if (IS_ERR(trigger)) { in vfio_set_trigger() 197 return PTR_ERR(trigger); in vfio_set_trigger() 200 irq->trigger = trigger; in vfio_set_trigger() [all …]
|
/linux-6.6.21/include/linux/ ! |
D | leds.h | 189 struct led_trigger *trigger; member 500 int led_trigger_register(struct led_trigger *trigger); 501 void led_trigger_unregister(struct led_trigger *trigger); 503 struct led_trigger *trigger); 506 struct led_trigger **trigger); 507 void led_trigger_unregister_simple(struct led_trigger *trigger); 508 void led_trigger_event(struct led_trigger *trigger, enum led_brightness event); 509 void led_trigger_blink(struct led_trigger *trigger, unsigned long delay_on, 511 void led_trigger_blink_oneshot(struct led_trigger *trigger, 516 int led_trigger_set(struct led_classdev *led_cdev, struct led_trigger *trigger); [all …]
|
/linux-6.6.21/drivers/leds/trigger/ ! |
D | ledtrig-panic.c | 15 static struct led_trigger *trigger; variable 29 if (led_cdev->trigger) in led_trigger_set_panic() 37 led_cdev->trigger = trig; in led_trigger_set_panic() 61 led_trigger_event(trigger, state ? LED_FULL : LED_OFF); in led_panic_blink() 67 led_trigger_register_simple("panic", &trigger); in ledtrig_panic_init() 68 if (!trigger) in ledtrig_panic_init()
|
/linux-6.6.21/arch/ia64/kernel/ ! |
D | iosapic.c | 145 unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ member 217 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() 483 static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol) in iosapic_find_sharable_irq() argument 492 if (trigger == IOSAPIC_EDGE) in iosapic_find_sharable_irq() 497 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq() 543 ia64_native_iosapic_get_irq_chip(unsigned long trigger) in ia64_native_iosapic_get_irq_chip() argument 545 if (trigger == IOSAPIC_EDGE) in ia64_native_iosapic_get_irq_chip() 553 unsigned long polarity, unsigned long trigger) in register_intr() argument [all …]
|