Home
last modified time | relevance | path

Searched refs:trigger (Results 1 – 200 of 777) sorted by relevance

1234

/linux-4.1.27/Documentation/devicetree/bindings/iio/adc/
Dat91_adc.txt32 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?
62 trigger@0 {
64 trigger-name = "external-rising";
65 trigger-value = <0x1>;
[all …]
/linux-4.1.27/drivers/vfio/pci/
Dvfio_pci_intrs.c36 eventfd_signal(vdev->ctx[0].trigger, 1); in vfio_send_intx_eventfd()
178 struct eventfd_ctx *trigger; in vfio_intx_set_signal() local
182 if (vdev->ctx[0].trigger) { in vfio_intx_set_signal()
185 eventfd_ctx_put(vdev->ctx[0].trigger); in vfio_intx_set_signal()
186 vdev->ctx[0].trigger = NULL; in vfio_intx_set_signal()
197 trigger = eventfd_ctx_fdget(fd); in vfio_intx_set_signal()
198 if (IS_ERR(trigger)) { in vfio_intx_set_signal()
200 return PTR_ERR(trigger); in vfio_intx_set_signal()
203 vdev->ctx[0].trigger = trigger; in vfio_intx_set_signal()
211 vdev->ctx[0].trigger = NULL; in vfio_intx_set_signal()
[all …]
/linux-4.1.27/Documentation/leds/
Dledtrig-transient.txt4 The leds timer trigger does not currently have an interface to activate
9 should stay in off state. The on and off cycle repeats until the trigger
14 Without one shot timer interface, user space can still use timer trigger to
25 Transient trigger addresses the need for one shot timer activation. The
26 transient trigger can be enabled and disabled just like the other leds
30 triggers it supports and a default trigger. During registration, activation
31 routine for the default trigger gets called. During registration of an led
35 trigger will be called, and LED state is changed to LED_OFF.
39 suspend and resume actions and the currently enabled trigger. LED state
47 echo 0 > brightness, it will result in deactivating the current trigger.
[all …]
Dledtrig-oneshot.txt4 This is a LED trigger useful for signaling the user of an event where there are
6 trigger, the application needs only to signal the trigger when an event has
7 happened, than the trigger turns the LED on and than keeps it off for a
10 This trigger is meant to be usable both for sporadic and dense events. In the
11 first case, the trigger produces a clear single controlled blink for each
19 The trigger can be activated from user space on led class devices as shown
22 echo oneshot > trigger
45 echo oneshot > trigger # set trigger for this led
Dleds-class.txt14 The class also introduces the optional concept of an LED trigger. A trigger
16 complex. A simple trigger isn't configurable and is designed to slot into
22 parameters and work on a per LED basis. The timer trigger is an example.
23 The timer trigger will periodically change the LED brightness between
27 trigger. However, if you set the brightness value to LED_OFF it will
28 also disable the timer trigger.
31 is chosen (via /sys/class/leds/<device>/trigger). Trigger specific
32 parameters can appear in /sys/class/leds/<device> once a given trigger is
84 The LED Trigger core cannot be a module as the simple trigger functions
86 compared to the benefits the simple trigger functionality brings. The
[all …]
Dleds-blinkm.txt22 brightness device max_brightness power subsystem trigger uevent
25 brightness device max_brightness power subsystem trigger uevent
28 brightness device max_brightness power subsystem trigger uevent
44 $ echo heartbeat > blinkm-6-9-green/trigger
D00-INDEX20 - One-shot LED trigger for both sporadic and dense events.
/linux-4.1.27/include/linux/
Dleds.h94 struct led_trigger *trigger; member
226 extern int led_trigger_register(struct led_trigger *trigger);
227 extern void led_trigger_unregister(struct led_trigger *trigger);
230 struct led_trigger **trigger);
231 extern void led_trigger_unregister_simple(struct led_trigger *trigger);
232 extern void led_trigger_event(struct led_trigger *trigger,
234 extern void led_trigger_blink(struct led_trigger *trigger,
237 extern void led_trigger_blink_oneshot(struct led_trigger *trigger,
266 struct led_trigger **trigger) {} in led_trigger_register_simple() argument
267 static inline void led_trigger_unregister_simple(struct led_trigger *trigger) {} in led_trigger_unregister_simple() argument
[all …]
Dgameport.h30 void (*trigger)(struct gameport *); member
171 if (gameport->trigger) in gameport_trigger()
172 gameport->trigger(gameport); in gameport_trigger()
/linux-4.1.27/drivers/vfio/platform/
Dvfio_platform_irq.c166 eventfd_signal(irq_ctx->trigger, 1); in vfio_automasked_irq_handler()
175 eventfd_signal(irq_ctx->trigger, 1); in vfio_irq_handler()
184 struct eventfd_ctx *trigger; in vfio_set_trigger() local
187 if (irq->trigger) { in vfio_set_trigger()
190 eventfd_ctx_put(irq->trigger); in vfio_set_trigger()
191 irq->trigger = NULL; in vfio_set_trigger()
202 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger()
203 if (IS_ERR(trigger)) { in vfio_set_trigger()
205 return PTR_ERR(trigger); in vfio_set_trigger()
208 irq->trigger = trigger; in vfio_set_trigger()
[all …]
Dvfio_platform_private.h35 struct eventfd_ctx *trigger; member
/linux-4.1.27/drivers/acpi/
Dgsi.c17 static unsigned int acpi_gsi_get_irq_type(int trigger, int polarity) in acpi_gsi_get_irq_type() argument
21 return trigger == ACPI_EDGE_SENSITIVE ? in acpi_gsi_get_irq_type()
25 return trigger == ACPI_EDGE_SENSITIVE ? in acpi_gsi_get_irq_type()
29 if (trigger == ACPI_EDGE_SENSITIVE) in acpi_gsi_get_irq_type()
72 int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, in acpi_register_gsi() argument
76 unsigned int irq_type = acpi_gsi_get_irq_type(trigger, polarity); in acpi_register_gsi()
Dtables.c132 u16 polarity, trigger; in acpi_table_print_madt_entry() local
137 trigger = (p->inti_flags & ACPI_MADT_TRIGGER_MASK) >> 2; in acpi_table_print_madt_entry()
142 mps_inti_flags_trigger[trigger], in acpi_table_print_madt_entry()
/linux-4.1.27/arch/ia64/include/asm/
Diosapic.h68 extern struct irq_chip *ia64_native_iosapic_get_irq_chip(unsigned long trigger);
94 unsigned long trigger);
98 unsigned long trigger);
104 unsigned long trigger);
113 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument
115 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument
117 polarity,trigger) (gsi) argument
Dparavirt.h177 struct irq_chip *(*__get_irq_chip)(unsigned long trigger);
193 iosapic_get_irq_chip(unsigned long trigger) in iosapic_get_irq_chip() argument
195 return pv_iosapic_ops.__get_irq_chip(trigger); in iosapic_get_irq_chip()
/linux-4.1.27/arch/ia64/kernel/
Diosapic.c147 unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ member
219 unsigned long pol, trigger, dmode; in set_rte() local
234 trigger = iosapic_intr_info[irq].trigger; in set_rte()
244 (trigger << IOSAPIC_TRIGGER_SHIFT) | in set_rte()
485 static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol) in iosapic_find_sharable_irq() argument
494 if (trigger == IOSAPIC_EDGE) in iosapic_find_sharable_irq()
499 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq()
545 ia64_native_iosapic_get_irq_chip(unsigned long trigger) in ia64_native_iosapic_get_irq_chip() argument
547 if (trigger == IOSAPIC_EDGE) in ia64_native_iosapic_get_irq_chip()
555 unsigned long polarity, unsigned long trigger) in register_intr() argument
[all …]
/linux-4.1.27/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c44 int trigger, gpio; in gpio_halt_cb() local
54 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_cb()
59 gpio_set_value(gpio, trigger); in gpio_halt_cb()
77 int trigger; in gpio_halt_probe() local
105 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_probe()
107 gpio_direction_output(gpio, !trigger); in gpio_halt_probe()
126 " irq).\n", gpio, trigger, irq); in gpio_halt_probe()
/linux-4.1.27/Documentation/devicetree/bindings/power/reset/
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
26 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
/linux-4.1.27/arch/x86/kernel/acpi/
Dboot.c324 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
344 if ((bus_irq == 0) && (trigger == 3)) in mp_override_legacy_irq()
345 trigger = 1; in mp_override_legacy_irq()
349 mp_irq.irqflag = (trigger << 2) | polarity; in mp_override_legacy_irq()
367 static int mp_config_acpi_gsi(struct device *dev, u32 gsi, int trigger, in mp_config_acpi_gsi() argument
390 mp_irq.irqflag = (trigger == ACPI_EDGE_SENSITIVE ? 4 : 0x0c) | in mp_config_acpi_gsi()
403 static int mp_register_gsi(struct device *dev, u32 gsi, int trigger, in mp_register_gsi() argument
411 trigger = trigger == ACPI_EDGE_SENSITIVE ? 0 : 1; in mp_register_gsi()
414 if (mp_set_gsi_attr(gsi, trigger, polarity, node)) { in mp_register_gsi()
425 mp_config_acpi_gsi(dev, gsi, trigger, polarity); in mp_register_gsi()
[all …]
/linux-4.1.27/drivers/staging/iio/Documentation/
Dtrigger.txt1 IIO trigger drivers.
8 struct iio_trig *trig = iio_trigger_alloc("<trigger format string>", ...);
10 allocates a trigger structure. The key elements to then fill in within
18 Function that enables / disables the underlying source of the trigger.
28 to register the trigger with the core, making it available to trigger
Doverview.txt42 external signal (trigger). These triggers might be a data ready
44 processor periodic interrupt. A single trigger may initialize data
53 trigger.txt - elements of a typical trigger driver.
/linux-4.1.27/drivers/leds/
Dled-triggers.c90 if (!led_cdev->trigger) in led_trigger_show()
96 if (led_cdev->trigger && !strcmp(led_cdev->trigger->name, in led_trigger_show()
122 if (led_cdev->trigger) { in led_trigger_set()
123 write_lock_irqsave(&led_cdev->trigger->leddev_list_lock, flags); in led_trigger_set()
125 write_unlock_irqrestore(&led_cdev->trigger->leddev_list_lock, in led_trigger_set()
129 if (led_cdev->trigger->deactivate) in led_trigger_set()
130 led_cdev->trigger->deactivate(led_cdev); in led_trigger_set()
131 led_cdev->trigger = NULL; in led_trigger_set()
138 led_cdev->trigger = trig; in led_trigger_set()
217 if (!led_cdev->trigger && led_cdev->default_trigger && in led_trigger_register()
[all …]
Dleds-versatile.c28 const char *trigger; member
87 led->cdev.default_trigger = versatile_leds[i].trigger; in versatile_leds_probe()
Dleds.h56 struct led_trigger *trigger);
/linux-4.1.27/Documentation/trace/
Devents.txt294 Trace events can be made to conditionally invoke trigger 'commands'
298 with attached triggers is invoked, the set of trigger commands
299 associated with that event is invoked. Any given trigger can
303 If no filter is associated with the trigger, it always passes.
306 trigger expressions to the 'trigger' file for the given event.
330 Triggers are added by echoing the command to the 'trigger' file:
332 # echo 'command[:count] [if filter]' > trigger
335 to the 'trigger' file:
337 # echo '!command[:count] [if filter]' > trigger
346 For ease of use, writing to the trigger file using '>' currently just
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dbcm47081-buffalo-wzr-600dhp2.dts53 linux,default-trigger = "default-on";
59 linux,default-trigger = "default-off";
65 linux,default-trigger = "default-on";
71 linux,default-trigger = "default-off";
77 linux,default-trigger = "default-on";
83 linux,default-trigger = "default-off";
89 linux,default-trigger = "default-off";
Dbcm4708-buffalo-wzr-1750dhp.dts53 linux,default-trigger = "default-off";
59 linux,default-trigger = "default-on";
65 linux,default-trigger = "default-on";
71 linux,default-trigger = "default-off";
77 linux,default-trigger = "default-on";
83 linux,default-trigger = "default-off";
89 linux,default-trigger = "default-off";
Dbcm47081-asus-rt-n18u.dts32 linux,default-trigger = "default-on";
38 linux,default-trigger = "default-off";
44 linux,default-trigger = "default-on";
50 linux,default-trigger = "default-on";
56 linux,default-trigger = "default-off";
Dbcm4708-netgear-r6300-v2.dts32 linux,default-trigger = "default-on";
38 linux,default-trigger = "default-off";
44 linux,default-trigger = "default-on";
50 linux,default-trigger = "default-off";
56 linux,default-trigger = "default-off";
Dbcm4708-netgear-r6250.dts42 linux,default-trigger = "default-on";
48 linux,default-trigger = "default-on";
54 linux,default-trigger = "default-off";
60 linux,default-trigger = "default-off";
66 linux,default-trigger = "default-off";
Dbcm4709-netgear-r8000.dts32 linux,default-trigger = "default-on";
38 linux,default-trigger = "default-off";
44 linux,default-trigger = "default-off";
50 linux,default-trigger = "default-off";
Daks-cdu.dts100 linux,default-trigger = "none";
105 linux,default-trigger = "none";
111 linux,default-trigger = "none";
116 linux,default-trigger = "none";
Dkizbox.dts108 linux,default-trigger = "none";
114 linux,default-trigger = "none";
120 linux,default-trigger = "none";
127 linux,default-trigger = "none";
Dvexpress-v2m-rs1.dtsi322 linux,default-trigger = "heartbeat";
328 linux,default-trigger = "mmc0";
334 linux,default-trigger = "cpu0";
340 linux,default-trigger = "cpu1";
346 linux,default-trigger = "cpu2";
352 linux,default-trigger = "cpu3";
358 linux,default-trigger = "cpu4";
364 linux,default-trigger = "cpu5";
Dvexpress-v2m.dtsi321 linux,default-trigger = "heartbeat";
327 linux,default-trigger = "mmc0";
333 linux,default-trigger = "cpu0";
339 linux,default-trigger = "cpu1";
345 linux,default-trigger = "cpu2";
351 linux,default-trigger = "cpu3";
357 linux,default-trigger = "cpu4";
363 linux,default-trigger = "cpu5";
Dimx28-sps1.dts152 linux,default-trigger = "heartbeat";
159 linux,default-trigger = "heartbeat";
166 default-trigger = "heartbeat";
Dat91sam9rl.dtsi268 trigger@0 {
270 trigger-name = "timer-counter-0";
271 trigger-value = <0x1>;
273 trigger@1 {
275 trigger-name = "timer-counter-1";
276 trigger-value = <0x3>;
279 trigger@2 {
281 trigger-name = "timer-counter-2";
282 trigger-value = <0x5>;
285 trigger@3 {
[all …]
Domap3-devkit8000.dts27 linux,default-trigger = "heartbeat";
34 linux,default-trigger = "none";
41 linux,default-trigger = "usr";
Dat91sam9260.dtsi939 trigger@0 {
941 trigger-name = "timer-counter-0";
942 trigger-value = <0x1>;
944 trigger@1 {
946 trigger-name = "timer-counter-1";
947 trigger-value = <0x3>;
950 trigger@2 {
952 trigger-name = "timer-counter-2";
953 trigger-value = <0x5>;
956 trigger@3 {
[all …]
Dat91sam9n12ek.dts169 linux,default-trigger = "mmc0";
175 linux,default-trigger = "nand-disk";
181 linux,default-trigger = "heartbeat";
Dexynos4412-tiny4412.dts36 linux,default-trigger = "heartbeat";
55 linux,default-trigger = "mmc0";
Domap3-overo-base.dtsi21 linux,default-trigger = "mmc0";
50 /* Regulator to trigger the nPoweron signal of the Wifi module */
60 /* Regulator to trigger the nReset signal of the Wifi module */
72 /* Regulator to trigger the nReset signal of the Bluetooth module */
Dat91sam9x5.dtsi1002 trigger@0 {
1004 trigger-name = "external-rising";
1005 trigger-value = <0x1>;
1006 trigger-external;
1009 trigger@1 {
1011 trigger-name = "external-falling";
1012 trigger-value = <0x2>;
1013 trigger-external;
1016 trigger@2 {
1018 trigger-name = "external-any";
[all …]
Dexynos4412-odroidx.dts31 linux,default-trigger = "heartbeat";
37 linux,default-trigger = "mmc0";
Dat91sam9261ek.dts172 linux,default-trigger = "none";
178 linux,default-trigger = "nand-disk";
184 linux,default-trigger = "heartbeat";
Dat91rm9200ek.dts127 linux,default-trigger = "mmc0";
133 linux,default-trigger = "heartbeat";
Dat91sam9g45.dtsi1037 trigger@0 {
1039 trigger-name = "external-rising";
1040 trigger-value = <0x1>;
1041 trigger-external;
1043 trigger@1 {
1045 trigger-name = "external-falling";
1046 trigger-value = <0x2>;
1047 trigger-external;
1050 trigger@2 {
1052 trigger-name = "external-any";
[all …]
Domap3-igep0020.dts18 /* Regulator to trigger the WIFI_PDN signal of the Wifi module */
29 /* Regulator to trigger the RESET_N_W signal of the Wifi module */
Domap3-igep0030.dts18 /* Regulator to trigger the WIFI_PDN signal of the Wifi module */
29 /* Regulator to trigger the RESET_N_W signal of the Wifi module */
Dintegrator.dtsi18 linux,default-trigger = "cpu0";
106 linux,default-trigger = "heartbeat";
Dpm9g45.dts146 linux,default-trigger = "nand-disk";
152 linux,default-trigger = "heartbeat";
Dam335x-bone-common.dtsi30 linux,default-trigger = "heartbeat";
37 linux,default-trigger = "mmc0";
44 linux,default-trigger = "cpu0";
51 linux,default-trigger = "mmc1";
Dat91sam9m10g45ek.dts247 linux,default-trigger = "heartbeat";
258 linux,default-trigger = "nand-disk";
265 linux,default-trigger = "mmc0";
Dsama5d3.dtsi328 trigger@0 {
330 trigger-name = "external-rising";
331 trigger-value = <0x1>;
332 trigger-external;
334 trigger@1 {
336 trigger-name = "external-falling";
337 trigger-value = <0x2>;
338 trigger-external;
340 trigger@2 {
342 trigger-name = "external-any";
[all …]
Dsama5d4.dtsi1083 /* external trigger is conflict with USBA_VBUS */
1103 trigger@0 {
1104 trigger-name = "external-rising";
1105 trigger-value = <0x1>;
1106 trigger-external;
1108 trigger@1 {
1109 trigger-name = "external-falling";
1110 trigger-value = <0x2>;
1111 trigger-external;
1113 trigger@2 {
[all …]
Dimx27-phytec-phycore-rdk.dts259 linux,default-trigger = "nand-disk";
265 linux,default-trigger = "heartbeat";
271 linux,default-trigger = "cpu0";
Dbcm2835-rpi-b-plus.dts17 linux,default-trigger = "default-on";
Dat91sam9g20ek.dts21 linux,default-trigger = "heartbeat";
Dbcm2835-rpi.dtsi14 linux,default-trigger = "heartbeat";
Dkirkwood-ns2lite.dts29 linux,default-trigger = "ide-disk";
Dat91sam9263ek.dts198 linux,default-trigger = "heartbeat";
204 linux,default-trigger = "nand-disk";
Domap3-overo-summit-common.dtsi24 linux,default-trigger = "heartbeat";
Dbcm4708-luxul-xwc-1000.dts45 linux,default-trigger = "timer";
Dat91sam9g20ek_2mmc.dts47 linux,default-trigger = "heartbeat";
Domap3-overo-tobi-common.dtsi22 linux,default-trigger = "heartbeat";
Ds3c6410-mini6410.dts142 linux,default-trigger = "heartbeat";
148 linux,default-trigger = "mmc0";
Dstih416-b2020e.dts23 linux,default-trigger = "heartbeat";
Dstihxxx-b2120.dtsi21 linux,default-trigger = "heartbeat";
Domap3-overo-palo43-common.dtsi26 linux,default-trigger = "heartbeat";
Domap3-overo-gallop43-common.dtsi26 linux,default-trigger = "heartbeat";
/linux-4.1.27/Documentation/devicetree/bindings/leds/
Dpca963x.txt17 - linux,default-trigger : (optional)
31 linux,default-trigger = "none";
36 linux,default-trigger = "none";
41 linux,default-trigger = "none";
46 linux,default-trigger = "none";
Dregister-bit-led.txt24 - linux,default-trigger : (optional)
45 linux,default-trigger = "heartbeat";
53 linux,default-trigger = "mmc0";
61 linux,default-trigger = "cpu0";
Dleds-gpio.txt15 - linux,default-trigger : (optional)
36 linux,default-trigger = "ide-disk";
63 linux,default-trigger = "max8903-charger-charging";
Dtca6507.txt18 - linux,default-trigger : (optional)
41 linux,default-trigger = "default-on";
Dcommon.txt22 - linux,default-trigger : This parameter, if present, is a
23 string defining the trigger assigned to the LED. Current triggers are:
45 linux,default-trigger = "heartbeat";
Dleds-pm8941-wled.txt10 - linux,default-trigger: Default trigger assigned to the LED
Dleds-lp55xx.txt27 Alternatively, each child can have a specific channel name and trigger:
29 - linux,default-trigger (optional): see
34 'lp5521_pri:channel1' and 'lp5521_pri:channel2', with a heartbeat trigger
46 linux,default-trigger = "heartbeat";
Dleds-ns2.txt14 - linux,default-trigger: Trigger assigned to the LED.
/linux-4.1.27/Documentation/ABI/testing/
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.
Dsysfs-class-led18 What: /sys/class/leds/<led>/trigger
23 Set the trigger for this LED. A trigger is a kernel based source
27 /sys/class/leds/<led> once a given trigger is selected.
35 gpio and backlight triggers. In case of the backlight trigger,
Dsysfs-class-power30 will drop to 0 A) and will trigger interrupt.
44 will drop to 0 A) and will trigger interrupt.
57 charge mode drops below this value, the charger will trigger
73 will drop to 0 A) and will trigger interrupt.
Dsysfs-bus-coresight-devices-etb1022 following the trigger event. The number of 32-bit words written
23 into the Trace RAM following the trigger event is equal to the
Dsysfs-tty146 Shows current RX interrupt trigger bytes or sets the
151 The RX trigger can be set one of four kinds of values for UART
153 the RX trigger is changed to the nearest lower value for the
155 16550A, which has 1/4/8/14 bytes trigger, the RX trigger is
Dsysfs-platform-dell-laptop33 To enable a trigger, write its name preceded by '+' to
34 this file. To disable a trigger, write its name preceded
37 For example, to enable the keyboard as trigger run:
Dsysfs-bus-iio-accel-bmc1505 The BMC150 accelerometer kernel module provides an additional trigger,
Dsysfs-bus-iio-gyro-bmg1605 The BMG160 gyro kernel module provides an additional trigger,
Dsysfs-bus-coresight-devices-tmc7 following the trigger event. Additional interface for this
Dsysfs-bus-coresight-devices-etm3x32 processor contect ID to trigger on, etc. Individual fields in
41 addresses to trigger on. Inclusion or exclusion is specificed
49 address to trigger on, highly influenced by the configuration
119 Description: (RW) Used with the ctxid_idx, specify with context ID to trigger
253 Description: (RW) Define the event that controls the trigger.
/linux-4.1.27/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c238 int trigger; in s3c64xx_irq_get_trigger() local
242 trigger = EINT_EDGE_RISING; in s3c64xx_irq_get_trigger()
245 trigger = EINT_EDGE_FALLING; in s3c64xx_irq_get_trigger()
248 trigger = EINT_EDGE_BOTH; in s3c64xx_irq_get_trigger()
251 trigger = EINT_LEVEL_HIGH; in s3c64xx_irq_get_trigger()
254 trigger = EINT_LEVEL_LOW; in s3c64xx_irq_get_trigger()
260 return trigger; in s3c64xx_irq_get_trigger()
349 int trigger; in s3c64xx_gpio_irq_set_type() local
353 trigger = s3c64xx_irq_get_trigger(type); in s3c64xx_gpio_irq_set_type()
354 if (trigger < 0) { in s3c64xx_gpio_irq_set_type()
[all …]
Dpinctrl-s3c24xx.c174 int trigger; in s3c24xx_eint_type() local
178 trigger = s3c24xx_eint_get_trigger(type); in s3c24xx_eint_type()
179 if (trigger < 0) { in s3c24xx_eint_type()
192 val |= trigger << shift; in s3c24xx_eint_type()
/linux-4.1.27/arch/x86/kernel/
Di8259.c233 static void restore_ELCR(char *trigger) in restore_ELCR() argument
235 outb(trigger[0], 0x4d0); in restore_ELCR()
236 outb(trigger[1], 0x4d1); in restore_ELCR()
239 static void save_ELCR(char *trigger) in save_ELCR() argument
242 trigger[0] = inb(0x4d0) & 0xF8; in save_ELCR()
243 trigger[1] = inb(0x4d1) & 0xDE; in save_ELCR()
Ddevicetree.c171 u32 trigger; member
179 .trigger = IOAPIC_EDGE,
184 .trigger = IOAPIC_LEVEL,
189 .trigger = IOAPIC_LEVEL,
194 .trigger = IOAPIC_EDGE,
219 if (mp_set_gsi_attr(gsi, it->trigger, it->polarity, cpu_to_node(0))) in ioapic_xlate()
/linux-4.1.27/arch/x86/kernel/apic/
Dio_apic.c82 int trigger; member
555 entry1.trigger = IOAPIC_EDGE; in native_eoi_ioapic_pin()
605 if (!entry.trigger) { in clear_IO_APIC_pin()
606 entry.trigger = IOAPIC_LEVEL; in clear_IO_APIC_pin()
877 int trigger; in irq_trigger() local
886 trigger = default_ISA_trigger(idx); in irq_trigger()
888 trigger = default_PCI_trigger(idx); in irq_trigger()
898 trigger = default_EISA_trigger(idx); in irq_trigger()
909 trigger = 1; in irq_trigger()
917 trigger = 0; in irq_trigger()
[all …]
/linux-4.1.27/sound/soc/intel/boards/
Dhaswell.c117 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
129 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
140 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
151 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
Dbroadwell.c163 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
175 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
186 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
197 .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
/linux-4.1.27/drivers/iio/trigger/
DKconfig9 tristate "Generic interrupt trigger"
12 trigger. This may be provided by a gpio driver for example.
18 tristate "SYSFS trigger"
/linux-4.1.27/drivers/iio/common/hid-sensors/
DKconfig18 tristate "Common module (trigger) for all HID Sensor IIO drivers"
22 Say yes here to build trigger support for HID sensors.
26 hid-sensor-trigger.
Dhid-sensor-trigger.c133 iio_trigger_unregister(attrb->trigger); in hid_sensor_remove_trigger()
134 iio_trigger_free(attrb->trigger); in hid_sensor_remove_trigger()
165 attrb->trigger = trig; in hid_sensor_setup_trigger()
DMakefile6 obj-$(CONFIG_HID_SENSOR_IIO_TRIGGER) += hid-sensor-trigger.o
/linux-4.1.27/arch/arm/vfp/
Dvfpmodule.c336 void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs) in VFP_bounce() argument
340 pr_debug("VFP: bounce: trigger %08x fpexc %08x\n", trigger, fpexc); in VFP_bounce()
377 trigger = fmrx(FPINST); in VFP_bounce()
386 vfp_raise_exceptions(VFP_EXCEPTION_ERROR, trigger, fpscr, regs); in VFP_bounce()
409 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
411 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
425 trigger = fmrx(FPINST2); in VFP_bounce()
428 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
430 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
/linux-4.1.27/drivers/gpio/
Dgpio-vr41xx.c232 void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, in vr41xx_set_irq_trigger() argument
239 if (trigger != IRQ_TRIGGER_LEVEL) { in vr41xx_set_irq_trigger()
246 switch (trigger) { in vr41xx_set_irq_trigger()
274 if (trigger != IRQ_TRIGGER_LEVEL) { in vr41xx_set_irq_trigger()
281 switch (trigger) { in vr41xx_set_irq_trigger()
516 unsigned int trigger, i, pin; in giu_probe() local
556 trigger = giu_read(GIUINTTYPH) << 16; in giu_probe()
557 trigger |= giu_read(GIUINTTYPL); in giu_probe()
565 if (trigger & (1 << pin)) in giu_probe()
Dgpio-timberdale.c136 static int timbgpio_irq_type(struct irq_data *d, unsigned trigger) in timbgpio_irq_type() argument
157 if (trigger & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { in timbgpio_irq_type()
160 if (trigger & IRQ_TYPE_LEVEL_HIGH) in timbgpio_irq_type()
166 if ((trigger & IRQ_TYPE_EDGE_BOTH) == IRQ_TYPE_EDGE_BOTH) { in timbgpio_irq_type()
177 if (trigger & IRQ_TYPE_EDGE_FALLING) in timbgpio_irq_type()
Dgpio-pl061.c143 static int pl061_irq_type(struct irq_data *d, unsigned trigger) in pl061_irq_type() argument
161 if (trigger & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) { in pl061_irq_type()
163 if (trigger & IRQ_TYPE_LEVEL_HIGH) in pl061_irq_type()
170 if ((trigger & IRQ_TYPE_EDGE_BOTH) == IRQ_TYPE_EDGE_BOTH) in pl061_irq_type()
175 if (trigger & IRQ_TYPE_EDGE_RISING) in pl061_irq_type()
177 else if (trigger & IRQ_TYPE_EDGE_FALLING) in pl061_irq_type()
Dgpio-omap.c294 unsigned trigger) in omap_set_gpio_trigger() argument
300 trigger & IRQ_TYPE_LEVEL_LOW); in omap_set_gpio_trigger()
302 trigger & IRQ_TYPE_LEVEL_HIGH); in omap_set_gpio_trigger()
304 trigger & IRQ_TYPE_EDGE_RISING); in omap_set_gpio_trigger()
306 trigger & IRQ_TYPE_EDGE_FALLING); in omap_set_gpio_trigger()
318 omap_gpio_rmw(base, bank->regs->wkup_en, gpio_bit, trigger != 0); in omap_set_gpio_trigger()
337 if (trigger & IRQ_TYPE_EDGE_BOTH) in omap_set_gpio_trigger()
377 unsigned trigger) in omap_set_gpio_triggering() argument
384 omap_set_gpio_trigger(bank, gpio, trigger); in omap_set_gpio_triggering()
389 if ((trigger & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_BOTH) in omap_set_gpio_triggering()
[all …]
Dgpio-davinci.c313 static int gpio_irq_type(struct irq_data *d, unsigned trigger) in gpio_irq_type() argument
315 if (trigger & ~(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) in gpio_irq_type()
393 static int gpio_irq_type_unbanked(struct irq_data *data, unsigned trigger) in gpio_irq_type_unbanked() argument
403 if (trigger & ~(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) in gpio_irq_type_unbanked()
406 writel_relaxed(mask, (trigger & IRQ_TYPE_EDGE_FALLING) in gpio_irq_type_unbanked()
408 writel_relaxed(mask, (trigger & IRQ_TYPE_EDGE_RISING) in gpio_irq_type_unbanked()
Dgpio-max732x.c445 uint8_t trigger; in max732x_irq_pending() local
454 trigger = status >> 8; in max732x_irq_pending()
455 trigger &= chip->irq_mask; in max732x_irq_pending()
457 if (!trigger) in max732x_irq_pending()
463 old_stat = cur_stat ^ trigger; in max732x_irq_pending()
467 pending &= trigger; in max732x_irq_pending()
/linux-4.1.27/arch/powerpc/sysdev/
Duic.c127 int trigger, polarity; in uic_set_irq_type() local
136 trigger = 1; polarity = 1; in uic_set_irq_type()
139 trigger = 1; polarity = 0; in uic_set_irq_type()
142 trigger = 0; polarity = 1; in uic_set_irq_type()
145 trigger = 0; polarity = 0; in uic_set_irq_type()
156 tr = (tr & mask) | (trigger << (31-src)); in uic_set_irq_type()
/linux-4.1.27/drivers/input/joystick/iforce/
Diforce-ff.c298 || old->trigger.button != new->trigger.button in need_core()
299 || old->trigger.interval != new->trigger.interval in need_core()
407 effect->trigger.button, in iforce_upload_periodic()
408 effect->trigger.interval, in iforce_upload_periodic()
467 effect->trigger.button, in iforce_upload_constant()
468 effect->trigger.interval, in iforce_upload_constant()
532 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition()
/linux-4.1.27/Documentation/devicetree/bindings/metag/
Dmeta-intc.txt4 representation of a Meta external trigger controller.
44 * Meta external trigger block
64 // Compatible with Meta hardware trigger block.
72 * trigger block.
/linux-4.1.27/arch/x86/include/asm/
Dio_apic.h76 trigger : 1, /* 0: edge, 1: level */ member
91 trigger : 1, member
167 int trigger; member
206 extern int mp_set_gsi_attr(u32 gsi, int trigger, int polarity, int node);
Dapicdef.h310 trigger : 1, member
368 trigger : 1, member
381 trigger : 1, member
Dapb_timer.h36 extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu);
Dacpi.h52 int trigger, int polarity);
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
Dscan.c100 struct wl1271_cmd_trigger_scan_to *trigger; in wl1271_scan_send() local
109 trigger = kzalloc(sizeof(*trigger), GFP_KERNEL); in wl1271_scan_send()
110 if (!cmd || !trigger) { in wl1271_scan_send()
165 trigger->timeout = cpu_to_le32(wl->conf.scan.split_scan_timeout); in wl1271_scan_send()
166 ret = wl1271_cmd_send(wl, CMD_TRIGGER_SCAN_TO, trigger, in wl1271_scan_send()
167 sizeof(*trigger), 0); in wl1271_scan_send()
183 kfree(trigger); in wl1271_scan_send()
/linux-4.1.27/sound/core/seq/
Dseq_virmidi.c88 if (!vmidi->trigger) in snd_virmidi_dev_receive_event()
144 vmidi->trigger = 1; in snd_virmidi_input_trigger()
146 vmidi->trigger = 0; in snd_virmidi_input_trigger()
161 vmidi->trigger = 1; in snd_virmidi_output_trigger()
200 vmidi->trigger = 0; in snd_virmidi_output_trigger()
355 .trigger = snd_virmidi_input_trigger,
361 .trigger = snd_virmidi_output_trigger,
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-altera.txt15 - altr,interrupt-trigger: Specifies the interrupt trigger type the GPIO
38 altr,interrupt-trigger = <IRQ_TYPE_EDGE_RISING>;
Dgpio_lpc32xx.txt34 linux,default-trigger = "heartbeat";
40 linux,default-trigger = "timer";
D8xxx_gpio.txt40 defines additional flags (trigger type,
41 trigger polarity). Note that the available
42 set of trigger conditions supported by the
Dgpio-nmk.txt10 - bits[3:0] trigger type and level flags:
/linux-4.1.27/drivers/iio/
DMakefile8 industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
29 obj-y += trigger/
DKconfig54 int "Maximum number of consumers per trigger"
59 given trigger may handle. Default is 2.
74 source "drivers/iio/trigger/Kconfig"
/linux-4.1.27/kernel/trace/
Dtrace_events_trigger.c611 char *trigger = NULL; in event_trigger_callback() local
617 trigger = strsep(&param, " \t"); in event_trigger_callback()
619 trigger_ops = cmd_ops->get_trigger_ops(cmd, trigger); in event_trigger_callback()
638 if (trigger) { in event_trigger_callback()
639 number = strsep(&trigger, ":"); in event_trigger_callback()
1172 char *trigger; in event_enable_trigger_func() local
1181 trigger = strsep(&param, " \t"); in event_enable_trigger_func()
1182 if (!trigger) in event_enable_trigger_func()
1185 system = strsep(&trigger, ":"); in event_enable_trigger_func()
1186 if (!trigger) in event_enable_trigger_func()
[all …]
/linux-4.1.27/arch/x86/pci/
Dxen.c109 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument
114 return xen_register_pirq(gsi, -1 /* no GSI override */, trigger, in acpi_register_gsi_xen_hvm()
148 int trigger, int polarity) in acpi_register_gsi_xen() argument
150 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen()
496 int trigger, polarity; in pci_xen_initial_domain() local
498 if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) in pci_xen_initial_domain()
502 trigger ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE, in pci_xen_initial_domain()
/linux-4.1.27/arch/arm/mach-footbridge/
Debsa285.c37 const char *trigger; member
93 led->cdev.default_trigger = ebsa285_leds[i].trigger; in ebsa285_leds_init()
/linux-4.1.27/sound/core/
Dcompress_offload.c155 data->stream.ops->trigger(&data->stream, SNDRV_PCM_TRIGGER_STOP); in snd_compr_free()
649 retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_PAUSE_PUSH); in snd_compr_pause()
661 retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_PAUSE_RELEASE); in snd_compr_resume()
673 retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_START); in snd_compr_start()
686 retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_STOP); in snd_compr_stop()
738 retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_DRAIN); in snd_compr_drain()
762 retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_NEXT_TRACK); in snd_compr_next_track()
780 retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_PARTIAL_DRAIN); in snd_compr_partial_drain()
984 if (snd_BUG_ON(!device->ops->trigger)) in snd_compress_register()
/linux-4.1.27/drivers/s390/block/
Ddasd_eer.c279 __u32 trigger; member
294 int trigger) in dasd_eer_write_standard_trigger() argument
311 header.trigger = trigger; in dasd_eer_write_standard_trigger()
338 int trigger) in dasd_eer_write_snss_trigger() argument
354 header.trigger = DASD_EER_STATECHANGE; in dasd_eer_write_snss_trigger()
/linux-4.1.27/sound/soc/
Dsoc-compress.c290 if (platform->driver->compr_ops && platform->driver->compr_ops->trigger) { in soc_compr_trigger()
291 ret = platform->driver->compr_ops->trigger(cstream, cmd); in soc_compr_trigger()
320 platform->driver->compr_ops->trigger) in soc_compr_trigger_fe()
321 return platform->driver->compr_ops->trigger(cstream, in soc_compr_trigger_fe()
333 if (platform->driver->compr_ops && platform->driver->compr_ops->trigger) { in soc_compr_trigger_fe()
334 ret = platform->driver->compr_ops->trigger(cstream, cmd); in soc_compr_trigger_fe()
593 .trigger = soc_compr_trigger,
608 .trigger = soc_compr_trigger_fe,
Dsoc-pcm.c966 if (codec_dai->driver->ops && codec_dai->driver->ops->trigger) { in soc_pcm_trigger()
967 ret = codec_dai->driver->ops->trigger(substream, in soc_pcm_trigger()
974 if (platform->driver->ops && platform->driver->ops->trigger) { in soc_pcm_trigger()
975 ret = platform->driver->ops->trigger(substream, cmd); in soc_pcm_trigger()
980 if (cpu_dai->driver->ops && cpu_dai->driver->ops->trigger) { in soc_pcm_trigger()
981 ret = cpu_dai->driver->ops->trigger(substream, cmd, cpu_dai); in soc_pcm_trigger()
986 if (rtd->dai_link->ops && rtd->dai_link->ops->trigger) { in soc_pcm_trigger()
987 ret = rtd->dai_link->ops->trigger(substream, cmd); in soc_pcm_trigger()
1934 enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; in dpcm_fe_dai_do_trigger() local
1938 switch (trigger) { in dpcm_fe_dai_do_trigger()
[all …]
/linux-4.1.27/arch/arm/plat-omap/
Ddebug-leds.c58 const char *trigger; member
127 led->cdev.default_trigger = dbg_leds[i].trigger; in fpga_probe()
/linux-4.1.27/arch/s390/kernel/
Dipl.c77 void (*fn) (struct shutdown_trigger *trigger);
538 static void ipl_run(struct shutdown_trigger *trigger) in ipl_run() argument
1093 static void reipl_run(struct shutdown_trigger *trigger) in reipl_run() argument
1435 static void dump_run(struct shutdown_trigger *trigger) in dump_run() argument
1516 static void dump_reipl_run(struct shutdown_trigger *trigger) in dump_reipl_run() argument
1524 dump_run(trigger); in dump_reipl_run()
1572 static void vmcmd_run(struct shutdown_trigger *trigger) in vmcmd_run() argument
1576 if (strcmp(trigger->name, ON_REIPL_STR) == 0) in vmcmd_run()
1578 else if (strcmp(trigger->name, ON_PANIC_STR) == 0) in vmcmd_run()
1580 else if (strcmp(trigger->name, ON_HALT_STR) == 0) in vmcmd_run()
[all …]
/linux-4.1.27/arch/arm/kernel/
Dhw_breakpoint.c374 addr = info->trigger & ~0x3; in arch_install_hw_breakpoint()
681 info->trigger = addr; in enable_single_step()
720 info->trigger = wp->attr.bp_addr; in watchpoint_handler()
747 info->trigger = addr; in watchpoint_handler()
750 pr_debug("watchpoint fired: address = 0x%x\n", info->trigger); in watchpoint_handler()
790 if (info->trigger != pc) in watchpoint_single_step_handler()
831 info->trigger = addr; in breakpoint_handler()
/linux-4.1.27/Documentation/input/
Dgamepad.txt78 fashion. For example, the "Nintendo Wii Nunchuk" provides two trigger buttons
80 analog stick and two trigger buttons on the right side.
138 Upper trigger buttons are reported as BTN_TR or ABS_HAT1X (right) and BTN_TL
139 or ABS_HAT1Y (left). Lower trigger buttons are reported as BTN_TR2 or
141 If only one trigger-button combination is present (upper+lower), they are
143 (ABS trigger values start at 0, pressure is reported as positive values)
/linux-4.1.27/sound/usb/caiaq/
Dmidi.c109 .trigger = snd_usb_caiaq_midi_output_trigger,
116 .trigger = snd_usb_caiaq_midi_input_trigger,
/linux-4.1.27/arch/powerpc/platforms/cell/
Daxon_msi.c76 u32 __iomem *trigger; member
455 out_le32(msic->trigger, val); in msic_set()
478 msic->trigger = ioremap(addr, 0x4); in axon_msi_debug_setup()
479 if (!msic->trigger) { in axon_msi_debug_setup()
/linux-4.1.27/include/uapi/linux/
Dif_plip.h21 unsigned long trigger; member
/linux-4.1.27/Documentation/misc-devices/
Dapds990x.txt100 RW - trigger / periodic. In "trigger" mode the driver tells two possible
108 RO - accepted values to prox0_reporting_mode (trigger, periodic)
/linux-4.1.27/drivers/spi/
Dspi-imx.c81 void (*trigger)(struct spi_imx_data *); member
625 .trigger = mx1_trigger,
634 .trigger = mx21_trigger,
644 .trigger = mx21_trigger,
653 .trigger = mx31_trigger,
663 .trigger = mx31_trigger,
672 .trigger = mx51_ecspi_trigger,
735 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_push()
942 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_dma_transfer()
970 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_dma_transfer()
/linux-4.1.27/sound/firewire/dice/
Ddice-midi.c84 .trigger = midi_capture_trigger,
90 .trigger = midi_playback_trigger,
/linux-4.1.27/arch/x86/include/asm/uv/
Duv_irq.h22 trigger : 1, member
/linux-4.1.27/sound/firewire/fireworks/
Dfireworks_midi.c105 .trigger = midi_capture_trigger,
111 .trigger = midi_playback_trigger,
/linux-4.1.27/sound/firewire/bebob/
Dbebob_midi.c104 .trigger = midi_capture_trigger,
110 .trigger = midi_playback_trigger,
/linux-4.1.27/drivers/net/wireless/p54/
Dled.c86 char *name, char *trigger) in p54_register_led() argument
99 led->led_dev.default_trigger = trigger; in p54_register_led()
/linux-4.1.27/drivers/leds/trigger/
DKconfig5 This option enables trigger support for the leds class.
80 be triggered by this trigger when user slides up to show
92 comment "iptables trigger is under Netfilter config (LED target)"
/linux-4.1.27/arch/arm/mach-pxa/
Didp.c213 const char *trigger; member
259 led->cdev.default_trigger = idp_leds[i].trigger; in idp_leds_init()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dled.c125 char *trigger) in carl9170_led_register_led() argument
136 ar->leds[i].l.default_trigger = trigger; in carl9170_led_register_led()
/linux-4.1.27/arch/mips/include/asm/vr41xx/
Dgiu.h44 extern void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger,
/linux-4.1.27/drivers/ps3/
Dps3-vuart.c689 if (priv->rx_list.work.trigger) { in ps3_vuart_read_async()
706 priv->rx_list.work.trigger = bytes; in ps3_vuart_read_async()
718 to_port_priv(dev)->rx_list.work.trigger = 0; in ps3_vuart_cancel_async()
807 if (priv->rx_list.work.trigger && priv->rx_list.bytes_held in ps3_vuart_handle_interrupt_rx()
808 >= priv->rx_list.work.trigger) { in ps3_vuart_handle_interrupt_rx()
810 __func__, __LINE__, priv->rx_list.work.trigger); in ps3_vuart_handle_interrupt_rx()
811 priv->rx_list.work.trigger = 0; in ps3_vuart_handle_interrupt_rx()
1049 priv->rx_list.work.trigger = 0; in ps3_vuart_probe()
Dvuart.h36 unsigned long trigger; member
/linux-4.1.27/sound/soc/davinci/
Ddavinci-i2s.c208 if (platform->driver->ops->trigger) { in davinci_mcbsp_start()
209 int ret = platform->driver->ops->trigger(substream, in davinci_mcbsp_start()
230 if (platform->driver->ops->trigger) { in davinci_mcbsp_start()
231 int ret = platform->driver->ops->trigger(substream, in davinci_mcbsp_start()
614 .trigger = davinci_i2s_trigger,
/linux-4.1.27/drivers/iio/adc/
Dxilinx-xadc-core.c488 if ((status & XADC_AXI_INT_EOS) && xadc->trigger) in xadc_axi_interrupt_handler()
489 iio_trigger_poll(xadc->trigger); in xadc_axi_interrupt_handler()
647 static int xadc_trigger_set_state(struct iio_trigger *trigger, bool state) in xadc_trigger_set_state() argument
649 struct xadc *xadc = iio_trigger_get_drvdata(trigger); in xadc_trigger_set_state()
659 if (xadc->trigger != NULL) { in xadc_trigger_set_state()
663 xadc->trigger = trigger; in xadc_trigger_set_state()
664 if (trigger == xadc->convst_trigger) in xadc_trigger_set_state()
674 xadc->trigger = NULL; in xadc_trigger_set_state()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dled.c127 const char *name, char *trigger) in ath5k_register_led() argument
135 led->led_dev.default_trigger = trigger; in ath5k_register_led()
/linux-4.1.27/arch/arc/boot/dts/
Dabilis_tb101_dvk.dts68 linux,default-trigger = "default-on";
73 linux,default-trigger = "heartbeat";
Dabilis_tb100_dvk.dts68 linux,default-trigger = "default-on";
73 linux,default-trigger = "heartbeat";
/linux-4.1.27/arch/arm/mach-omap1/
Dirq.c126 static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger) in omap_irq_set_cfg() argument
134 val = fiq | ((priority & 0x1f) << 2) | ((trigger & 0x1) << 1); in omap_irq_set_cfg()
/linux-4.1.27/include/sound/
Dseq_virmidi.h39 unsigned int trigger: 1; member
Dpcm_oss.h42 trigger: 1, /* trigger flag */ member
/linux-4.1.27/drivers/staging/iio/
DMakefile23 obj-y += trigger/
DTODO61 Periodic Timer trigger
69 GPIO trigger
/linux-4.1.27/include/media/
Dsmiapp.h57 u8 trigger; member
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dtca8418_keypad.txt9 - interrupts: IRQ line number, should trigger on falling edge
Dqcom,pm8941-pwrkey.txt27 for state change interrupt to trigger.
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-coh901.c447 static int u300_gpio_irq_type(struct irq_data *d, unsigned trigger) in u300_gpio_irq_type() argument
455 if ((trigger & IRQF_TRIGGER_RISING) && in u300_gpio_irq_type()
456 (trigger & IRQF_TRIGGER_FALLING)) { in u300_gpio_irq_type()
467 } else if (trigger & IRQF_TRIGGER_RISING) { in u300_gpio_irq_type()
473 } else if (trigger & IRQF_TRIGGER_FALLING) { in u300_gpio_irq_type()
/linux-4.1.27/Documentation/power/
Dsuspend-and-interrupts.txt17 trigger and if any devices have not been suspended properly yet, it is better to
35 There are interrupts that can legitimately trigger during the entire system
65 during system sleep so as to trigger a system wakeup when needed. For example,
103 IRQ subsystem to trigger a system wakeup.
105 System wakeup interrupts, in turn, will trigger wakeup from suspend-to-idle in
/linux-4.1.27/sound/pci/oxygen/
Doxygen_pcm.c641 .trigger = oxygen_trigger,
652 .trigger = oxygen_trigger,
663 .trigger = oxygen_trigger,
674 .trigger = oxygen_trigger,
685 .trigger = oxygen_trigger,
696 .trigger = oxygen_trigger,
/linux-4.1.27/drivers/mfd/
Dasic3.c303 u16 trigger, level, edge, bit; in asic3_gpio_irq_type() local
315 trigger = asic3_read_register(asic, in asic3_gpio_irq_type()
320 trigger |= bit; in asic3_gpio_irq_type()
323 trigger |= bit; in asic3_gpio_irq_type()
326 trigger |= bit; in asic3_gpio_irq_type()
333 trigger &= ~bit; in asic3_gpio_irq_type()
336 trigger &= ~bit; in asic3_gpio_irq_type()
351 trigger); in asic3_gpio_irq_type()
/linux-4.1.27/drivers/net/plip/
Dplip.c215 unsigned long trigger; member
304 nl->trigger = PLIP_TRIGGER_WAIT; in plip_init_netdev()
604 if (plip_receive(nl->trigger, dev, in plip_receive_packet()
768 cx = nl->trigger; in plip_send_packet()
1210 pc->trigger = nl->trigger; in plip_ioctl()
1216 nl->trigger = pc->trigger; in plip_ioctl()
/linux-4.1.27/sound/oss/
Ddmabuf.c421 if (adev->d->trigger) in DMAbuf_launch_output()
422 adev->d->trigger(dev,adev->enable_bits * adev->go); in DMAbuf_launch_output()
548 if (adev->d->trigger) in DMAbuf_activate_recording()
549 adev->d->trigger(dev, adev->enable_bits * adev->go); in DMAbuf_activate_recording()
705 if (adev->d->trigger) in DMAbuf_start_devices()
706 adev->d->trigger(dev,adev->enable_bits * adev->go); in DMAbuf_start_devices()
1090 if (adev->d->trigger) in do_inputintr()
1091 adev->d->trigger(dev, adev->enable_bits * adev->go); in do_inputintr()
1117 if (adev->d->trigger) in do_inputintr()
1118 adev->d->trigger(dev,adev->enable_bits * adev->go); in do_inputintr()
Dsb_audio.c942 .trigger = sb1_audio_trigger,
958 .trigger = sb20_audio_trigger,
974 .trigger = sb20_audio_trigger,
990 .trigger = sb20_audio_trigger,
1006 .trigger = sb20_audio_trigger,
1023 .trigger = sb16_audio_trigger,
Daudio.c450 if (audio_devs[dev]->d->trigger) /* Supports SETTRIGGER */ in audio_ioctl()
825 if (audio_devs[dev]->d->trigger == NULL) in dma_ioctl()
869 if (changed && audio_devs[dev]->d->trigger) in dma_ioctl()
870 audio_devs[dev]->d->trigger(dev, bits * audio_devs[dev]->go); in dma_ioctl()
879 if (!audio_devs[dev]->d->trigger) in dma_ioctl()
881 audio_devs[dev]->d->trigger(dev, 0); in dma_ioctl()
/linux-4.1.27/sound/usb/6fire/
Dmidi.c145 .trigger = usb6fire_midi_out_trigger,
152 .trigger = usb6fire_midi_in_trigger
/linux-4.1.27/sound/firewire/oxfw/
Doxfw-midi.c122 .trigger = midi_capture_trigger,
128 .trigger = midi_playback_trigger,
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Dmen-a021-wdt.txt8 3: Watchdog trigger
/linux-4.1.27/Documentation/devicetree/bindings/arc/
Dpct.txt9 counted, the HW events themselves cannot serve as a trigger for a sample.
/linux-4.1.27/drivers/tty/serial/
Dpch_uart.c239 int trigger; member
518 unsigned int fifo_size, unsigned int trigger) in pch_uart_hal_set_fifo() argument
534 if (trigger & ~PCH_UART_FCR_RFTL) { in pch_uart_hal_set_fifo()
536 __func__, trigger); in pch_uart_hal_set_fifo()
543 trigger_level_256[trigger >> PCH_UART_FCR_RFTL_SHIFT]; in pch_uart_hal_set_fifo()
547 trigger_level_64[trigger >> PCH_UART_FCR_RFTL_SHIFT]; in pch_uart_hal_set_fifo()
551 trigger_level_16[trigger >> PCH_UART_FCR_RFTL_SHIFT]; in pch_uart_hal_set_fifo()
555 trigger_level_1[trigger >> PCH_UART_FCR_RFTL_SHIFT]; in pch_uart_hal_set_fifo()
559 dmamode | fifo_size | trigger | PCH_UART_FCR_RFR | PCH_UART_FCR_TFR; in pch_uart_hal_set_fifo()
1326 switch (priv->trigger) { in pch_uart_startup()
[all …]
/linux-4.1.27/drivers/staging/rtl8723au/hal/
Dhal_com.c322 u8 trigger; in c2h_evt_read23a() local
327 trigger = rtl8723au_read8(adapter, REG_C2HEVT_CLEAR); in c2h_evt_read23a()
329 if (trigger == C2H_EVT_HOST_CLOSE) in c2h_evt_read23a()
331 else if (trigger != C2H_EVT_FW_CLOSE) in c2h_evt_read23a()
347 trigger); in c2h_evt_read23a()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dfw.c517 struct iwl_fw_dbg_trigger_tlv *trigger, in iwl_mvm_fw_dbg_collect_trig() argument
520 unsigned int delay = msecs_to_jiffies(le32_to_cpu(trigger->stop_delay)); in iwl_mvm_fw_dbg_collect_trig()
521 u16 occurrences = le16_to_cpu(trigger->occurrences); in iwl_mvm_fw_dbg_collect_trig()
544 ret = iwl_mvm_fw_dbg_collect(mvm, le32_to_cpu(trigger->id), buf, in iwl_mvm_fw_dbg_collect_trig()
549 trigger->occurrences = cpu_to_le16(occurrences - 1); in iwl_mvm_fw_dbg_collect_trig()
/linux-4.1.27/Documentation/networking/
DPLIP.txt64 IRQs and trigger timeouts
92 quite possible for the trigger timeout to expire between two such polls, as
94 trigger timeout on the *other* side of a PLIP connection, to about
98 It appears that in practice, the trigger timeout can be shorter than in the
106 'plipconfig plipX trigger 10000', where plipX is the appropriate
/linux-4.1.27/drivers/net/phy/
Ddp83640.c307 int trigger) in periodic_output() argument
316 trigger); in periodic_output()
324 (trigger & TRIG_CSEL_MASK) << TRIG_CSEL_SHIFT | in periodic_output()
329 val = (trigger & TRIG_SEL_MASK) << TRIG_SEL_SHIFT; in periodic_output()
360 if (trigger < 2) { in periodic_output()
621 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; in recalibrate() local
623 trigger = CAL_TRIGGER; in recalibrate()
664 ptp_trig |= (trigger & TRIG_CSEL_MASK) << TRIG_CSEL_SHIFT; in recalibrate()
669 val = (trigger & TRIG_SEL_MASK) << TRIG_SEL_SHIFT; in recalibrate()
679 val = (trigger & TRIG_SEL_MASK) << TRIG_SEL_SHIFT; in recalibrate()
/linux-4.1.27/Documentation/devicetree/bindings/drm/i2c/
Dtda998x.txt9 - interrupts: interrupt number and trigger type
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Dnvidia,tegra20-timer.txt4 running counter. The first two channels may also trigger a watchdog reset.
Dnvidia,tegra30-timer.txt5 trigger a legacy watchdog reset.
/linux-4.1.27/drivers/platform/x86/
Ddell-laptop.c1517 char trigger[21]; in kbd_led_triggers_store() local
1520 ret = sscanf(buf, "%20s", trigger); in kbd_led_triggers_store()
1524 if (trigger[0] != '+' && trigger[0] != '-') in kbd_led_triggers_store()
1540 if (strcmp(trigger+1, kbd_led_triggers[i]) != 0) in kbd_led_triggers_store()
1542 if (trigger[0] == '+' && in kbd_led_triggers_store()
1545 if (trigger[0] == '-' && in kbd_led_triggers_store()
1555 if (trigger[0] == '+') in kbd_led_triggers_store()
/linux-4.1.27/drivers/pci/pcie/aer/
DKconfig.debug14 to trigger various real hardware errors. Software based
/linux-4.1.27/drivers/input/
Dinput-compat.h56 struct ff_trigger trigger; member
/linux-4.1.27/arch/x86/platform/uv/
Duv_irq.c165 entry->trigger = 0; in arch_enable_uv_irq()
217 entry->trigger = 0; in uv_set_irq_affinity()
/linux-4.1.27/sound/pci/echoaudio/
Dmidi.c294 .trigger = snd_echo_midi_input_trigger,
300 .trigger = snd_echo_midi_output_trigger,
/linux-4.1.27/sound/usb/line6/
Dmidi.c206 .trigger = line6_midi_output_trigger,
213 .trigger = line6_midi_input_trigger,
/linux-4.1.27/Documentation/devicetree/bindings/iio/
Diio-bindings.txt21 Example for a simple configuration with no trigger:
29 Example for a configuration with trigger:
/linux-4.1.27/drivers/net/ethernet/sfc/
Drx.c745 unsigned int max_fill, trigger, max_trigger; in efx_init_rx_queue() local
768 trigger = max_fill * min(rx_refill_threshold, 100U) / 100U; in efx_init_rx_queue()
769 if (trigger > max_trigger) in efx_init_rx_queue()
770 trigger = max_trigger; in efx_init_rx_queue()
772 trigger = max_trigger; in efx_init_rx_queue()
776 rx_queue->fast_fill_trigger = trigger; in efx_init_rx_queue()
/linux-4.1.27/Documentation/acpi/apei/
Deinj.txt65 Write any integer to this file to trigger the error injection. Make
106 error, then perform some actions to trigger it. Setting "notrigger"
107 to 1 skips the trigger phase, which *may* allow the user to cause the
111 includes in the trigger phase.
/linux-4.1.27/drivers/staging/iio/trigger/
DKconfig19 tristate "Blackfin TIMER trigger"
/linux-4.1.27/sound/isa/gus/
Dgus_uart.c234 .trigger = snd_gf1_uart_output_trigger,
241 .trigger = snd_gf1_uart_input_trigger,
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-decoder-regs.txt47 Decoder horizontal Y alias trigger
50 The first five registers must all be loaded before accessing the trigger
81 Decoder horizontal UV alias trigger
84 Operation is the same as the Y filter, with 2830 being the trigger
420 Decoder vertical Y alias trigger
425 the trigger register (2908). As for the horizontal filter, the values are
439 Decoder vertical UV alias trigger
442 plane. Operation is the same as the Y filter, with 2914 being the trigger.
/linux-4.1.27/sound/isa/sb/
Dsb8_midi.c254 .trigger = snd_sb8dsp_midi_output_trigger,
261 .trigger = snd_sb8dsp_midi_input_trigger,
/linux-4.1.27/sound/core/oss/
Dpcm_oss.c996 if (runtime->oss.trigger) { in snd_pcm_oss_change_params()
1978 static int snd_pcm_oss_set_trigger(struct snd_pcm_oss_file *pcm_oss_file, int trigger) in snd_pcm_oss_set_trigger() argument
1985 pcm_dbg(substream->pcm, "pcm_oss: trigger = 0x%x\n", trigger); in snd_pcm_oss_set_trigger()
2001 if (trigger & PCM_ENABLE_OUTPUT) { in snd_pcm_oss_set_trigger()
2002 if (runtime->oss.trigger) in snd_pcm_oss_set_trigger()
2007 runtime->oss.trigger = 1; in snd_pcm_oss_set_trigger()
2011 if (!runtime->oss.trigger) in snd_pcm_oss_set_trigger()
2013 runtime->oss.trigger = 0; in snd_pcm_oss_set_trigger()
2025 if (trigger & PCM_ENABLE_INPUT) { in snd_pcm_oss_set_trigger()
2026 if (runtime->oss.trigger) in snd_pcm_oss_set_trigger()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dallwinner,sun67i-sc-nmi.txt12 second cell the trigger type as defined in interrupt.txt in this directory.
/linux-4.1.27/sound/soc/codecs/
Dwm0010.c885 int trigger; in wm0010_spi_probe() local
953 trigger = wm0010->pdata.irq_flags; in wm0010_spi_probe()
955 trigger = IRQF_TRIGGER_FALLING; in wm0010_spi_probe()
956 trigger |= IRQF_ONESHOT; in wm0010_spi_probe()
958 ret = request_threaded_irq(irq, NULL, wm0010_irq, trigger | IRQF_ONESHOT, in wm0010_spi_probe()
Dmax98357a.c84 .trigger = max98357a_daiops_trigger,
/linux-4.1.27/arch/arm64/include/asm/
Dhw_breakpoint.h31 u64 trigger; member
/linux-4.1.27/arch/frv/kernel/
Dirq.c152 #error dont know external IRQ trigger levels for this setup in init_IRQ()

1234