Home
last modified time | relevance | path

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

12345678910>>...21

/linux-6.8/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
13 event-codes
14 multi-touch-protocol
/linux-6.8/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-6.8/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-6.8/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-6.8/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-hv_gpci3 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-6.8/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.
103 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
104 * @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-6.8/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#
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 …]
/linux-6.8/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-6.8/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-6.8/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-6.8/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-6.8/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-6.8/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-6.8/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-6.8/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-6.8/arch/riscv/include/asm/
Dsbi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/types.h>
11 #include <linux/cpumask.h>
153 /** General pmu event codes specified in SBI PMU extension */
173 * event type in Linux kernel perf framework.
203 /* SBI PMU event types */
211 /* SBI PMU event types */
217 /* Helper macros to decode event idx */
256 /* SBI STA (steal-time accounting) extension */
269 #define SBI_STA_SHMEM_DISABLE -1
[all …]
/linux-6.8/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-6.8/Documentation/devicetree/bindings/input/touchscreen/
Dcypress,tt21000.yaml1 # 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-6.8/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-6.8/include/dt-bindings/input/
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include "linux-event-codes.h"
/linux-6.8/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 …]

12345678910>>...21