/Linux-v5.4/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-filter.tc | 16 if [ ! -f events/sched/sched_process_fork/trigger ]; then 23 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger 32 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger 33 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger 34 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger 35 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger 36 echo '!traceoff' > events/sched/sched_process_fork/trigger 37 ! echo 'traceoff if common_pid == child_pid' > events/sched/sched_process_fork/trigger 38 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger 39 echo '!traceoff' > events/sched/sched_process_fork/trigger [all …]
|
D | trigger-eventonoff.tc | 16 if [ ! -f events/sched/sched_process_fork/trigger ]; then 21 FEATURE=`grep enable_event events/sched/sched_process_fork/trigger` 29 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 39 echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 48 ! echo 'enable_event:nogroup:noevent' > events/sched/sched_process_fork/trigger 49 ! echo 'disable_event+1' > events/sched/sched_process_fork/trigger 50 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 51 ! echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger 52 ! echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger
|
D | trigger-traceonoff.tc | 15 if [ ! -f events/sched/sched_process_fork/trigger ]; then 22 echo 'traceoff' > events/sched/sched_process_fork/trigger 32 echo 'traceon' > events/sched/sched_process_fork/trigger 41 ! echo 'traceoff:badparam' > events/sched/sched_process_fork/trigger 42 ! echo 'traceoff+0' > events/sched/sched_process_fork/trigger 43 echo 'traceon' > events/sched/sched_process_fork/trigger 44 ! echo 'traceon' > events/sched/sched_process_fork/trigger 45 ! echo 'traceoff' > events/sched/sched_process_fork/trigger
|
D | trigger-stacktrace.tc | 15 if [ ! -f events/sched/sched_process_fork/trigger ]; then 20 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger` 29 echo 'stacktrace' > events/sched/sched_process_fork/trigger 38 ! echo "stacktrace:foo" > events/sched/sched_process_fork/trigger 39 echo "stacktrace" > events/sched/sched_process_fork/trigger 40 ! echo "stacktrace" > events/sched/sched_process_fork/trigger
|
D | trigger-snapshot.tc | 15 if [ ! -f events/sched/sched_process_fork/trigger ]; then 25 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger` 35 echo 'snapshot:1' > events/sched/sched_process_fork/trigger 46 ! echo "snapshot+1" > events/sched/sched_process_fork/trigger 47 echo "snapshot" > events/sched/sched_process_fork/trigger 48 ! echo "snapshot" > events/sched/sched_process_fork/trigger
|
/Linux-v5.4/Documentation/driver-api/iio/ |
D | triggers.rst | 5 * struct :c:type:`iio_trigger` — industrial I/O trigger device 11 * :c:func:`iio_trigger_validate_own_device` — Check if a trigger and IIO 15 on some external event (trigger) as opposed to periodically polling for data. 16 An IIO trigger can be provided by a device driver that also has an IIO device 20 a specific file in sysfs). A trigger may initiate data capture for a number of 23 IIO trigger sysfs interface 28 * :file:`/sys/bus/iio/devices/trigger{Y}/*`, this file is created once an 29 IIO trigger is registered with the IIO core and corresponds to trigger 34 * :file:`name`, trigger name that can be later used for association with a 37 specify the frequency for trigger calls. [all …]
|
/Linux-v5.4/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-v5.4/Documentation/devicetree/bindings/iio/adc/ |
D | at91_adc.txt | 32 NOTE: when adc touchscreen is enabled, the adc hardware trigger will be 33 disabled. Since touchscreen will occupy the trigger register. 37 Optional trigger Nodes: 39 * trigger-name: Name of the trigger exposed to the user 40 * trigger-value: Value to put in the Trigger register 41 to activate this trigger 43 * trigger-external: Is the trigger an external trigger? 63 trigger-name = "external-rising"; 64 trigger-value = <0x1>; 65 trigger-external; [all …]
|
/Linux-v5.4/drivers/vfio/pci/ |
D | vfio_pci_intrs.c | 33 eventfd_signal(vdev->ctx[0].trigger, 1); in vfio_send_intx_eventfd() 175 struct eventfd_ctx *trigger; in vfio_intx_set_signal() local 179 if (vdev->ctx[0].trigger) { in vfio_intx_set_signal() 182 eventfd_ctx_put(vdev->ctx[0].trigger); in vfio_intx_set_signal() 183 vdev->ctx[0].trigger = NULL; in vfio_intx_set_signal() 194 trigger = eventfd_ctx_fdget(fd); 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() 208 vdev->ctx[0].trigger = NULL; in vfio_intx_set_signal() [all …]
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | bcm47081-luxul-xwr-1200.dts | 30 linux,default-trigger = "default-on"; 36 linux,default-trigger = "none"; 42 linux,default-trigger = "none"; 48 linux,default-trigger = "none"; 54 linux,default-trigger = "none"; 60 trigger-sources = <&ohci_port2>, <&ehci_port2>; 61 linux,default-trigger = "usbport"; 67 linux,default-trigger = "timer"; 73 linux,default-trigger = "none"; 79 linux,default-trigger = "none"; [all …]
|
/Linux-v5.4/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-v5.4/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
D | trigger-inter-event-combined-hist.tc | 29 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 30 ….sched_waking).waking_latency($waking_lat,pid) if comm=="ping"' > events/sched/sched_wakeup/trigger 31 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger 34 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger 35 …eup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sched_switch/trigger 38 …etic.wakeup_latency).waking+wakeup_latency($ww_lat,pid)' >> events/synthetic/wakeup_latency/trigger 39 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking+wakeup_latency/trigger
|
/Linux-v5.4/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 | 7 used as trigger output (TRGO). 9 as trigger output. 10 - "update" : The update event is selected as trigger output. 13 - "compare_pulse" : The trigger output send a positive pulse 15 - "OC1REF" : OC1REF signal is used as trigger output. 16 - "OC2REF" : OC2REF signal is used as trigger output. 17 - "OC3REF" : OC3REF signal is used as trigger output. 18 - "OC4REF" : OC4REF signal is used as trigger output. 20 - "OC5REF" : OC5REF signal is used as trigger output. 21 - "OC6REF" : OC6REF signal is used as trigger output. [all …]
|
/Linux-v5.4/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 26 Transient trigger addresses the need for one shot timer activation. The 27 transient trigger can be enabled and disabled just like the other leds 31 triggers it supports and a default trigger. During registration, activation 32 routine for the default trigger gets called. During registration of an led 36 trigger will be called, and LED state is changed to LED_OFF. 40 suspend and resume actions and the currently enabled trigger. LED state 48 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, 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-v5.4/drivers/iio/trigger/ |
D | iio-trig-loop.c | 87 trig_info->swt.trigger = iio_trigger_alloc("%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 | 92 iio_trigger_poll(info->swt.trigger); in iio_hrtimer_trig_handler() 125 trig_info->swt.trigger = iio_trigger_alloc("%s", name); in iio_trig_hrtimer_probe() 126 if (!trig_info->swt.trigger) { in iio_trig_hrtimer_probe() 131 iio_trigger_set_drvdata(trig_info->swt.trigger, trig_info); in iio_trig_hrtimer_probe() 132 trig_info->swt.trigger->ops = &iio_hrtimer_trigger_ops; in iio_trig_hrtimer_probe() 133 trig_info->swt.trigger->dev.groups = iio_hrtimer_attr_groups; in iio_trig_hrtimer_probe() 141 ret = iio_trigger_register(trig_info->swt.trigger); in iio_trig_hrtimer_probe() 148 iio_trigger_free(trig_info->swt.trigger); in iio_trig_hrtimer_probe() 159 trig_info = iio_trigger_get_drvdata(swt->trigger); in iio_trig_hrtimer_remove() 161 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-v5.4/include/linux/ |
D | leds.h | 137 struct led_trigger *trigger; member 369 extern int led_trigger_register(struct led_trigger *trigger); 370 extern void led_trigger_unregister(struct led_trigger *trigger); 372 struct led_trigger *trigger); 375 struct led_trigger **trigger); 376 extern void led_trigger_unregister_simple(struct led_trigger *trigger); 377 extern void led_trigger_event(struct led_trigger *trigger, 379 extern void led_trigger_blink(struct led_trigger *trigger, 382 extern void led_trigger_blink_oneshot(struct led_trigger *trigger, 388 struct led_trigger *trigger); [all …]
|
/Linux-v5.4/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() 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() [all …]
|
/Linux-v5.4/drivers/net/phy/ |
D | phy_led_triggers.c | 23 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_no_link() 24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link() 49 led_trigger_event(&phy->led_link_trigger->trigger, in phy_led_trigger_change_speed() 52 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_change_speed() 54 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed() 74 plt->trigger.name = plt->name; in phy_led_trigger_register() 76 return led_trigger_register(&plt->trigger); in phy_led_trigger_register() 81 led_trigger_unregister(&plt->trigger); in phy_led_trigger_unregister() 105 phy->led_link_trigger->trigger.name = phy->led_link_trigger->name; in phy_led_triggers_register() 107 err = led_trigger_register(&phy->led_link_trigger->trigger); in phy_led_triggers_register()
|
/Linux-v5.4/drivers/leds/ |
D | led-triggers.c | 79 if (!led_cdev->trigger) in led_trigger_show() 85 if (led_cdev->trigger && !strcmp(led_cdev->trigger->name, in led_trigger_show() 110 if (!led_cdev->trigger && !trig) in led_trigger_set() 117 if (led_cdev->trigger) { in led_trigger_set() 118 write_lock_irqsave(&led_cdev->trigger->leddev_list_lock, flags); in led_trigger_set() 120 write_unlock_irqrestore(&led_cdev->trigger->leddev_list_lock, in led_trigger_set() 124 if (led_cdev->trigger->deactivate) in led_trigger_set() 125 led_cdev->trigger->deactivate(led_cdev); in led_trigger_set() 126 device_remove_groups(led_cdev->dev, led_cdev->trigger->groups); in led_trigger_set() 127 led_cdev->trigger = NULL; in led_trigger_set() [all …]
|
/Linux-v5.4/arch/ia64/kernel/ |
D | iosapic.c | 144 unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ member 216 unsigned long pol, trigger, dmode; in set_rte() local 231 trigger = iosapic_intr_info[irq].trigger; in set_rte() 241 (trigger << IOSAPIC_TRIGGER_SHIFT) | in set_rte() 482 static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol) in iosapic_find_sharable_irq() argument 491 if (trigger == IOSAPIC_EDGE) in iosapic_find_sharable_irq() 496 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq() 542 ia64_native_iosapic_get_irq_chip(unsigned long trigger) in ia64_native_iosapic_get_irq_chip() argument 544 if (trigger == IOSAPIC_EDGE) in ia64_native_iosapic_get_irq_chip() 552 unsigned long polarity, unsigned long trigger) in register_intr() argument [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/iio/timer/ |
D | stm32-lptimer-trigger.txt | 3 STM32 Low-Power Timer provides trigger source (LPTIM output) that can be used 10 - compatible: Must be "st,stm32-lptimer-trigger". 11 - reg: Identify trigger hardware block. Must be 0, 1 or 2 13 trigger output. 19 trigger@0 { 20 compatible = "st,stm32-lptimer-trigger";
|