/kernel/linux/linux-5.10/Documentation/leds/ |
D | leds-class-flash.rst | 2 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 …]
|
D | leds-class-multicolor.rst | 1 .. 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 …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
D | board.rst | 7 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
D | leds-ns2.txt | 1 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 …]
|
D | leds-aat1290.txt | 5 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 …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | Kconfig | 1 # 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 …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-led-multicolor | 2 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.
|
D | sysfs-class-scsi_host | 7 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 …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | philips.rst | 1 .. 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/ |
D | sata_highbank.yaml | 1 # 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | max77693.txt | 1 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88x201x.c | 23 * 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 …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-ath25/ |
D | ath25_platform.h | 1 /* 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 */
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 1 /* 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 …]
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-devattr.h | 1 /* 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 …]
|
/kernel/linux/linux-5.10/arch/sparc/ |
D | Kconfig | 1 # 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/ |
D | TODO | 7 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 …]
|
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/ |
D | tm6000-input.c | 1 // 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 …]
|
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 The display thermal device represents the LED/LCD display panel 40 brightness in order to address a thermal condition or to reduce
|
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
D | ledtrig-activity.c | 1 // 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 …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-sysinfo.h | 7 * 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
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
D | Kconfig | 1 # 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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | kbd_kern.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * kbd->xxx contains the VC-local things (flag settings etc..) 21 * external order being the same. 28 /* 8 modifiers - the names do not have any meaning at all; 46 #define VC_SCROLLOCK 0 /* scroll-lock mode */ 51 unsigned char kbdmode:3; /* one 3-bit value */ 62 #define VC_CRLF 3 /* 0 - enter sends CR, 1 - enter sends CRLF */ 63 #define VC_META 4 /* 0 - meta, 1 - meta=prefix with ESC */ 68 extern void setledstate(struct kbd_struct *kbd, unsigned int led); 72 extern void (*kbd_ledfunc)(unsigned int led); [all …]
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 69 /* swap over swap[0] and swap[1] to get correct write order */ in vnt_mac_set_keyentry() 74 dev_dbg(&priv->usb->dev, "offset %d key ctl %d set key %24ph\n", in vnt_mac_set_keyentry() 176 int vnt_mac_set_led(struct vnt_private *priv, u8 state, u8 led) in vnt_mac_set_led() argument 180 data[0] = led; in vnt_mac_set_led()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | armada-370-synology-ds213j.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-370.dtsi" 30 "marvell,armada-370-xp"; 33 stdout-path = "serial0:115200n8"; [all …]
|