Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/Documentation/input/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/scsi/lpfc/
H A 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 …]
/openbmc/linux/Documentation/admin-guide/media/
H A 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 …]
/openbmc/linux/Documentation/ABI/testing/
H A 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 …]
/openbmc/linux/Documentation/driver-api/surface_aggregator/clients/
H A 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 …]
/openbmc/qemu/include/standard-headers/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include "standard-headers/linux/types.h"
17 #include "standard-headers/linux/input-event-codes.h"
20 * The event structure itself
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
69 * the event stream.
100 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
101 * @scancode: scancode represented in machine-endian form.
[all …]
H A Dvirtio_scsi.h17 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
30 #include "standard-headers/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 */
/openbmc/linux/Documentation/devicetree/bindings/input/
H A 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 …]
H A 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…
39 linux,code:
[all …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
H A 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 */
/openbmc/linux/include/uapi/linux/surface_aggregator/
H A 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 …]
/openbmc/linux/drivers/staging/media/av7110/
H A 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 …]
/openbmc/linux/Documentation/filesystems/spufs/
H A 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 …]
/openbmc/linux/drivers/scsi/qedf/
H A 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 …]
/openbmc/qemu/include/scsi/
H A Dconstants.h20 * the scsi code for linux.
159 * READ POSITION service action codes
167 * SAM Status codes
214 #define TYPE_MOD 0x07 /* Magneto-optical disk -
215 * - treated as TYPE_DISK */
219 #define TYPE_RBC 0x0e /* Simplified Direct-Access Device */
220 #define TYPE_OSD 0x11 /* Object-storage Device */
221 #define TYPE_ZBC 0x14 /* Host-managed Zoned SCSI Device */
227 /* Mode page codes for mode sense/set */
241 /* Not in Mt. Fuji, but in ATAPI 2.6 -- deprecated now in favor
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A 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 …]
/openbmc/linux/arch/parisc/kernel/
H A 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 …]
/openbmc/linux/drivers/input/
H A 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 …]
/openbmc/linux/Documentation/driver-api/usb/
H A 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 …]
/openbmc/linux/arch/riscv/include/asm/
H A Dsbi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/types.h>
11 #include <linux/cpumask.h>
142 /** General pmu event codes specified in SBI PMU extension */
162 * event type in Linux kernel perf framework.
192 /* SBI PMU event types */
200 /* SBI PMU event types */
206 /* Helper macros to decode event idx */
244 /* SBI return error codes */
246 #define SBI_ERR_FAILURE -1
[all …]
/openbmc/linux/drivers/nvdimm/
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-evdev_1.7.1.bb2 HOMEPAGE = "https://github.com/gvalkov/python-evdev"
3 LICENSE = "BSD-3-Clause"
11 rm -rf ${S}/evdev/ecodes.c
14 …= "build_ecodes --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARG…
17 python3-ctypes \
18 python3-fcntl \
19 python3-io \
20 python3-shell \
21 python3-stringold \
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A 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 reset-gpios:
40 linux,keycodes:
[all …]

12345678910>>...23