data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== IIO Interfacing Tools ===================== 1. Linux Kernel Tools ===================== Linux Kernel provides some userspace tools that can be used to retrieve data from IIO sysfs: * lsiio: example application that provides a list of IIO devices and triggers...
Documentation/iio/iio_tools.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============== Industrial I/O ============== .. toctree:: :maxdepth: 1 iio_adc iio_configfs iio_devbuf iio_dmabuf_api iio_tools Industrial I/O Kernel Drivers ============================= .. toctree:: :maxdepth: 1 ad3552r ad4000 ad4030 ad4062 ...
Documentation/iio/index.rst
null
null
null
null
null
source
linux
============================== OPT4060 driver ============================== 1. Overview ============================= This driver supports the Texas Instrument RGBW high resolution color sensor over I2C. https://www.ti.com/lit/gpn/opt4060 The driver supports: - Raw values for red, green, blue and clear. - Illuminan...
Documentation/iio/opt4060.rst
null
null
null
null
null
source
linux
=========================== InfiniBand Midlayer Locking =========================== This guide is an attempt to make explicit the locking assumptions made by the InfiniBand midlayer. It describes the requirements on both low-level drivers that sit below the midlayer and upper level protocols that use the midl...
Documentation/infiniband/core_locking.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========== InfiniBand ========== .. toctree:: :maxdepth: 1 core_locking ipoib opa_vnic sysfs tag_matching ucaps user_mad user_verbs
Documentation/infiniband/index.rst
null
null
null
null
null
source
linux
================== IP over InfiniBand ================== The ib_ipoib driver is an implementation of the IP over InfiniBand protocol as specified by RFC 4391 and 4392, issued by the IETF ipoib working group. It is a "native" implementation in the sense of setting the interface type to ARPHRD_INFINIBAND and th...
Documentation/infiniband/ipoib.rst
null
null
null
null
null
source
linux
================================================================= Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC) ================================================================= Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC) feature supports Ethernet functionality over Omni-Path ...
Documentation/infiniband/opa_vnic.rst
null
null
null
null
null
source
linux
=========== Sysfs files =========== The sysfs interface has moved to Documentation/ABI/stable/sysfs-class-infiniband.
Documentation/infiniband/sysfs.rst
null
null
null
null
null
source
linux
================== Tag matching logic ================== The MPI standard defines a set of rules, known as tag-matching, for matching source send operations to destination receives. The following parameters must match the following source and destination parameters: * Communicator * User tag - wild card may be speci...
Documentation/infiniband/tag_matching.rst
null
null
null
null
null
source
linux
================================= Infiniband Userspace Capabilities ================================= User CAPabilities (UCAPs) provide fine-grained control over specific firmware features in Infiniband (IB) devices. This approach offers more granular capabilities than the existing Linux capabilities, whic...
Documentation/infiniband/ucaps.rst
null
null
null
null
null
source
linux
==================== Userspace MAD access ==================== Device files ============ Each port of each InfiniBand device has a "umad" device and an "issm" device attached. For example, a two-port HCA will have two umad devices and two issm devices, while a switch will have one device of each type (for sw...
Documentation/infiniband/user_mad.rst
null
null
null
null
null
source
linux
====================== Userspace verbs access ====================== The ib_uverbs module, built by enabling CONFIG_INFINIBAND_USER_VERBS, enables direct userspace access to IB hardware via "verbs," as described in chapter 11 of the InfiniBand Architecture Specification. To use the verbs, the libibverbs libra...
Documentation/infiniband/user_verbs.rst
null
null
null
null
null
source
linux
.. _input-event-codes: ================= Input event codes ================= The input protocol uses a map of types and codes to express input device values to userspace. This document describes the types and codes and how and when they may be used. A single hardware event generates multiple input events. Each inpu...
Documentation/input/event-codes.rst
null
null
null
null
null
source
linux
======================== Force feedback for Linux ======================== :Author: Johann Deneux <johann.deneux@gmail.com> on 2001/04/22. :Updated: Anssi Hannula <anssi.hannula@gmail.com> on 2006/04/09. You may redistribute this file. Please remember to include shape.svg and interactive.svg as well. Introduction ~~...
Documentation/input/ff.rst
null
null
null
null
null
source
linux
--------------------------- Linux Gamepad Specification --------------------------- :Author: 2013 by David Herrmann <dh.herrmann@gmail.com> Introduction ~~~~~~~~~~~~ Linux provides many different input drivers for gamepad hardware. To avoid having user-space deal with different button-mappings for each gamepad, this...
Documentation/input/gamepad.rst
null
null
null
null
null
source
linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Programming gameport drivers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A basic classic gameport ~~~~~~~~~~~~~~~~~~~~~~~~ If the gameport doesn't provide more than the inb()/outb() functionality, the code needed to register it with the joystick drivers is simple:: struct gameport gameport; gameport...
Documentation/input/gameport-programming.rst
null
null
null
null
null
source
linux
=================== Input Documentation =================== Contents: .. toctree:: :maxdepth: 2 input_uapi input_kapi devices/index
Documentation/input/index.rst
null
null
null
null
null
source
linux
=============================== Creating an input device driver =============================== The simplest example ~~~~~~~~~~~~~~~~~~~~ Here comes a very simple example of an input device driver. The device has just one button and the button is accessible at i/o port BUTTON_PORT. When pressed or released a BUTTON_I...
Documentation/input/input-programming.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ============ Introduction ============ :Copyright: |copy| 1999-2001 Vojtech Pavlik <vojtech@ucw.cz> - Sponsored by SuSE Architecture ============ Input subsystem is a collection of drivers that is designed to support all input devices under Linux. Most of the drivers reside in drivers/inpu...
Documentation/input/input.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ################################ Linux Input Subsystem kernel API ################################ .. toctree:: :caption: Table of Contents :maxdepth: 2 :numbered: input-programming gameport-programming notifier
Documentation/input/input_kapi.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ################################### Linux Input Subsystem userspace API ################################### .. toctree:: :caption: Table of Contents :maxdepth: 2 :numbered: input event-codes multi-touch-protocol gamepad ff joydev/index uinput userio
Documentation/input/input_uapi.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ========================= Multi-touch (MT) Protocol ========================= :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> Introduction ------------ In order to utilize the full power of the new multi-touch and multi-user devices, a way to report detailed data from mu...
Documentation/input/multi-touch-protocol.rst
null
null
null
null
null
source
linux
================= Keyboard notifier ================= One can use register_keyboard_notifier to get called back on keyboard events (see kbd_keycode() function for details). The passed structure is keyboard_notifier_param (see <linux/keyboard.h>): - 'vc' always provide the VC for which the keyboard event applies; - '...
Documentation/input/notifier.rst
null
null
null
null
null
source
linux
============= uinput module ============= Introduction ============ uinput is a kernel module that makes it possible to emulate input devices from userspace. By writing to /dev/uinput (or /dev/input/uinput) device, a process can create a virtual input device with specific capabilities. Once this virtual device is cre...
Documentation/input/uinput.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> =================== The userio Protocol =================== :Copyright: |copy| 2015 Stephen Chandler Paul <thatslyude@gmail.com> Sponsored by Red Hat Introduction ============= This module is intended to try to make the lives of input driver developers easier by allowing them to test va...
Documentation/input/userio.rst
null
null
null
null
null
source
linux
---------------------- ALPS Touchpad Protocol ---------------------- Introduction ------------ Currently the ALPS touchpad driver supports seven protocol versions in use by ALPS touchpads, called versions 1, 2, 3, 4, 5, 6, 7 and 8. Since roughly mid-2010 several new ALPS touchpads have been released and integrated in...
Documentation/input/devices/alps.rst
null
null
null
null
null
source
linux
=============== Amiga joysticks =============== Pinouts ======= Amiga 4-joystick parallel port extension ---------------------------------------- Parallel port pins: ===== ======== ==== ========== Pin Meaning Pin Meaning ===== ======== ==== ========== 2 Up1 6 Up2 3 Down1 7 Down2 4 ...
Documentation/input/devices/amijoy.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ---------------------------------- Apple Touchpad Driver (appletouch) ---------------------------------- :Copyright: |copy| 2005 Stelian Pop <stelian@popies.net> appletouch is a Linux kernel driver for the USB touchpad found on post February 2005 and October 2005 Apple Aluminium Powerbooks....
Documentation/input/devices/appletouch.rst
null
null
null
null
null
source
linux
==================================== Intelligent Keyboard (ikbd) Protocol ==================================== Introduction ============ The Atari Corp. Intelligent Keyboard (ikbd) is a general purpose keyboard controller that is flexible enough that it can be used in a variety of products without modification. The ...
Documentation/input/devices/atarikbd.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ------------------------ BCM5974 Driver (bcm5974) ------------------------ :Copyright: |copy| 2008-2009 Henrik Rydberg <rydberg@euromail.se> The USB initialization and package decoding was made by Scott Shawcroft as part of the touchd user-space driver project: :Copyright: |copy| 2008 Scot...
Documentation/input/devices/bcm5974.rst
null
null
null
null
null
source
linux
CMA3000-D0x Accelerometer ========================= Supported chips: * VTI CMA3000-D0x Datasheet: CMA3000-D0X Product Family Specification 8281000A.02.pdf <http://www.vti.fi/en/> :Author: Hemanth V <hemanthv@ti.com> Description ----------- CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and...
Documentation/input/devices/cma3000_d0x.rst
null
null
null
null
null
source
linux
Crystal SoundFusion CS4610/CS4612/CS461 joystick ================================================ This is a new low-level driver to support analog joystick attached to Crystal SoundFusion CS4610/CS4612/CS4615. This code is based upon Vortex/Solo drivers as an example of decoration style, and ALSA 0.5.8a kernel drivers...
Documentation/input/devices/cs461x.rst
null
null
null
null
null
source
linux
EDT ft5x06 based Polytouch devices ---------------------------------- The edt-ft5x06 driver is useful for the EDT "Polytouch" family of capacitive touch screens. Note that it is *not* suitable for other devices based on the focaltec ft5x06 devices, since they contain vendor-specific firmware. In particular this driver...
Documentation/input/devices/edt-ft5x06.rst
null
null
null
null
null
source
linux
Elantech Touchpad Driver ======================== Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net> Extra information for hardware version 1 found and provided by Steve Havelka Version 2 (EeePC) hardware support based on patches received from Woody at Xandros and forwarded to me by user StewieGriffin at ...
Documentation/input/devices/elantech.rst
null
null
null
null
null
source
linux
=============== Iforce Protocol =============== :Author: Johann Deneux <johann.deneux@gmail.com> Home page at `<http://web.archive.org/web/*/http://www.esil.univ-mrs.fr>`_ :Additions: by Vojtech Pavlik. Introduction ============ This document describes what I managed to discover about the protocol used to specify...
Documentation/input/devices/iforce-protocol.rst
null
null
null
null
null
source
linux
Driver-specific documentation ============================= This section provides information about various devices supported by the Linux kernel, their protocols, and driver details. .. toctree:: :maxdepth: 2 :numbered: :glob: *
Documentation/input/devices/index.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> .. _joystick-parport: ============================== Parallel Port Joystick Drivers ============================== :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> Sponsored by SuSE Disclaimer ========== Any infor...
Documentation/input/devices/joystick-parport.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ========================= N-Trig touchscreen Driver ========================= :Copyright: |copy| 2008-2010 Rafi Rubin <rafi@seas.upenn.edu> :Copyright: |copy| 2009-2010 Stephane Chatty This driver provides support for N-Trig pen and multi-touch sensors. Single and multi-touch events are tr...
Documentation/input/devices/ntrig.rst
null
null
null
null
null
source
linux
======================================================= pxrc - PhoenixRC Flight Controller Adapter ======================================================= :Author: Marcus Folkesson <marcus.folkesson@gmail.com> This driver let you use your own RC controller plugged into the adapter that comes with PhoenixRC or other c...
Documentation/input/devices/pxrc.rst
null
null
null
null
null
source
linux
============================================================ rotary-encoder - a generic driver for GPIO connected devices ============================================================ :Author: Daniel Mack <daniel@caiaq.de>, Feb 2009 Function -------- Rotary encoders are devices which are connected to the CPU or other...
Documentation/input/devices/rotary-encoder.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ================= Sentelic Touchpad ================= :Copyright: |copy| 2002-2011 Sentelic Corporation. :Last update: Dec-07-2011 Finger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons) ============================================================================ A) M...
Documentation/input/devices/sentelic.rst
null
null
null
null
null
source
linux
=========================== Walkera WK-0701 transmitter =========================== Walkera WK-0701 transmitter is supplied with a ready to fly Walkera helicopters such as HM36, HM37, HM60. The walkera0701 module enables to use this transmitter as joystick Devel homepage and download: http://zub.fei.tuke.sk/walkera-w...
Documentation/input/devices/walkera0701.rst
null
null
null
null
null
source
linux
======================================================= xpad - Linux USB driver for Xbox compatible controllers ======================================================= This driver exposes all first-party and third-party Xbox compatible controllers. It has a long history and has enjoyed considerable usage as Windows' x...
Documentation/input/devices/xpad.rst
null
null
null
null
null
source
linux
=============================================== Driver documentation for yealink usb-p1k phones =============================================== Status ====== The p1k is a relatively cheap usb 1.1 phone with: - keyboard full support, yealink.ko / input event API - LCD full support, yealink.ko / sysfs API - L...
Documentation/input/devices/yealink.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> ====================== Linux Joystick support ====================== :Copyright: |copy| 1996-2000 Vojtech Pavlik <vojtech@ucw.cz> - Sponsored by SuSE .. toctree:: :caption: Table of Contents :maxdepth: 3 joystick joystick-api
Documentation/input/joydev/index.rst
null
null
null
null
null
source
linux
.. _joystick-api: ===================== Programming Interface ===================== :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998 Introduction ============ .. important:: This document describes legacy ``js`` interface. Newer clients are encouraged to switch to the generic event (``evdev``...
Documentation/input/joydev/joystick-api.rst
null
null
null
null
null
source
linux
.. include:: <isonum.txt> .. _joystick-doc: Introduction ============ The joystick driver for Linux provides support for a variety of joysticks and similar devices. It is based on a larger project aiming to support all input devices in Linux. The mailing list for the project is: linux-input@vger.kernel.org send ...
Documentation/input/joydev/joystick.rst
null
null
null
null
null
source
linux
======= Credits ======= I want to thank all who contributed to this project and especially to: (in alphabetical order) Thomas Bogendörfer (tsbogend@bigbug.franken.de) Tester, lots of bugfixes and hints. Alan Cox (alan@lxorguk.ukuu.org.uk) For help getting into standard-kernel. Henner Eisen (eis@baty.hanse.de) ...
Documentation/isdn/credits.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==== ISDN ==== .. toctree:: :maxdepth: 2 interface_capi m_isdn credits
Documentation/isdn/index.rst
null
null
null
null
null
source
linux
========================================= Kernel CAPI Interface to Hardware Drivers ========================================= 1. Overview =========== From the CAPI 2.0 specification: COMMON-ISDN-API (CAPI) is an application programming interface standard used to access ISDN equipment connected to basic rate interface...
Documentation/isdn/interface_capi.rst
null
null
null
null
null
source
linux
============ mISDN Driver ============ mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passive ISDN cards. It was designed to allow a broad range of applications and interfaces but only have the basic function in kernel, the interface to the user space is base...
Documentation/isdn/m_isdn.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0-only ========================== Bash completion for Kbuild ========================== The kernel build system is written using Makefiles, and Bash completion for the `make` command is available through the `bash-completion`_ project. However, the Makefiles for the kernel build are...
Documentation/kbuild/bash-completion.rst
null
null
null
null
null
source
linux
========================= GCC plugin infrastructure ========================= Introduction ============ GCC plugins are loadable modules that provide extra features to the compiler [1]_. They are useful for runtime instrumentation and static analysis. We can analyse, change and add further code during compilation vi...
Documentation/kbuild/gcc-plugins.rst
null
null
null
null
null
source
linux
======================= DWARF module versioning ======================= Introduction ============ When CONFIG_MODVERSIONS is enabled, symbol versions for modules are typically calculated from preprocessed source code using the **genksyms** tool. However, this is incompatible with languages such as Rust, where the so...
Documentation/kbuild/gendwarfksyms.rst
null
null
null
null
null
source
linux
============================================= Exporting kernel headers for use by userspace ============================================= The "make headers_install" command exports the kernel's header files in a form suitable for use by userspace programs. The linux kernel's exported header files describe the API for...
Documentation/kbuild/headers_install.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================== Kernel Build System =================== .. toctree:: :maxdepth: 1 kconfig-language kconfig-macro-language kbuild kconfig makefiles modules headers_install issues reproducible-builds gcc-plugins llvm gendwar...
Documentation/kbuild/index.rst
null
null
null
null
null
source
linux
================ Recursion issues ================ issue #1 -------- .. literalinclude:: Kconfig.recursion-issue-01 :language: kconfig issue #2 -------- .. literalinclude:: Kconfig.recursion-issue-02 :language: kconfig
Documentation/kbuild/issues.rst
null
null
null
null
null
source
linux
====== Kbuild ====== Output files ============ modules.order ------------- This file records the order in which modules appear in Makefiles. This is used by modprobe to deterministically resolve aliases that match multiple modules. modules.builtin --------------- This file lists all modules that are built into the ...
Documentation/kbuild/kbuild.rst
null
null
null
null
null
source
linux
================ Kconfig Language ================ Introduction ------------ The configuration database is a collection of configuration options organized in a tree structure:: +- Code maturity level options | +- Prompt for development and/or incomplete code/drivers +- General setup | +- Networking support | ...
Documentation/kbuild/kconfig-language.rst
null
null
null
null
null
source
linux
====================== Kconfig macro language ====================== Concept ------- The basic idea was inspired by Make. When we look at Make, we notice sort of two languages in one. One language describes dependency graphs consisting of targets and prerequisites. The other is a macro language for performing textual...
Documentation/kbuild/kconfig-macro-language.rst
null
null
null
null
null
source
linux
================================= Configuration targets and editors ================================= This file contains some assistance for using ``make *config``. Use ``make help`` to list all of the possible configuration targets. The xconfig ('qconf'), menuconfig ('mconf'), and nconfig ('nconf') programs also ha...
Documentation/kbuild/kconfig.rst
null
null
null
null
null
source
linux
.. _kbuild_llvm: ============================== Building Linux with Clang/LLVM ============================== This document covers how to build the Linux kernel with Clang and LLVM utilities. About ----- The Linux kernel has always traditionally been compiled with GNU toolchains such as GCC and binutils. Ongoing wo...
Documentation/kbuild/llvm.rst
null
null
null
null
null
source
linux
====================== Linux Kernel Makefiles ====================== This document describes the Linux kernel Makefiles. Overview ======== The Makefiles have five parts:: Makefile the top Makefile. .config the kernel configuration file. arch/$(SRCARCH)/Makefile the arch ...
Documentation/kbuild/makefiles.rst
null
null
null
null
null
source
linux
========================= Building External Modules ========================= This document describes how to build an out-of-tree kernel module. Introduction ============ "kbuild" is the build system used by the Linux kernel. Modules must use kbuild to stay compatible with changes in the build infrastructure and to ...
Documentation/kbuild/modules.rst
null
null
null
null
null
source
linux
=================== Reproducible builds =================== It is generally desirable that building the same source code with the same set of tools is reproducible, i.e. the output is always exactly the same. This makes it possible to verify that the build infrastructure for a binary distribution or embedded system h...
Documentation/kbuild/reproducible-builds.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============= False Sharing ============= What is False Sharing ===================== False sharing is related with cache mechanism of maintaining the data coherence of one cache line stored in multiple CPU's caches; then academic definition for it is in [1]_. Consider a struct wit...
Documentation/kernel-hacking/false-sharing.rst
null
null
null
null
null
source
linux
.. _kernel_hacking_hack: ============================================ Unreliable Guide To Hacking The Linux Kernel ============================================ :Author: Rusty Russell Introduction ============ Welcome, gentle reader, to Rusty's Remarkably Unreliable Guide to Linux Kernel Hacking. This document descr...
Documentation/kernel-hacking/hacking.rst
null
null
null
null
null
source
linux
.. _kernel_hacking: ===================== Kernel Hacking Guides ===================== .. toctree:: :maxdepth: 2 hacking locking false-sharing
Documentation/kernel-hacking/index.rst
null
null
null
null
null
source
linux
.. _kernel_hacking_lock: =========================== Unreliable Guide To Locking =========================== :Author: Rusty Russell Introduction ============ Welcome, to Rusty's Remarkably Unreliable Guide to Kernel Locking issues. This document describes the locking systems in the Linux Kernel in 2.6. With the wi...
Documentation/kernel-hacking/locking.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==== LEDs ==== .. toctree:: :maxdepth: 1 leds-class leds-class-flash leds-class-multicolor ledtrig-oneshot ledtrig-transient ledtrig-usbport uleds leds-blinkm leds-cht-wcove leds-el15203000 leds-lm3556 leds-lp3944 leds-lp5521 leds-lp5...
Documentation/leds/index.rst
null
null
null
null
null
source
linux
================== Leds BlinkM driver ================== The leds-blinkm driver supports the devices of the BlinkM family. They are RGB-LED modules driven by a (AT)tiny microcontroller and communicate through I2C. The default address of these modules is 0x09 but this can be changed through a command. By this you coul...
Documentation/leds/leds-blinkm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========================================================== Kernel driver for Intel Cherry Trail Whiskey Cove PMIC LEDs =========================================================== /sys/class/leds/<led>/hw_pattern -------------------------------- Specify a hardware pattern for the ...
Documentation/leds/leds-cht-wcove.rst
null
null
null
null
null
source
linux
============================== Flash LED handling under Linux ============================== Some LED devices provide two modes - torch and flash. In the LED subsystem those modes are supported by LED class (see Documentation/leds/leds-class.rst) and LED Flash class respectively. The torch mode related features are en...
Documentation/leds/leds-class-flash.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================================== Multicolor LED handling under Linux ==================================== Description =========== The multicolor class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is control...
Documentation/leds/leds-class-multicolor.rst
null
null
null
null
null
source
linux
======================== LED handling under Linux ======================== In its simplest form, the LED class just allows control of LEDs from userspace. LEDs appear in /sys/class/leds/. The maximum brightness of the LED is defined in max_brightness file. The brightness file will set the brightness of the LED (taking...
Documentation/leds/leds-class.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================== Kernel driver for Crane EL15203000 ================================== /sys/class/leds/<led>/hw_pattern -------------------------------- Specify a hardware pattern for the EL15203000 LED. The LEDs board supports only predefined patterns by firmwa...
Documentation/leds/leds-el15203000.rst
null
null
null
null
null
source
linux
======================== Kernel driver for lm3556 ======================== * Texas Instrument: 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source * Datasheet: http://www.national.com/ds/LM/LM3556.pdf Authors: - Daniel Jeong Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail...
Documentation/leds/leds-lm3556.rst
null
null
null
null
null
source
linux
==================== Kernel driver lp3944 ==================== * National Semiconductor LP3944 Fun-light Chip Prefix: 'lp3944' Addresses scanned: None (see the Notes section below) Datasheet: Publicly available at the National Semiconductor website http://www.national.com/pf/LP/LP3944.html Authors...
Documentation/leds/leds-lp3944.rst
null
null
null
null
null
source
linux
======================== Kernel driver for lp5521 ======================== * National Semiconductor LP5521 led driver chip * Datasheet: http://www.national.com/pf/LP/LP5521.html Authors: Mathias Nyman, Yuri Zaporozhets, Samu Onkalo Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) Description ----------- LP5521 ca...
Documentation/leds/leds-lp5521.rst
null
null
null
null
null
source
linux
======================== Kernel driver for lp5523 ======================== * National Semiconductor LP5523 led driver chip * Datasheet: http://www.national.com/pf/LP/LP5523.html Authors: Mathias Nyman, Yuri Zaporozhets, Samu Onkalo Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) Description ----------- LP5523 can ...
Documentation/leds/leds-lp5523.rst
null
null
null
null
null
source
linux
======================== Kernel driver for lp5562 ======================== * TI LP5562 LED Driver Author: Milo(Woogyom) Kim <milo.kim@ti.com> Description =========== LP5562 can drive up to 4 channels. R/G/B and White. LEDs can be controlled directly via the led class control interface. All four channels can ...
Documentation/leds/leds-lp5562.rst
null
null
null
null
null
source
linux
================================================= LP5521/LP5523/LP55231/LP5562/LP8501 Common Driver ================================================= Authors: Milo(Woogyom) Kim <milo.kim@ti.com> Description ----------- LP5521, LP5523/55231, LP5562 and LP8501 have common features as below. Register access via the I...
Documentation/leds/leds-lp55xx.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================== Kernel driver for lp5812 ======================== * TI/National Semiconductor LP5812 LED Driver * Datasheet: https://www.ti.com/product/LP5812#tech-docs Authors: Jared Zhou <jared-zhou@ti.com> Description =========== The LP5812 is a 4x3 matrix LED driver...
Documentation/leds/leds-lp5812.rst
null
null
null
null
null
source
linux
======================================= Kernel driver for Mellanox systems LEDs ======================================= Provide system LED support for the nex Mellanox systems: "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740", "msn2100". Description ----------- Driver provides th...
Documentation/leds/leds-mlxcpld.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================================= The device for Mediatek MT6370 RGB LED ========================================= Description ----------- The MT6370 integrates a four-channel RGB LED driver, designed to provide a variety of lighting effect for mobile device applications. ...
Documentation/leds/leds-mt6370-rgb.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================== Kernel driver for Qualcomm LPG ============================== Description ----------- The Qualcomm LPG can be found in a variety of Qualcomm PMICs and consists of a number of PWM channels, a programmable pattern lookup table and a RGB LED current sin...
Documentation/leds/leds-qcom-lpg.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================================== Kernel driver for Spreadtrum SC27XX =================================== /sys/class/leds/<led>/hw_pattern -------------------------------- Specify a hardware pattern for the SC27XX LED. For the SC27XX LED controller, it only supports 4 stages to ...
Documentation/leds/leds-sc27xx.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================ Kernel driver for STMicroelectronics LED1202 ============================================ /sys/class/leds/<led>/hw_pattern -------------------------------- Specify a hardware pattern for the ST1202 LED. The LED controller implements 12 ...
Documentation/leds/leds-st1202.rst
null
null
null
null
null
source
linux
==================== One-shot LED Trigger ==================== This is a LED trigger useful for signaling the user of an event where there are no clear trap points to put standard led-on and led-off settings. Using this trigger, the application needs only to signal the trigger when an event has happened, then the tri...
Documentation/leds/ledtrig-oneshot.rst
null
null
null
null
null
source
linux
===================== LED Transient Trigger ===================== The leds timer trigger does not currently have an interface to activate a one shot timer. The current support allows for setting two timers, one for specifying how long a state to be on, and the second for how long the state to be off. The delay_on valu...
Documentation/leds/ledtrig-transient.rst
null
null
null
null
null
source
linux
==================== USB port LED trigger ==================== This LED trigger can be used for signalling to the user a presence of USB device in a given port. It simply turns on LED when device appears and turns it off when it disappears. It requires selecting USB ports that should be observed. All available ones a...
Documentation/leds/ledtrig-usbport.rst
null
null
null
null
null
source
linux
============== Userspace LEDs ============== The uleds driver supports userspace LEDs. This can be useful for testing triggers and can also be used to implement virtual LEDs. Usage ===== When the driver is loaded, a character device is created at /dev/uleds. To create a new LED class device, open /dev/uleds and wri...
Documentation/leds/uleds.rst
null
null
null
null
null
source
linux
-*- org -*- It is somehow important to provide consistent interface to the userland. LED devices have one problem there, and that is naming of directories in /sys/class/leds. It would be nice if userland would just know right "name" for given LED function, but situation got more complex. Anyway, if backwards compatib...
Documentation/leds/well-known-leds.txt
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Livepatching APIs ================= Livepatch Enablement ==================== .. kernel-doc:: kernel/livepatch/core.c :export: Shadow Variables ================ .. kernel-doc:: kernel/livepatch/shadow.c :export: System State Changes ====================...
Documentation/livepatch/api.rst
null
null
null
null
null
source
linux
====================== (Un)patching Callbacks ====================== Livepatch (un)patch-callbacks provide a mechanism for livepatch modules to execute callback functions when a kernel object is (un)patched. They can be considered a **power feature** that **extends livepatching abilities** to include: - Safe updat...
Documentation/livepatch/callbacks.rst
null
null
null
null
null
source
linux
=================================== Atomic Replace & Cumulative Patches =================================== There might be dependencies between livepatches. If multiple patches need to do different changes to the same function(s) then we need to define an order in which the patches will be installed. And function impl...
Documentation/livepatch/cumulative-patches.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================== Kernel Livepatching =================== .. toctree:: :maxdepth: 1 livepatch callbacks cumulative-patches module-elf-format shadow-vars system-state reliable-stacktrace api
Documentation/livepatch/index.rst
null
null
null
null
null
source
linux
========= Livepatch ========= This document outlines basic information about kernel livepatching. .. Table of Contents: .. contents:: :local: 1. Motivation ============= There are many situations where users are reluctant to reboot a system. It may be because their system is performing complex scientific computat...
Documentation/livepatch/livepatch.rst
null
null
null
null
null
source
linux
=========================== Livepatch module ELF format =========================== This document outlines the ELF format requirements that livepatch modules must follow. .. Table of Contents .. contents:: :local: 1. Background and motivation ============================ Formerly, livepatch required separate arc...
Documentation/livepatch/module-elf-format.rst
null
null
null
null
null
source
linux
=================== Reliable Stacktrace =================== This document outlines basic information about reliable stacktracing. .. Table of Contents: .. contents:: :local: 1. Introduction =============== The kernel livepatch consistency model relies on accurately identifying which functions may have live state a...
Documentation/livepatch/reliable-stacktrace.rst
null
null
null
null
null