Home
last modified time | relevance | path

Searched +full:led +full:- +full:order (Results 1 – 25 of 262) sorted by relevance

1234567891011

/Linux-v6.1/Documentation/leds/
Dleds-class-flash.rst2 Flash LED handling under Linux
5 Some LED devices provide two modes - torch and flash. In the LED subsystem
6 those modes are supported by LED class (see Documentation/leds/leds-class.rst)
7 and LED Flash class respectively. The torch mode related features are enabled
11 In order to enable the support for flash LEDs CONFIG_LEDS_CLASS_FLASH symbol
12 must be defined in the kernel config. A LED Flash class driver must be
13 registered in the LED subsystem with led_classdev_flash_register function.
15 Following sysfs attributes are exposed for controlling flash LED devices:
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
18 - flash_brightness
[all …]
Dleds-class-multicolor.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Multicolor LED handling under Linux
17 array. These files are children under the LED parent node created by the
18 led_class framework. The led_class framework is documented in led-class.rst
21 Each colored LED will be indexed under the multi_* files. The order of the
30 order for the color LED intensities to be updated.
34 root:/sys/class/leds/multicolor:status# ls -lR
35 -rw-r--r-- 1 root root 4096 Oct 19 16:16 brightness
36 -r--r--r-- 1 root root 4096 Oct 19 16:16 max_brightness
37 -r--r--r-- 1 root root 4096 Oct 19 16:16 multi_index
[all …]
Dleds-qcom-lpg.rst1 .. SPDX-License-Identifier: GPL-2.0
8 -----------
11 number of PWM channels, a programmable pattern lookup table and a RGB LED
22 In order to provide support for status notifications with the CPU subsystem in
30 /sys/class/leds/<led>/hw_pattern
31 --------------------------------
33 Specify a hardware pattern for a Qualcomm LPG LED.
35 The pattern is a series of brightness and hold-time pairs, with the hold-time
39 transitions expected by the leds-trigger-pattern format, each entry in the
40 pattern must be followed a zero-length entry of the same brightness.
[all …]
/Linux-v6.1/Documentation/driver-api/gpio/
Dboard.rst7 Note that it only applies to the new descriptor-based interface. For a
8 description of the deprecated integer-based GPIO interface please refer to
20 -----------
26 <function>-gpios, where <function> is the function the driver will request
32 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */
36 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 Properties named <function>-gpio are also considered valid and old bindings use
44 "led" function, and GPIO 1 as the "power" GPIO::
48 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
49 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/leds/
Dleds-ns2.txt1 Binding for dual-GPIO LED found on Network Space v2 (and parents).
4 - compatible: "lacie,ns2-leds".
6 Each LED is represented as a sub-node of the ns2-leds device.
8 Required sub-node properties:
9 - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification.
10 - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification.
11 - modes-map: A mapping between LED modes (off, on or SATA activity blinking) and
12 the corresponding cmd-gpio/slow-gpio values. All the GPIO values combinations
13 should be given in order to avoid having an unknown mode at driver probe time.
15 Optional sub-node properties:
[all …]
Dskyworks,aat1290.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
16 respectively. In order to add a capability of selecting the strobe signal
24 enset-gpios:
28 flen-gpios:
32 led:
37 led-max-microamp: true
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-led-multicolor2 What: /sys/class/leds/<led>/multi_index
7 The multi_index array, when read, will output the LED colors
12 Documentation/leds/leds-class-multicolor.rst.
14 What: /sys/class/leds/<led>/multi_intensity
19 This file contains array of integers. Order of components is
21 not exceed /sys/class/leds/<led>/max_brightness.
24 Documentation/leds/leds-class-multicolor.rst.
Dsysfs-class-scsi_host7 Storage Control Unit embeds up to two 4-port controllers in
8 a single PCI device. The controllers are enumerated in order
34 Contact: linux-ide@vger.kernel.org
60 a) It does not use host-initiated slumber mode, but it does
61 allow device-initiated slumber
68 Contact: linux-ide@vger.kernel.org
70 em_message: (RW) Enclosure management support. For the LED
71 protocol, writes and reads correspond to the LED message format
75 OFF it they wish to control the activity LED via the em_message
79 protocol that is being used by the driver (for eg. LED, SAF-TE,
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
46 the latter, since it makes troubleshooting a lot easier. The built-in
50 camera; some programs depend on a particular image-size or -format and
60 Specifies the desired framerate. Is an integer in the range of 4-30.
[all …]
/Linux-v6.1/drivers/mfd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
110 additional drivers must be enabled in order to use the
119 over at91-usart-serial driver and usart-spi-driver. Only one function
135 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/wireless/
Dmediatek,mt76.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
5 ---
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Felix Fietkau <nbd@nbd.name>
13 - Lorenzo Bianconi <lorenzo@kernel.org>
14 - Ryder Lee <ryder.lee@mediatek.com>
24 - $ref: ieee80211.yaml#
29 - mediatek,mt76
30 - mediatek,mt7628-wmac
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Andre Przywara <andre.przywara@arm.com>
19 const: calxeda,hb-ahci
27 dma-coherent: true
29 calxeda,pre-clocks:
35 calxeda,post-clocks:
41 calxeda,led-order:
43 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/
DTODO7 - for BHT: /lib/firmware/shisp_2400b0_v21.bin
11 - for CHT: /lib/firmware/shisp_2401a0_v21.bin
13 …https://github.com/intel-aero/meta-intel-aero-base/blob/master/recipes-kernel/linux/linux-yocto/sh…
24 In order to test, it is needed to know what's the sensor's
27 $ v4l2-ctl --get-fmt-video
34 - v4l2grab at contrib/test directory at https://git.linuxtv.org/v4l-utils.git/
42 v4l2grab -f YUYV -x 1600 -y 1200 -d /dev/video2 -u
44 - NVT at https://github.com/intel/nvt
46 $ ./v4l2n -o testimage_@.raw \
47 --device /dev/video2 \
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/
Dmv88x201x.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
35 * twice in order to get the right values. Future * revisions will fix
42 /* Setup the LED registers so we can turn on/off. in led_init()
52 u32 led = 0; in led_link() local
55 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
58 led |= LINK_ENABLE_BIT; in led_link()
59 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
61 led &= ~LINK_ENABLE_BIT; in led_link()
62 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-sm1-odroid-c4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1-odroid.dtsi"
11 compatible = "hardkernel,odroid-c4", "amlogic,sm1";
12 model = "Hardkernel ODROID-C4";
15 compatible = "gpio-leds";
17 led-blue {
21 linux,default-trigger = "heartbeat";
22 panic-indicator;
27 model = "ODROID-C4";
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dstm32mp15xx-dhcom-picoitx.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
17 stdout-path = "serial0:115200n8";
20 led {
21 compatible = "gpio-leds";
23 led-0 {
24 label = "yellow:led";
26 default-state = "off";
47 * in order to turn on port power when USB bus is powered up, but so
[all …]
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h1 /* Copyright 2008-2013 Broadcom Corporation
8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
83 #define SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1)
85 #define SINGLE_MEDIA(params) (params->num_phys == 2)
87 #define DUAL_MEDIA(params) (params->num_phys == 3)
119 #define LINK_CONFIG_SIZE (MAX_PHYS - 1)
121 0 : (_phy_idx - 1))
157 /* No Over-Current detection */
226 /* Set link led mode (on/off/oper)*/
296 * operation, according to bits 29:28 -
[all …]
/Linux-v6.1/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include "pvrusb2-dvb.h"
35 /* Null-terminated array of I2C addresses to try in order
38 address of zero. If this is a null pointer or zero-length,
69 #define PVR2_IR_SCHEME_24XXX 1 /* FX2-controlled IR */
70 #define PVR2_IR_SCHEME_ZILOG 2 /* HVR-1950 style (must be taken out of reset) */
76 constraints). See the top of pvrusb2-hdw.c for where this is
115 interpreted by logic which must send commands to the chip-level
119 /* Indicates scheme for controlling device's LED (if any). The
120 driver will turn on the LED when streaming is underway. This
[all …]
/Linux-v6.1/arch/mips/include/asm/mach-ath25/
Dath25_platform.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * This is board-specific data that is stored in a "fixed" location in flash.
10 * The main reason we need it is in order to extract the ethernet MAC
28 #define BD_SYSLED 0x00000020 /* System LED stuffed */
42 u16 sys_led_gpio; /* System LED GPIO pin */
/Linux-v6.1/arch/sparc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "64-bit kernel" if "$(ARCH)" = "sparc"
10 Say yes to build a 64-bit kernel - formerly known as sparc64
11 Say no to build a 32-bit kernel - formerly known as sparc
154 bool "Symmetric multi-processing support"
160 If you say N here, the kernel will run on uni- and multiprocessor
170 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
223 bool "Support for hot-pluggable CPUs"
235 tristate "UltraSPARC-III Memory Controller driver"
239 This adds a driver for the UltraSPARC-III memory controller.
[all …]
/Linux-v6.1/drivers/staging/media/deprecated/tm6000/
Dtm6000-input.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tm6000-input.c - driver for TM5600/TM6000/TM6010 USB video capture devices
15 #include <media/rc-core.h>
18 #include "tm6000-regs.h"
32 #define URB_SUBMIT_DELAY 100 /* ms - Delay to submit an URB request on retrial and init */
33 #define URB_INT_LED_DELAY 100 /* ms - Delay to turn led on again on int mode */
39 printk(KERN_DEBUG "%s/ir: " fmt, ir->name , ## arg); \
66 struct tm6000_IR *ir = dev->ir; in tm6000_ir_wait()
68 if (!dev->ir) in tm6000_ir_wait()
71 dprintk(2, "%s: %i\n",__func__, ir->wait); in tm6000_ir_wait()
[all …]
/Linux-v6.1/drivers/thermal/intel/int340x_thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 The display thermal device represents the LED/LCD display panel
41 brightness in order to address a thermal condition or to reduce
/Linux-v6.1/drivers/video/backlight/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 This framework adds support for low-level control of LCD.
15 Some framebuffer devices connect to platform-specific LCD modules
16 in order to have a platform-specific way to control the flat panel
53 off state, so you need this driver in order to see any
90 This driver provides a platform-device registered LCD power
94 tristate "Sharp SL-6000 LCD Driver"
97 If you have an Sharp SL-6000 Zaurus say Y to enable a driver
125 tristate "Himax HX-8357 LCD Driver"
128 If you have a HX-8357 LCD panel, say Y to enable its LCD control
[all …]
/Linux-v6.1/drivers/leds/trigger/
Dledtrig-activity.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Activity LED trigger
6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
37 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
49 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
53 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
75 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
79 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
80 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()
[all …]
/Linux-v6.1/include/linux/
Dkbd_kern.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * kbd->xxx contains the VC-local things (flag settings etc..)
16 * external order being the same.
23 /* 8 modifiers - the names do not have any meaning at all;
41 #define VC_SCROLLOCK 0 /* scroll-lock mode */
46 unsigned char kbdmode:3; /* one 3-bit value */
57 #define VC_CRLF 3 /* 0 - enter sends CR, 1 - enter sends CRLF */
58 #define VC_META 4 /* 0 - meta, 1 - meta=prefix with ESC */
63 extern void setledstate(struct kbd_struct *kbd, unsigned int led);
67 extern void (*kbd_ledfunc)(unsigned int led);
[all …]

1234567891011