/linux/drivers/hid/ |
H A D | hid-letsketch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * presumably this driver will work for all of them. But it has only been 10 * These tablets also work without a special HID driver, but then only part 12 * to special key-combos. E.g. the 2 stylus buttons send right mouse clicks / 19 * This interface sends raw event input reports in a custom format, but only 25 * but only for some part of the active area due to special "aspect ratio" 26 * correction and only half by default since it assumes it will be used 31 * This interfaces send various hard-coded key-combos for the pad buttons 35 * This reports right-click mouse-button events for the 1st stylus button 38 #include <linux/input.h> [all …]
|
/linux/Documentation/hwmon/ |
H A D | lm25066.rst | 10 Addresses scanned: - 22 Addresses scanned: - 34 Addresses scanned: - 44 Addresses scanned: - 54 Addresses scanned: - 61 Author: Guenter Roeck <linux@roeck-us.net> 65 ----------- 76 ----------- 78 This driver does not auto-detect devices. You will have to instantiate the 79 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for [all …]
|
H A D | tps53679.rst | 10 Addresses scanned: - 18 Addresses scanned: - 26 Addresses scanned: - 34 Addresses scanned: - 42 Addresses scanned: - 50 Addresses scanned: - 58 Addresses scanned: - 65 Guenter Roeck <linux@roeck-us.net> 69 ----------- 71 Chips in this series are multi-phase step-down converters with one or two [all …]
|
H A D | ltc2978.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: - 20 Addresses scanned: - 28 Addresses scanned: - 36 Addresses scanned: - 44 Addresses scanned: - 52 Addresses scanned: - 60 Addresses scanned: - 70 Addresses scanned: - 78 Addresses scanned: - [all …]
|
H A D | lineage-pem.rst | 1 Kernel driver lineage-pem 8 Prefix: 'lineage-pem' 10 Addresses scanned: - 16 Author: Guenter Roeck <linux@roeck-us.net> 20 ----------- 27 and status reporting commands are non-standard. For this reason, a standard 32 ----------- 41 $ modprobe lineage-pem 42 $ echo lineage-pem 0x40 > /sys/bus/i2c/devices/i2c-1/new_device 44 All Lineage CPL power entry modules have a built-in I2C bus master selector [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 18 allows you to use this driver as a test input for application development, since 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present [all …]
|
/linux/drivers/input/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Input device configuration 6 menu "Input device support" 8 config INPUT config 9 tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT 12 Say Y here if you have any input device (mouse, keyboard, tablet, 19 More information is available: <file:Documentation/input/input.rst> 24 module will be called input. 26 if INPUT 29 tristate "Export input device LEDs in sysfs" [all …]
|
/linux/Documentation/input/ |
H A D | input-programming.rst | 2 Creating an input device driver 8 Here comes a very simple example of an input device driver. The device has 12 #include <linux/input.h> 34 return -EBUSY; 40 error = -ENOMEM; 44 button_dev->evbit[0] = BIT_MASK(EV_KEY); 45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0); 74 First it has to include the <linux/input.h> file, which interfaces to the 75 input subsystem. This provides all the definitions needed. 81 Then it allocates a new input device structure with input_allocate_device() [all …]
|
H A D | event-codes.rst | 1 .. _input-event-codes: 4 Input event codes 8 The input protocol uses a map of types and codes to express input device values 12 A single hardware event generates multiple input events. Each input event 14 used to separate input events into packets of input data changes occurring at 16 input event encompassing a type, code, and value. 18 The input protocol is a stateful protocol. Events are emitted only when values 20 input subsystem; drivers do not need to maintain the state and may attempt to 22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event 24 class/input/event*/device/capabilities/, and the properties of a device are [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | nuvoton,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jim LIU <JJLIU0@nuvoton.com> 20 to 64 output pins, and up to 64 input pins, the pin is only for GPI or GPO. 22 - Support interrupt option for each input port and various interrupt 23 sensitivity options (level-high, level-low, edge-high, edge-low) 24 - ngpios is number of nuvoton,input-ngpios GPIO lines and nuvoton,output-ngpios GPIO lines. 25 nuvoton,input-ngpios GPIO lines is only for GPI. 26 nuvoton,output-ngpios GPIO lines is only for GPO. [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | starfive,jh7100-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd. 12 Out of the SoC's many pins only the ones named PAD_GPIO[0] to PAD_GPIO[63] 15 interesting 2-layered approach to pin muxing best illustrated by the diagram 21 LCD output -----------------| | 22 CMOS Camera interface ------| |--- PAD_GPIO[0] 23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1] [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,usb-snps-femto-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 Qualcomm High-Speed USB PHY 18 - items: 19 - enum: 20 - qcom,sa8775p-usb-hs-phy [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dfl-fme | 1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num 5 Description: Read-only. One DFL FPGA device may have more than 1 9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id 13 Description: Read-only. It returns Bitstream (static FPGA region) 17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata 21 Description: Read-only. It returns Bitstream (static FPGA region) meta 25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size 29 Description: Read-only. It returns cache size of this FPGA device. 31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version 35 Description: Read-only. It returns fabric version of this FPGA device. [all …]
|
H A D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 14 Contact: linux-input@vger.kernel.org 17 This attribute group is only available for Intuos 4 M, L, 18 and XL (with LEDs and OLEDs), Intuos 4 WL, Intuos 5 (LEDs only), 19 Intuos Pro (LEDs only) and Cintiq 21UX2 and Cintiq 24HD 20 (LEDs only). Therefore its presence implicitly signifies the 25 Contact: linux-input@vger.kernel.org 35 Contact: linux-input@vger.kernel.org 44 Contact: linux-input@vger.kernel.org 54 Contact: linux-input@vger.kernel.org [all …]
|
/linux/drivers/acpi/ |
H A D | button.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * button.c - ACPI Button Driver 18 #include <linux/input.h> 73 /* GP-electronic T701, _LID method points to a floating GPIO */ 103 * Medion Akoya E2215T, notification of the LID device only 114 * Medion Akoya E2228T, notification of the LID device only 126 * only happens on close, not on open and _LID always returns closed. 173 struct input_dev *input; member 174 char phys[32]; /* for input device */ 183 static long lid_init_state = -1; [all …]
|
/linux/include/linux/ |
H A D | zlib.h | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library 3 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler 5 This software is provided 'as-is', without any express or implied 21 Jean-loup Gailly Mark Adler 44 this checks there is no more input data available and the next data 53 The 'zlib' compression library provides in-memory compression and 55 data. This version of the library supports only one compression method 60 enough (for example if an input file is mmap'ed), or can be done by 62 application must provide more input and/or consume the output 65 The compressed data format used by default by the in-memory functions is [all …]
|
/linux/Documentation/iio/ |
H A D | iio_adc.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 19 in a slightly different way. An ADC digitizes the analog input voltage over a 20 span that is often given by the provided voltage reference, the input type, and 21 the input polarity. The input range allowed to an ADC channel is needed to 23 real-world units (millivolts for voltage measurement, milliamps for current 28 to derive the allowed input range for an ADC. For clarity, the sections below 29 assume the input range only depends on the provided voltage references, input 30 type, and input polarity. 32 There are three general types of ADC inputs (single-ended, differential, 33 pseudo-differential) and two possible polarities (unipolar, bipolar). The input [all …]
|
/linux/drivers/input/keyboard/ |
H A D | gpio_keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <linux/input.h> 31 #include <dt-bindings/input/gpio-keys.h> 35 struct input_dev *input; member 41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */ 60 struct input_dev *input; member 69 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 70 * keys [ro] - bitmap of keys (EV_KEY) which can be 72 * switches [ro] - bitmap of switches (EV_SW) which can be [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,audmix.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 11 - Frank Li <Frank.Li@nxp.com> 14 The Audio Mixer is a on-chip functional module that allows mixing of two 15 audio streams into a single audio stream. Audio Mixer has two input serial 17 modules (SAI). Each input serial interface carries 8 audio channels in its 21 Audio Mixer is also a serial audio interface. Like input interfaces it has 27 - serial audio input 1 [all …]
|
/linux/Documentation/sound/cards/ |
H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 24 use for a lower number of channels is only resource allocation, 27 scaled. (Only important for low performance boards). 29 * Single Speed -- 1..64 channels 33 receiver, only 56 are transmitted/received over the MADI, but [all …]
|
/linux/sound/hda/codecs/realtek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 tristate "Realtek HD-audio codec support" 6 Say Y or M here to include Realtek HD-audio codec support. 8 This will enable all Realtek HD-audio codec drivers as default, 10 (only when CONFIG_EXPERT is set). 21 tristate "Build Realtek ALC260 HD-audio codec support" if EXPERT 22 depends on INPUT 26 Say Y or M here to include Realtek ALC260 HD-audio codec support 29 tristate "Build Realtek ALC262 HD-audio codec support" if EXPERT 30 depends on INPUT [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,ina3221.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 20 ti,single-shot: 22 This chip has two power modes: single-shot (chip takes one measurement 25 hardware monitor type device, but the single-shot mode is more power- 26 friendly and useful for battery-powered device which cares power 29 If this property is present, the single-shot mode will be used, instead [all …]
|
/linux/drivers/hid/usbhid/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 <file:Documentation/input/input.rst>. 24 comment "Input core support is needed for USB HID input layer or HIDBP support" 25 depends on USB_HID && INPUT=n 30 Say Y here if you have a PID-compliant device and wish to enable force 52 depends on USB && INPUT 54 Say Y here only if you are absolutely sure that you don't want 68 depends on USB && INPUT 70 Say Y here only if you are absolutely sure that you don't want
|
/linux/include/uapi/linux/ |
H A D | psp-dbc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 24 * struct dbc_user_nonce - Nonce exchange structure (input/output). 25 * @auth_needed: Whether the PSP should authenticate this request (input). 27 * 1: authentication: PSP will return multi-use nonce. 30 * previous nonce (input). 39 * struct dbc_user_setuid - UID exchange structure (input). 49 * struct dbc_user_param - Parameter exchange structure (input/output). 50 * @msg_index: Message indicating what parameter to set or get (input) 51 * @param: 4 byte parameter, units are message specific. (input/output) 53 * - When sending a message this is to be created by software [all …]
|
/linux/arch/x86/coco/tdx/ |
H A D | tdcall.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #include <asm/asm-offsets.h> 13 * __tdcall() - Used by TDX guests to request services from the TDX 18 * @fn (RDI) - TDCALL Leaf ID, moved to RAX 19 * @args (RSI) - struct tdx_module_args for input 21 * Only RCX/RDX/R8-R11 are used as input registers. 30 * __tdcall_ret() - Used by TDX guests to request services from the TDX 32 * saving output registers to the 'struct tdx_module_args' used as input. 36 * @fn (RDI) - TDCALL Leaf ID, moved to RAX 37 * @args (RSI) - struct tdx_module_args for input and output [all …]
|