| /linux/Documentation/input/ |
| 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 9 to userspace. This document describes the types and codes and how and when they 12 A single hardware event generates multiple input events. Each input event 13 contains the new value of a single data item. A special event type, EV_SYN, is 15 the same moment in time. In the following, the term "event" refers to a single 16 input event encompassing a type, code, and value. 19 of event codes have changed. However, the state is maintained within the Linux 22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event [all …]
|
| H A D | input_uapi.rst | 4 Linux Input Subsystem userspace API 13 event-codes 14 multi-touch-protocol
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_nl.h | 2 * This file is part of the Emulex Linux Device Driver for * 4 * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 23 /* Event definitions for RegisterForEvent */ 51 * All net link event payloads will begin with and event type 52 * and subcategory. The event type must come first. 56 * The payload sent via the fc transport is one-way driver->application. 59 /* RSCN event header */ 66 /* els event header */ 74 /* subcategory codes for FC_REG_ELS_EVENT */ [all …]
|
| /linux/Documentation/driver-api/surface_aggregator/clients/ |
| H A D | dtx.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 10 User-Space DTX (Clipboard Detachment System) Interface 14 and re-attachment handling. To this end, it provides the ``/dev/surface/dtx`` 15 device file, through which it can interface with a user-space daemon. This 18 unloading/reloading the graphics-driver, user-notifications, etc. 24 change. Commands are always driver-initiated, whereas events are always 56 ------------ 65 being hot-unplugged while in use. More details can be found in the 70 -------------------- 73 ``surface_dtx`` driver only relays events from the EC to user-space and [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | remote-controller.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 pulse/space sequences and then to scan codes, returning such codes to 19 standard Linux input layer. The support for raw mode is provided via LIRC. 22 the `v4l-utils <https://git.linuxtv.org/v4l-utils.git/>`_. It provides 25 - ir-keytable: provides a way to query the remote controller, list the 26 protocols it supports, enable in-kernel support for IR decoder or 27 switch the protocol and to test the reception of scan codes; 29 - ir-ctl: provide tools to handle remote controllers that support raw mode 32 Usually, the remote controller module is auto-loaded when the TV card is 34 ir-kbd-i2c module. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-hv_gpci | 3 Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> 4 Description: Read-only. Attribute group to describe the magic bits 6 (See ABI/testing/sysfs-bus-event_source-devices-format). 12 counter_info_version = "config:16-23" 13 length = "config:24-31" 14 partition_id = "config:32-63" 15 request = "config:0-31" 16 sibling_part_id = "config:32-63" 17 hw_chip_id = "config:32-63" 18 offset = "config:32-63" [all …]
|
| /linux/Documentation/userspace-api/gpio/ |
| H A D | gpio-lineevent-data-read.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 gpio-v2-line-event-read.rst. 16 GPIO_LINEEVENT_DATA_READ - Read edge detection events from a line event. 28 :c:type:`request.fd<gpioevent_request>` by gpio-get-lineevent-ioctl.rst. 40 Read edge detection events for a line from a line event. 56 The source of the clock for :c:type:`event.timestamp<gpioevent_data>` is 57 ``CLOCK_MONOTONIC``, except for kernels earlier than Linux 5.7 when it was 65 The size of the kernel event buffer is fixed at 16 events. 68 by userspace. If an overflow occurs then the most recent event is discarded. 76 The `read()` will block if no event is available and the ``event_fd`` has not [all …]
|
| /linux/include/uapi/linux/surface_aggregator/ |
| H A D | dtx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Surface DTX (clipboard detachment system driver) user-space interface. 6 * device allows user-space to control the clipboard detachment process on 9 * Copyright (C) 2020-2021 Maximilian Luz <luzmaximilian@gmail.com> 15 #include <linux/ioctl.h> 16 #include <linux/types.h> 42 /* Runtime errors (non-critical) */ 62 * enum sdtx_device_mode - Mode describing how (and if) the clipboard is 81 * struct sdtx_event - Event provided by reading from the DTX device file. 82 * @length: Length of the event payload, in bytes. [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | legacy_dvb_video.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 17 ``linux/dvb/video.h`` in your application. 40 -------------- 45 .. code-block:: c 56 .. flat-table:: 57 :header-rows: 0 58 :stub-columns: 0 60 - .. 62 - ``VIDEO_FORMAT_4_3`` 64 - Select 4:3 format. [all …]
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_hsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2016-2018 Cavium Inc. 11 #include <linux/qed/common_hsi.h> 16 #include <linux/qed/storage_common.h> 21 #include <linux/qed/fcoe_common.h> 196 * 0x1 - Indicating on an unsolicited event notification. use enum 212 /* solicited response on a R/W or middle-path SQE */ 226 * FCoE fast path error codes 229 FCOE_ERROR_CODE_XFER_OOO_RO /* XFER error codes */, 238 FCOE_ERROR_CODE_FCP_RSP_BIDI_FLAGS_SET /* FCP RSP error codes */, [all …]
|
| /linux/drivers/input/ |
| H A D | evdev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Event char devices, giving access to raw input device events. 5 * Copyright (c) 1999-2002 Vojtech Pavlik 15 #include <linux/poll.h> 16 #include <linux/sched.h> 17 #include <linux/slab.h> 18 #include <linux/vmalloc.h> 19 #include <linux/mm.h> 20 #include <linux/module.h> 21 #include <linux/init.h> [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | pdc_chassis.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * interfaces to Chassis Codes via PDC (firmware) 6 * Copyright (C) 2002-2006 Thibaut VARENE <varenet@parisc-linux.org> 20 #include <linux/init.h> 21 #include <linux/module.h> 22 #include <linux/kernel.h> 23 #include <linux/panic_notifier.h> 24 #include <linux/reboot.h> 25 #include <linux/notifier.h> 26 #include <linux/cache.h> [all …]
|
| /linux/include/uapi/linux/ |
| H A D | virtio_scsi.h | 17 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 30 #include <linux/virtio_types.h> 43 /* SCSI command request, followed by data-out */ 65 /* Response, followed by sense data and data-in */ 100 __virtio32 event; member 124 /* Response codes */ 139 /* Controlq type codes. */ 161 /* Reasons of transport reset event */
|
| /linux/drivers/nvdimm/ |
| H A D | dimm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 5 #include <linux/vmalloc.h> 6 #include <linux/module.h> 7 #include <linux/device.h> 8 #include <linux/sizes.h> 9 #include <linux/ndctl.h> 10 #include <linux/slab.h> 11 #include <linux/mm.h> 12 #include <linux/nd.h> [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… 35 - items: [all …]
|
| H A D | atmel,captouch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dharma balasubiramani <dharma.b@microchip.com> 17 - $ref: input.yaml# 29 linux,keycodes: 34 - compatible 35 - reg 36 - interrupts 37 - linux,keycodes [all …]
|
| /linux/arch/m68k/atari/ |
| H A D | atakeyb.c | 2 * Atari Keyboard driver for 680x0 Linux 17 #include <linux/module.h> 18 #include <linux/sched.h> 19 #include <linux/kernel.h> 20 #include <linux/interrupt.h> 21 #include <linux/errno.h> 22 #include <linux/keyboard.h> 23 #include <linux/delay.h> 24 #include <linux/timer.h> 25 #include <linux/kd.h> [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/types.h> 12 /* return codes for Diagnostic Test FTP Service, as indicated in member 25 * length of Diagnostic Test FTP Service event buffer 32 * struct sclp_diag_ftp - Diagnostic Test FTP Service model-dependent data 45 * @fident: file name (ASCII, zero-terminated) 65 * struct sclp_diag_evbuf - Diagnostic Test (ET7) Event Buffer 66 * @hdr: event buffer header 68 * @mdd: model-dependent data (@route dependent) 80 * struct sclp_diag_sccb - Diagnostic Test (ET7) SCCB [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | cypress,tt21000.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Alistair Francis <alistair@alistair23.me> 16 - $ref: touchscreen.yaml# 25 '#address-cells': 28 '#size-cells': 34 vdd-supply: 37 vddio-supply: 40 reset-gpios: [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | power8-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #define pr_fmt(fmt) "power8-pmu: " fmt 11 #include "isa207-common.h" 14 * Some power8 event codes. 16 #define EVENT(_name, _code) _name = _code, macro 19 #include "power8-events-list.h" 22 #undef EVENT 24 /* MMCRA IFM bits - POWER8 */ 31 * Raw event encoding for PowerISA v2.07 (Power8): 34 * | - - - - | - - - - | - - - - | - - - - | - - - - | - - - - | - - - - | - - - - | [all …]
|
| H A D | power7-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/kernel.h> 8 #include <linux/perf_event.h> 9 #include <linux/string.h> 16 * Bits in event code for POWER7 18 #define PM_PMC_SH 16 /* PMC number (1-based) for direct events */ 21 #define PM_UNIT_SH 12 /* TTMMUX number and setting - unit select */ 23 #define PM_COMBINE_SH 11 /* Combined event bit */ 26 #define PM_L2SEL_SH 8 /* L2 event select */ 48 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8) [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-anbernic-rg-arc-s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg-arc.dtsi" 11 model = "Anbernic RG ARC-S"; 12 compatible = "anbernic,rg-arc-s", "rockchip,rk3566";
|
| /linux/include/dt-bindings/input/ |
| H A D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include "linux-event-codes.h"
|
| /linux/Documentation/admin-guide/ |
| H A D | sysfs-rules.rst | 4 The kernel-exported sysfs exports internal kernel implementation details 6 by the kernel developers that the Linux kernel does not provide a stable 11 low-level userspace applications, with a new kernel release, the users 12 of sysfs must follow some rules to use an as-abstract-as-possible way to 21 - Do not use libsysfs 23 offer any abstraction, it exposes all the kernel driver-core 31 - sysfs is always at ``/sys`` 38 - devices are only "devices" 39 There is no such thing like class-, bus-, physical devices, 41 just simply a "device". Class-, bus-, physical, ... types are just [all …]
|
| /linux/drivers/scsi/ibmvscsi_tgt/ |
| H A D | ibmvscsi_tgt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2003-2005 Dave Boutcher (boutcher@us.ibm.com) IBM Corp. 8 * Copyright (C) 2005-2011 FUJITA Tomonori <tomof@acm.org> 10 * Copyright (C) 2016 Bryant G. Ly <bryantly@linux.vnet.ibm.com> IBM Corp. 12 * Authors: Bryant G. Ly <bryantly@linux.vnet.ibm.com> 13 * Authors: Michael Cyr <mikecyr@linux.vnet.ibm.com> 20 #include <linux/interrupt.h> 59 /* root node property "ibm,partition-no" */ 69 /* Return codes */ 71 /* choose error codes that do not conflict with PHYP */ [all …]
|