Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.12.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 …]
Dleds-blinkm.rst5 The leds-blinkm driver supports the devices of the BlinkM family.
7 They are RGB-LED modules driven by a (AT)tiny microcontroller and
10 daisy-chain up to 127 BlinkMs on an I2C bus.
16 The interface this driver provides is 3-fold:
18 a) LED multicolor class interface for use with triggers
23 blinkm-<i2c-bus-nr>-<i2c-device-nr>:rgb:indicator
25 $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator
31 The order in which to write the intensity values can be found in multi_index.
40 b) LED class interface for use with triggers
45 blinkm-<i2c-bus-nr>-<i2c-device-nr>-<color>
[all …]
/linux-6.12.1/Documentation/driver-api/gpio/
Dboard.rst14 -----------
20 <function>-gpios, where <function> is the function the driver will request
26 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */
30 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 Properties named <function>-gpio are also considered valid and old bindings use
38 "led" function, and GPIO 1 as the "power" GPIO::
42 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
43 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
44 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
48 The led GPIOs will be active high, while the power GPIO will be active low (i.e.
[all …]
/linux-6.12.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 …]
Dallwinner,sun50i-a100-ledc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/allwinner,sun50i-a100-ledc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A100 LED Controller
10 - Samuel Holland <samuel@sholland.org>
13 The LED controller found in Allwinner sunxi SoCs uses a one-wire serial
19 - const: allwinner,sun50i-a100-ledc
20 - items:
21 - enum:
[all …]
/linux-6.12.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-6.12.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.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Felix Fietkau <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
25 - mediatek,mt76
26 - mediatek,mt7628-wmac
27 - mediatek,mt7622-wmac
[all …]
/linux-6.12.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-6.12.1/drivers/mfd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
82 called sun4i-gpadc.
113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
135 additional drivers must be enabled in order to use the
144 over at91-usart-serial driver and usart-spi-driver. Only one function
160 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/linux-6.12.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-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm47094-dlink-dir-890l.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Device tree for D-Link DIR-890L
4 * D-Link calls this board "WRGAC36"
5 * this router has the same looks and form factor as D-Link DIR-885L.
7 * Some differences from DIR-885L include a separate USB2 port, separate LEDs
11 * order.
13 * Based on the device tree for DIR-885L
18 /dts-v1/;
21 #include "bcm5301x-nand-cs0-bch1.dtsi"
24 compatible = "dlink,dir-890l", "brcm,bcm47094", "brcm,bcm4708";
[all …]
/linux-6.12.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-6.12.1/arch/arm/boot/dts/st/
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-6.12.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-6.12.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-6.12.1/Documentation/userspace-api/media/v4l/
Dmetafmt-d4xx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-d4xx:
15 Intel D4xx (D435, D455 and others) cameras include per-frame metadata in their UVC
32 where all fields are in little endian order:
37 .. flat-table:: D4xx metadata
39 :header-rows: 1
40 :stub-columns: 0
42 * - **Field**
43 - **Description**
44 * - :cspan:`1` *Depth Control*
[all …]
/linux-6.12.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-6.12.1/arch/arm/boot/dts/microchip/
Dat91-sama5d27_wlsom1_ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d27_wlsom1_ek.dts - Device Tree file for SAMA5D27 WLSOM1 EK
9 /dts-v1/;
10 #include "at91-sama5d27_wlsom1.dtsi"
11 #include <dt-bindings/input/input.h>
15 …compatible = "microchip,sama5d27-wlsom1-ek", "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel…
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 pinctrl-names = "default";
[all …]
/linux-6.12.1/drivers/parisc/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile PCI and non-PCI devices in PA-RISC machines
5 # Keep the order below, e.g.
6 # - ccio before any potential subdevices
7 # - gsc is required before lasi and wax
8 # - asp and wax before the EISA adapters for the IRQ regions
9 # - EISA must come before PCI to be sure it gets IRQ region
12 obj-$(CONFIG_IOSAPIC) += iosapic.o
13 obj-$(CONFIG_IOMMU_SBA) += sba_iommu.o
14 obj-$(CONFIG_PCI_LBA) += lba_pci.o
[all …]
/linux-6.12.1/drivers/thermal/intel/int340x_thermal/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 The display thermal device represents the LED/LCD display panel
43 brightness in order to address a thermal condition or to reduce
/linux-6.12.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 …]

12345678910>>...12