Home
last modified time | relevance | path

Searched +full:leds +full:- +full:trigger +full:- +full:pattern (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common leds properties
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
[all …]
/kernel/linux/linux-5.10/drivers/leds/trigger/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "LED Trigger support"
6 This option enables trigger support for the leds class.
7 These triggers allow kernel events to drive the LEDs and can
13 tristate "LED Timer Trigger"
15 This allows LEDs to be controlled by a programmable timer
18 For more details read Documentation/leds/leds-class.rst.
23 tristate "LED One-shot Trigger"
25 This allows LEDs to blink in one-shot pulses with parameters
36 bool "LED Disk Trigger"
[all …]
Dledtrig-oneshot.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * One-shot LED Trigger
7 * Based on ledtrig-timer.c by Richard Purdie <rpurdie@openedhand.com>
16 #include <linux/leds.h>
17 #include "../leds.h"
32 &led_cdev->blink_delay_on, &led_cdev->blink_delay_off, in led_shot()
33 oneshot_data->invert); in led_shot()
43 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show()
58 oneshot_data->invert = !!state; in led_invert_store()
60 if (oneshot_data->invert) in led_invert_store()
[all …]
Dledtrig-timer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * LED Kernel Timer Trigger
5 * Copyright 2005-2006 Openedhand Ltd.
16 #include <linux/leds.h>
23 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on); in led_delay_on_show()
37 led_blink_set(led_cdev, &state, &led_cdev->blink_delay_off); in led_delay_on_store()
38 led_cdev->blink_delay_on = state; in led_delay_on_store()
48 return sprintf(buf, "%lu\n", led_cdev->blink_delay_off); in led_delay_off_show()
62 led_blink_set(led_cdev, &led_cdev->blink_delay_on, &state); in led_delay_off_store()
63 led_cdev->blink_delay_off = state; in led_delay_off_store()
[all …]
Dledtrig-pattern.c1 // SPDX-License-Identifier: GPL-2.0
4 * LED pattern trigger
11 #include <linux/leds.h>
41 data->curr = data->next; in pattern_trig_update_patterns()
42 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns()
43 data->repeat--; in pattern_trig_update_patterns()
45 if (data->next == data->patterns + data->npatterns - 1) in pattern_trig_update_patterns()
46 data->next = data->patterns; in pattern_trig_update_patterns()
48 data->next++; in pattern_trig_update_patterns()
50 data->delta_t = 0; in pattern_trig_update_patterns()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-led-trigger-pattern1 What: /sys/class/leds/<led>/pattern
5 Specify a software pattern for the LED, that supports altering
9 The pattern is given by a series of tuples, of brightness and
13 Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt
15 What: /sys/class/leds/<led>/hw_pattern
19 Specify a hardware pattern for the LED, for LED hardware that
22 software pattern.
27 file at Documentation/leds/.
29 What: /sys/class/leds/<led>/repeat
33 Specify a pattern repeat number. -1 means repeat indefinitely,
Dsysfs-class-led-driver-el152030001 What: /sys/class/leds/<led>/repeat
6 so this file should always store -1.
9 Documentation/ABI/testing/sysfs-class-led-trigger-pattern
/kernel/linux/linux-5.10/include/linux/
Dleds.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Driver model for leds and led triggers
11 #include <dt-bindings/leds/common.h>
41 * with in-driver hard-coded LED names used as a fallback when
54 * only LEDs exposed by drivers of hot-pluggable devices should
100 * Set LED brightness level immediately - it can block the caller for
121 struct led_pattern *pattern, u32 len, int repeat);
128 const char *default_trigger; /* Trigger to use */
140 /* Protects the trigger data below */
143 struct led_trigger *trigger; member
[all …]
/kernel/linux/linux-4.19/drivers/tty/vt/
Dkeyboard.c1 // SPDX-License-Identifier: GPL-2.0
15 * 11-11-96: SAK should now work in the raw mode (Martin Mares)
18 * Merge with the m68k keyboard driver and split-off of the PC low-level
21 * 27-05-97: Added support for the Magic SysRq Key (Martin Mares)
22 * 30-07-98: Dead keys redone, aeb@cwi.nl.
23 * 21-08-02: Converted to input API, major cleanup. (Vojtech Pavlik)
38 #include <linux/leds.h>
116 255, ARRAY_SIZE(func_table) - 1, ARRAY_SIZE(fn_handler) - 1, NR_PAD - 1,
117 NR_DEAD - 1, 255, 3, NR_SHIFT - 1, 255, NR_ASCII - 1, NR_LOCK - 1,
118 255, NR_LOCK - 1, 255, NR_BRL - 1
[all …]
/kernel/linux/linux-5.10/drivers/tty/vt/
Dkeyboard.c1 // SPDX-License-Identifier: GPL-2.0
15 * 11-11-96: SAK should now work in the raw mode (Martin Mares)
18 * Merge with the m68k keyboard driver and split-off of the PC low-level
21 * 27-05-97: Added support for the Magic SysRq Key (Martin Mares)
22 * 30-07-98: Dead keys redone, aeb@cwi.nl.
23 * 21-08-02: Converted to input API, major cleanup. (Vojtech Pavlik)
39 #include <linux/leds.h>
117 255, ARRAY_SIZE(func_table) - 1, ARRAY_SIZE(fn_handler) - 1, NR_PAD - 1,
118 NR_DEAD - 1, 255, 3, NR_SHIFT - 1, 255, NR_ASCII - 1, NR_LOCK - 1,
119 255, NR_LOCK - 1, 255, NR_BRL - 1
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-mt6323.c17 #include <linux/leds.h>
85 * struct mt6323_led - state container for the LED device
99 * struct mt6323_leds - state container for holding LED controller
120 struct mt6323_leds *leds = led->parent; in mt6323_led_hw_brightness() local
121 struct regmap *regmap = leds->hw->regmap; in mt6323_led_hw_brightness()
132 con2_val |= MT6323_ISINK_CH_STEP(brightness - 1) | in mt6323_led_hw_brightness()
136 ret = regmap_update_bits(regmap, MT6323_ISINK_CON2(led->id), in mt6323_led_hw_brightness()
144 struct mt6323_leds *leds = led->parent; in mt6323_led_hw_off() local
145 struct regmap *regmap = leds->hw->regmap; in mt6323_led_hw_off()
149 status = MT6323_ISINK_CH_EN(led->id); in mt6323_led_hw_off()
[all …]
Dleds-tca6507.c2 * leds-tca6507
7 * The modulation can be varied in a simple pattern to produce a
8 * blink or double-blink.
11 * out-only (pull-up resistor required) or as an LED with variable
12 * brightness and hardware-assisted blinking.
20 * with separate time for rise, on, fall, off and second-off. Thus if
21 * 3 or more different non-trivial rates are required, software must
24 * support double-blink so 'second-off' always matches 'off'.
41 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504,
42 * 28560-36720.
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-tca6507.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * leds-tca6507
8 * The modulation can be varied in a simple pattern to produce a
9 * blink or double-blink.
12 * out-only (pull-up resistor required) or as an LED with variable
13 * brightness and hardware-assisted blinking.
21 * with separate time for rise, on, fall, off and second-off. Thus if
22 * 3 or more different non-trivial rates are required, software must
25 * support double-blink so 'second-off' always matches 'off'.
42 * delays in the ranges: 56-72, 112-144, 168-216, 224-27504,
[all …]
/kernel/linux/linux-4.19/net/netfilter/
DKconfig46 and is also scheduled to replace the old syslog-based ipt_LOG
122 ---help---
153 This allows you to store the flow start-time and to obtain
154 the flow-stop time (once it has been destroyed) via Connection
162 This option enables support for assigning user-defined flag bits
191 bool 'UDP-Lite protocol connection tracking support'
196 tracking code will be able to do state tracking on UDP-Lite
210 connection tracking and natting code to allow the sub-channels that
235 H.323 is a VoIP signalling protocol from ITU-T. As one of the most
254 There is a commonly-used extension to IRC called
[all …]
/kernel/linux/linux-5.10/net/netfilter/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 and is also scheduled to replace the old syslog-based ipt_LOG
154 This allows you to store the flow start-time and to obtain
155 the flow-stop time (once it has been destroyed) via Connection
163 This option enables support for assigning user-defined flag bits
192 bool 'UDP-Lite protocol connection tracking support'
197 tracking code will be able to do state tracking on UDP-Lite
211 connection tracking and natting code to allow the sub-channels that
234 H.323 is a VoIP signalling protocol from ITU-T. As one of the most
253 There is a commonly-used extension to IRC called
[all …]
/kernel/linux/linux-4.19/Documentation/laptops/
Dthinkpad-acpi.txt8 http://ibm-acpi.sf.net/
16 This driver used to be named ibm-acpi until kernel 2.6.21 and release
17 0.13-20070314. It used to be in the drivers/acpi tree, but it was
18 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
22 The driver is named "thinkpad-acpi". In some places, like module
26 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
30 ------
35 - Fn key combinations
36 - Bluetooth enable and disable
37 - video output switching, expansion control
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dxcalibur1501.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 * XCalibur1501 6U CompactPCI single-board computer based on MPC8572E
9 /dts-v1/;
13 #address-cells = <2>;
14 #size-cells = <2>;
27 #address-cells = <1>;
28 #size-cells = <0>;
33 d-cache-line-size = <32>; // 32 bytes
34 i-cache-line-size = <32>; // 32 bytes
35 d-cache-size = <0x8000>; // L1, 32K
[all …]
Dxpedite5301.dts1 // SPDX-License-Identifier: GPL-2.0-only
9 /dts-v1/;
13 #address-cells = <2>;
14 #size-cells = <2>;
15 form-factor = "PMC/XMC";
16 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */
28 #address-cells = <1>;
29 #size-cells = <0>;
34 d-cache-line-size = <32>; // 32 bytes
35 i-cache-line-size = <32>; // 32 bytes
[all …]
Dxpedite5370.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 * XPedite5370 3U VPX single-board computer based on MPC8572E
9 /dts-v1/;
13 #address-cells = <2>;
14 #size-cells = <2>;
26 #address-cells = <1>;
27 #size-cells = <0>;
32 d-cache-line-size = <32>; // 32 bytes
33 i-cache-line-size = <32>; // 32 bytes
34 d-cache-size = <0x8000>; // L1, 32K
[all …]
Dxpedite5330.dts1 // SPDX-License-Identifier: GPL-2.0-only
9 /dts-v1/;
13 #address-cells = <2>;
14 #size-cells = <2>;
15 form-factor = "3U CompactPCI";
16 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */
29 #address-cells = <1>;
30 #size-cells = <0>;
33 cell-index = <0>;
37 * module-present;
[all …]
/kernel/linux/linux-4.19/arch/powerpc/boot/dts/
Dxpedite5301.dts12 /dts-v1/;
16 #address-cells = <2>;
17 #size-cells = <2>;
18 form-factor = "PMC/XMC";
19 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */
31 #address-cells = <1>;
32 #size-cells = <0>;
37 d-cache-line-size = <32>; // 32 bytes
38 i-cache-line-size = <32>; // 32 bytes
39 d-cache-size = <0x8000>; // L1, 32K
[all …]
Dxpedite5370.dts5 * XPedite5370 3U VPX single-board computer based on MPC8572E
12 /dts-v1/;
16 #address-cells = <2>;
17 #size-cells = <2>;
29 #address-cells = <1>;
30 #size-cells = <0>;
35 d-cache-line-size = <32>; // 32 bytes
36 i-cache-line-size = <32>; // 32 bytes
37 d-cache-size = <0x8000>; // L1, 32K
38 i-cache-size = <0x8000>; // L1, 32K
[all …]
Dxcalibur1501.dts5 * XCalibur1501 6U CompactPCI single-board computer based on MPC8572E
12 /dts-v1/;
16 #address-cells = <2>;
17 #size-cells = <2>;
30 #address-cells = <1>;
31 #size-cells = <0>;
36 d-cache-line-size = <32>; // 32 bytes
37 i-cache-line-size = <32>; // 32 bytes
38 d-cache-size = <0x8000>; // L1, 32K
39 i-cache-size = <0x8000>; // L1, 32K
[all …]
Dxpedite5330.dts12 /dts-v1/;
16 #address-cells = <2>;
17 #size-cells = <2>;
18 form-factor = "3U CompactPCI";
19 boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */
32 #address-cells = <1>;
33 #size-cells = <0>;
36 cell-index = <0>;
40 * module-present;
46 #address-cells = <1>;
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]

12