Home
last modified time | relevance | path

Searched +full:linux +full:- +full:event +full:- +full:codes (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/Linux-v5.15/Documentation/input/
Devent-codes.rst1 .. _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 …]
Dinput.rst7 :Copyright: |copy| 1999-2001 Vojtech Pavlik <vojtech@ucw.cz> - Sponsored by SuSE
13 all input devices under Linux. Most of the drivers reside in
18 loaded before any other of the input modules - it serves as a way of
22 --------------
27 Event handlers
28 --------------
31 via various interfaces - keystrokes to the kernel, mouse movements via
51 crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice
61 XFree to this device to use it - GPM should be called like::
63 gpm -t ps2 -m /dev/input/mice
[all …]
Dinput_uapi.rst4 Linux Input Subsystem userspace API
7 .. class:: toc-title
16 event-codes
17 multi-touch-protocol
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_nl.h2 * 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-v5.15/Documentation/driver-api/surface_aggregator/clients/
Ddtx.rst1 .. 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-v5.15/Documentation/admin-guide/media/
Dremote-controller.rst1 .. 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-v5.15/include/uapi/linux/
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
17 #include <linux/types.h>
20 #include "input-event-codes.h"
23 * The event structure itself
56 * IOCTLs (0x00 - 0x7f)
67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
72 * the event stream.
100 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
101 * @scancode: scancode represented in machine-endian form.
[all …]
Dvirtio_scsi.h17 * 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-v5.15/Documentation/devicetree/bindings/input/
Dqcom,pm8941-pwrkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Courtney Cavin <courtney.cavin@sonymobile.com>
11 - Vinod Koul <vkoul@kernel.org>
14 - $ref: input.yaml#
19 - qcom,pm8941-pwrkey
20 - qcom,pm8941-resin
21 - qcom,pmk8350-pwrkey
[all …]
Dgpio-keys.yaml1 # 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#
7 title: Device-Tree bindings for GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
35 linux,code:
39 linux,input-type:
[all …]
/Linux-v5.15/drivers/input/misc/
Ddm355evm_keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dm355evm_keys.c - support buttons and IR remote on DM355 EVM board
7 #include <linux/kernel.h>
8 #include <linux/slab.h>
9 #include <linux/input.h>
10 #include <linux/input/sparse-keymap.h>
11 #include <linux/platform_device.h>
12 #include <linux/interrupt.h>
14 #include <linux/mfd/dm355evm_msp.h>
15 #include <linux/module.h>
[all …]
/Linux-v5.15/drivers/staging/media/av7110/
Dvideo-get-event.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
11 ----
18 --------
25 ---------
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
31 - .. row 1
33 - int fd
35 - File descriptor returned by a previous call to open().
[all …]
/Linux-v5.15/include/uapi/linux/surface_aggregator/
Ddtx.h1 /* 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-v5.15/Documentation/filesystems/spufs/
Dspu_run.rst1 .. SPDX-License-Identifier: GPL-2.0
10 spu_run - execute an spu context
20 int spu_run(int fd, unsigned int *npc, unsigned int *event);
25 Cell Broadband Engine Architecture in order to access Synergistic Pro-
26 cessor Units (SPUs). It uses the fd that was returned from spu_cre-
27 ate(2) to address a specific SPU context. When the context gets sched-
32 not return while the SPU is still running. If there is a need to exe-
41 event can be a NULL pointer or point to an extended status code that
42 gets filled when spu_run returns. It can be one of the following con-
54 If NULL is passed as the event argument, these errors will result in a
[all …]
/Linux-v5.15/drivers/scsi/qedf/
Dqedf_hsi.h1 /* 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-v5.15/Documentation/driver-api/usb/
Dhotplug.rst4 Linux Hotplugging
8 In hotpluggable busses like USB (and Cardbus PCI), end-users plug devices
12 - Find a driver that can handle the device. That may involve
13 loading a kernel module; newer drivers can use module-init-tools
16 - Bind a driver to that device. Bus frameworks do that using a
19 - Tell other subsystems to configure the new device. Print
22 be driver-specific actions.
48 some kernel event. That name is used as the first key for further event
54 http://linux-hotplug.sourceforge.net
70 PRODUCT USB vendor, product, and version codes (hex)
[all …]
/Linux-v5.15/drivers/input/touchscreen/
Dchipone_icn8318.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/gpio/consumer.h>
12 #include <linux/interrupt.h>
13 #include <linux/i2c.h>
14 #include <linux/input.h>
15 #include <linux/input/mt.h>
16 #include <linux/input/touchscreen.h>
17 #include <linux/module.h>
18 #include <linux/of.h>
34 __u8 event; member
[all …]
/Linux-v5.15/drivers/input/
Devdev.c1 // 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-v5.15/drivers/nvdimm/
Ddimm.c1 // 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-v5.15/drivers/s390/char/
Dsclp_diag.h1 /* 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-v5.15/include/dt-bindings/input/
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include "linux-event-codes.h"
/Linux-v5.15/arch/parisc/kernel/
Dpdc_chassis.c1 // 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-v5.15/arch/m68k/atari/
Datakeyb.c2 * 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-v5.15/arch/arm64/boot/dts/freescale/
Dimx8qxp-colibri-eval-v3.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
6 #include "dt-bindings/input/linux-event-codes.h"
14 gpio-keys {
15 compatible = "gpio-keys";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpiokeys>;
20 label = "Wake-Up";
22 linux,code = <KEY_WAKEUP>;
23 debounce-interval = <10>;
24 wakeup-source;
/Linux-v5.15/include/uapi/xen/
Dprivcmd.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */
7 * Copyright (c) 2003-2005, K A Fraser
12 * separately from the Linux kernel or incorporated into other
27 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37 #include <linux/types.h>
38 #include <linux/compiler.h>
50 * it's exposed to the user-space.
66 xen_pfn_t __user *arr; /* array of mfns - or'd with
78 int __user *err; /* array of error codes */
108 * Return: 0 on success (i.e., arg->err contains valid error codes for
[all …]

12345678910>>...18