Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/Documentation/leds/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/
H A 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
9 gpio-legacy.txt (actually, there is no real mapping possible with the old
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);
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/
H A 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 …]
H A Dleds-aat1290.txt5 respectively. In order to add a capability of selecting the strobe signal source
11 - compatible : Must be "skyworks,aat1290".
12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin.
13 - enset-gpios : Must be device tree identifier of the flash device EN_SET pin.
16 - pinctrl-names : Must contain entries: "default", "host", "isp". Entries
22 A discrete LED element connected to the device must be represented by a child
23 node - see Documentation/devicetree/bindings/leds/common.txt.
25 Required properties of the LED child node:
26 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/media/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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.
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dmax77693.txt1 Maxim MAX77693 multi-function device
4 - PMIC,
5 - CHARGER,
6 - LED,
7 - MUIC,
8 - HAPTIC
14 - compatible : Must be "maxim,max77693".
15 - reg : Specifies the i2c slave address of PMIC block.
16 - interrupts : This i2c device has an IRQ line connected to the main SoC.
19 - regulators : The regulators of max77693 have to be instantiated under subnode
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_led_test.c2 * led_test.c -- led test application
6 * Panzhenzhuan Wang <randy.wang@rock-chips.com>
7 * Bin Yang <yangbin@rock-chips.com>
14 * http://www.apache.org/licenses/LICENSE-2.0
38 #define LED_BRIGHTNESS_FILE "/sys/class/leds/led%d/brightness"
39 #define LED_TRIGGER_FILE "/sys/class/leds/led%d/trigger"
40 #define LED_SHOT_FILE "/sys/class/leds/led%d/shot"
41 #define LED_DELAY_ON_FILE "/sys/class/leds/led%d/delay_on"
42 #define LED_DELAY_OFF_FILE "/sys/class/leds/led%d/delay_off"
46 //����LED�������ر�
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88x201x.c23 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
44 * twice in order to get the right values. Future * revisions will fix
51 /* Setup the LED registers so we can turn on/off. in led_init()
61 u32 led = 0; in led_link() local
64 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
67 led |= LINK_ENABLE_BIT; in led_link()
68 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
70 led &= ~LINK_ENABLE_BIT; in led_link()
71 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
92 if (t1_is_asic(cphy->adapter)) { in mv88x201x_interrupt_enable()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/
H A 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
164 bool "Symmetric multi-processing support"
170 If you say N here, the kernel will run on uni- and multiprocessor
180 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
233 bool "Support for hot-pluggable CPUs"
245 tristate "UltraSPARC-III Memory Controller driver"
249 This adds a driver for the UltraSPARC-III memory controller.
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-ath25/
H A 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 */
/OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/
H A DTODO7 Didn't test yet with some custom-made app for this driver).
21 2. Use ACPI _DSM table - DONE!
30 The only exception is the atomisp-ov2880, which has a hack inside it
34 opened (or at the first VIDIOC_ ioctl - except for VIDIOC_QUERYCAP),
44 - dynamic pool;
45 - reserved pool;
46 - generic pool
61 drivers/staging/media/ipu3/ipu3-mmu.c
73 CHT version. Yet, there are some ISP-specific headers that change the
83 been removed during the cleanups. They could be needed in order to
[all …]
/OK3568_Linux_fs/kernel/Documentation/scsi/
H A Dncr53c8xx.rst1 .. SPDX-License-Identifier: GPL-2.0
11 95170 DEUIL LA BARRE - FRANCE
30 8.4 Set order type for tagged command
52 10.2.12 LED support
64 10.4 PCI configuration fix-up boot option
81 16.1 Synchronous timings for 53C875 and 53C860 Ultra-SCSI controllers
82 16.2 Synchronous timings for fast SCSI-2 53C8XX controllers
97 - Gerard Roudier <groudier@free.fr>
101 - Wolfgang Stanglmeier <wolf@cologne.de>
102 - Stefan Esser <se@mi.Uni-Koeln.de>
[all …]
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/leds/trigger/
H A Dledtrig-activity.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Activity LED trigger
6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
36 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
47 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
48 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
52 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
74 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
78 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
79 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A Dgpio.txt5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
24 and bit-banged data signals:
27 gpio-controller;
28 #gpio-cells = <2>;
32 data-gpios = <&gpio1 12 0>,
44 recommended to use the two-cell approach.
48 include/dt-bindings/gpio/gpio.h whenever possible:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/scsi/
H A Dhisilicon-sas.txt6 - compatible : value should be as follows:
7 (a) "hisilicon,hip05-sas-v1" for v1 hw in hip05 chipset
8 (b) "hisilicon,hip06-sas-v2" for v2 hw in hip06 chipset
9 (c) "hisilicon,hip07-sas-v2" for v2 hw in hip07 chipset
10 - sas-addr : array of 8 bytes for host SAS address
11 - reg : Contains two regions. The first is the address and length of the SAS
14 we use a CPLD for directly attached disk LED control.
15 - hisilicon,sas-syscon: phandle of syscon used for sas control
16 - ctrl-reset-reg : offset to controller reset register in ctrl reg
17 - ctrl-reset-sts-reg : offset to controller reset status register in ctrl reg
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-sysinfo.h7 * Copyright (c) 2003-2016 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35 #include "cvmx-coremask.h"
44 * This structure must be provided with some fields set in order to
46 * u-boot, etc.) The cvmx_sysinfo_minimal_initialize() function is
98 * Base address of the LED display (as on EBT3000 board) This
99 * will be 0 if LED display not present. Note that this

12345678910>>...14