Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/sys/contrib/device-tree/Bindings/leds/
H A Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 LED and flash LED devices provide the same basic functionality as current
15 regulators, but extended with LED and flash LED specific features like
18 Many LED devices expose more than one current output that can be connected
19 to one or more discrete LED component. Since the arrangement of connections
20 can influence the way of the LED device initialization, the LED components
[all …]
H A Dleds-trigger-pattern.txt1 * Pattern format for LED pattern trigger
4 The LED is expected to traverse the series and each brightness value for the
19 It will make the LED go gradually from zero-intensity to max (255) intensity in
22 LED brightness
24 255-| / \ / \ /
28 0-| / \/ \/
29 +---0----1----2----3----4----5----6------------> time (s)
31 2. To make the LED go instantly from one brightness value to another, we should
32 use zero-time lengths (the brightness must be same as the previous tuple's). So
39 It will make the LED stay off for one second, then stay at max brightness for
[all …]
H A Dleds-pm8058.txt1 Qualcomm PM8058 LED driver
3 The Qualcomm PM8058 is a multi-functional device which contains
4 an LED driver block for up to six LEDs: three normal LEDs, two
5 "flash" LEDs and one "keypad backlight" LED. The names are
6 quoted because sometimes these LED drivers are used for wildly
8 are more of a suggestion than a hard-wired usecase.
10 Hardware-wise the different LEDs support slightly different
12 do they support external triggers. They are just powerful LED
17 mfd/qcom-pm8xxx.txt.
19 Each LED is represented as a sub-node of the syscon device. Each
[all …]
H A Dregister-bit-led.txt5 single LED. The register bit LEDs appear as children to the
10 Each LED is represented as a sub-node of the syscon device. Each
11 node's name represents the name of the corresponding LED.
13 LED sub-node properties:
16 - compatible : must be "register-bit-led"
17 - offset : register offset to the register controlling this LED
18 - mask : bit mask for the bit controlling this LED in the register
22 - label : (optional)
24 - linux,default-trigger : (optional)
26 - default-state: (optional) The initial state of the LED
[all …]
H A Dleds-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 Each LED is represented as a sub-node of the gpio-leds device. Each
15 node's name represents the name of the corresponding LED.
19 const: gpio-leds
22 # The first form is preferred, but fall back to just 'led' anywhere in the
[all …]
H A Dleds-lp50xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp50xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LED driver for LP50XX RGB LED from Texas Instruments.
10 - Andrew Davis <afd@ti.com>
13 The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into
14 a LED group or control them individually.
16 The difference in these RGB LED drivers is the number of supported RGB
27 - ti,lp5009
[all …]
H A Dleds-el15203000.txt1 Crane Merchandising System - EL15203000 LED driver
2 --------------------------------------------------
4 This LED Board (aka RED LEDs board) is widely used in
9 Vending area LED encoded with symbol 'V' (hex code 0x56).
12 Screen light tube LED which surrounds vending machine screen and
13 encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern.
15 Water Pipe LED encoded with symbol 'P' (hex code 0x50) and
16 actually consists of 5 LEDs that exposed by protocol like one LED.
18 - cascade pattern
19 - inversed cascade pattern
[all …]
H A Dleds-pwm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Pavel Machek <pavel@ucw.cz>
13 Each LED is represented as a sub-node of the pwm-leds device. Each
14 node's name represents the name of the corresponding LED.
18 const: pwm-leds
21 "^led(-[0-9a-f]+)?$":
30 pwm-names: true
[all …]
H A Dleds-lp55xx.txt1 Binding for TI/National Semiconductor LP55xx Led Drivers
4 - compatible: one of
11 - reg: I2C slave address
12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
16 - max-cur: Maximun current at each led channel.
19 - enable-gpio: GPIO attached to the chip's enable pin
20 - label: Used for naming LEDs
21 - pwr-sel: LP8501 specific property. Power selection for output channels.
28 - chan-name (optional): name of channel
[all …]
H A Dleds-lp55xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lp55xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP55xx and LP8501 LED Drivers
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
15 LED Drivers.
27 - national,lp5521
28 - national,lp5523
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscic_sgpio.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
113 * @param]in] vendor_specific_sequence - Vendor specific sequence set in the
128 * @param[in] pattern_a_high - High(LED on) duration time for pattern A
129 * @param[in] pattern_a_low - Low(LED off) duration time for pattern A
130 * @param[in] pattern_b_high - High(LED on) duration time for pattern B
131 * @param[in] pattern_b_low - Low(LED off) duration time for pattern B
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dpool_import-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
7 # Turn its LED off when it's back ONLINE again.
12 # only set the LED for that particular vdev. This is the case for statechange
23 # 0: enclosure led successfully set
26 # 3: The led sysfs path passed from ZFS does not exist
30 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc"
31 . "${ZED_ZEDLET_DIR}/zed-functions.sh"
33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then
50 # Read an enclosure sysfs file, and write it if it's not already set to 'val'
[all …]
H A Dstatechange-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
7 # Turn its LED off when it's back ONLINE again.
12 # only set the LED for that particular vdev. This is the case for statechange
23 # 0: enclosure led successfully set
26 # 3: The led sysfs path passed from ZFS does not exist
30 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc"
31 . "${ZED_ZEDLET_DIR}/zed-functions.sh"
33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then
50 # Read an enclosure sysfs file, and write it if it's not already set to 'val'
[all …]
H A Dvdev_attach-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
7 # Turn its LED off when it's back ONLINE again.
12 # only set the LED for that particular vdev. This is the case for statechange
23 # 0: enclosure led successfully set
26 # 3: The led sysfs path passed from ZFS does not exist
30 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc"
31 . "${ZED_ZEDLET_DIR}/zed-functions.sh"
33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then
50 # Read an enclosure sysfs file, and write it if it's not already set to 'val'
[all …]
H A Dvdev_clear-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
7 # Turn its LED off when it's back ONLINE again.
12 # only set the LED for that particular vdev. This is the case for statechange
23 # 0: enclosure led successfully set
26 # 3: The led sysfs path passed from ZFS does not exist
30 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc"
31 . "${ZED_ZEDLET_DIR}/zed-functions.sh"
33 if [ ! -d /sys/class/enclosure ] && [ ! -d /sys/bus/pci/slots ] ; then
50 # Read an enclosure sysfs file, and write it if it's not already set to 'val'
[all …]
/freebsd/share/man/man4/
H A Dled.429 .Nm led
30 .Nd API for manipulating LED's, lamps and other annunciators
51 .Pa /dev/led/ .
60 .Pa /dev/led/bla
66 .Bl -tag -width indent -offset indent -compact
76 It should be noted that there is a non-trivial overhead, so this may
79 .Bl -tag -width indent -offset indent -compact
89 .Bl -tag -width indent -offset indent -compact
103 Three high-level commands are available:
104 .Bl -tag -width indent -offset indent
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dled.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2019 Intel Corporation
7 #include "iwl-io.h"
8 #include "iwl-csr.h"
30 IWL_WARN(mvm, "LED command failed: %d\n", err); in iwl_mvm_send_led_fw_cmd()
35 if (fw_has_capa(&mvm->fw->ucode_capa, in iwl_mvm_led_set()
41 iwl_write32(mvm->trans, CSR_LED_REG, in iwl_mvm_led_set()
48 struct iwl_mvm *mvm = container_of(led_cdev, struct iwl_mvm, led); in iwl_led_brightness_set()
60 IWL_ERR(mvm, "Blink led mode not supported, used default\n"); in iwl_mvm_leds_init()
67 IWL_INFO(mvm, "Led disabled\n"); in iwl_mvm_leds_init()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dti-lmu.txt6 ------ ---------------------------------
9 LM3633 Backlight, LED and fault monitor
14 - compatible: Should be one of:
20 - reg: I2C slave address.
28 - enable-gpios: A GPIO specifier for hardware enable pin.
29 - ramp-up-us: Current ramping from one brightness level to
31 Range from 2048 us - 117.44 s
32 - ramp-down-us: Current ramping from one brightness level to
34 Range from 2048 us - 117.44 s
35 - ti,brightness-resolution - This determines whether to use 8 bit brightness
[all …]
/freebsd/sys/dev/led/
H A Dled.c1 /*-
2 * SPDX-License-Identifier: Beerware
4 * ----------------------------------------------------------------------------
5 * "THE BEER-WARE LICENSE" (Revision 42):
8 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
9 * ----------------------------------------------------------------------------
27 #include <dev/led/led.h>
50 static MALLOC_DEFINE(M_LED, "LED", "LED driver");
58 if (sc->ptr == NULL) in led_timeout()
60 if (sc->count > 0) { in led_timeout()
[all …]
/freebsd/sys/dev/iwi/
H A Dif_iwivar.h2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause
169 * dma-ble memory around until detach time, and reallocate it when
200 sc_softled : 1, /* enable LED gpio status */
201 sc_ledstate: 1, /* LED on/off state */
202 sc_blinking: 1; /* LED blink operation active */
204 u_int sc_ledpin; /* mask for activity LED */
206 int sc_ledevent; /* time of last LED event */
207 u_int8_t sc_rxrate; /* current rx rate for LED */
209 u_int8_t sc_txrate; /* current tx rate for LED */
[all …]
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2011-2012 Stefan Bethke.
90 static int arswitch_setled(struct arswitch_softc *sc, int phy, int led,
102 sc->page = -1; in arswitch_probe()
106 sc->chip_rev = (id & AR8X16_MASK_CTRL_REV_MASK); in arswitch_probe()
107 sc->chip_ver = (id & AR8X16_MASK_CTRL_VER_MASK) >> AR8X16_MASK_CTRL_VER_SHIFT; in arswitch_probe()
111 sc->sc_switchtype = AR8X16_SWITCH_AR8216; in arswitch_probe()
115 sc->sc_switchtype = AR8X16_SWITCH_AR8226; in arswitch_probe()
117 /* 0x0301 - AR8236 */ in arswitch_probe()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dencdev10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
15 if [ "$1" = "-h" ] ; then
16 echo "$helpstr" | grep "$script:" | tr -s '\t' | cut -f 2-
28 if [ -z "$VDEV_ENC_SYSFS_PATH" ] ; then
36 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
43 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
[all …]
H A Denc10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
15 if [ "$1" = "-h" ] ; then
16 echo "$helpstr" | grep "$script:" | tr -s '\t' | cut -f 2-
28 if [ -z "$VDEV_ENC_SYSFS_PATH" ] ; then
36 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
43 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
[all …]
H A Dfault_led10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
15 if [ "$1" = "-h" ] ; then
16 echo "$helpstr" | grep "$script:" | tr -s '\t' | cut -f 2-
28 if [ -z "$VDEV_ENC_SYSFS_PATH" ] ; then
36 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
43 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
[all …]
H A Dlocate_led10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
15 if [ "$1" = "-h" ] ; then
16 echo "$helpstr" | grep "$script:" | tr -s '\t' | cut -f 2-
28 if [ -z "$VDEV_ENC_SYSFS_PATH" ] ; then
36 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
43 if echo "$VDEV_ENC_SYSFS_PATH" | grep -q '/sys/bus/pci/slots' ; then
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
[all …]

12345678910>>...17