Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
16 #include <linux/types.h>
18 #include "input-event-codes.h"
21 * The event structure itself
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
69 * the event stream.
97 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
98 * @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 */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
16 #include <linux/types.h>
18 #include "input-event-codes.h"
21 * The event structure itself
53 * IOCTLs (0x00 - 0x7f)
64 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls
69 * the event stream.
97 * struct input_keymap_entry - used by EVIOCGKEYCODE/EVIOCSKEYCODE ioctls
98 * @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 */
/OK3568_Linux_fs/kernel/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.
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 <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 */
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dqcom,pm8941-pwrkey.txt5 - compatible:
9 "qcom,pm8941-pwrkey"
10 "qcom,pm8941-resin"
12 - reg:
14 Value type: <prop-encoded-array>
17 - interrupts:
19 Value type: <prop-encoded-array>
24 - debounce:
30 - bias-pull-up:
36 - linux,code:
[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#
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 …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/include/uapi/gpu/arm/bifrost/jm/
H A Dmali_base_jm_kernel.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2019-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
25 #include <linux/types.h>
37 * BASE_MEM_RESERVED_BIT_19 - Bit 19 is reserved.
44 * BASE_MEM_TILER_ALIGN_TOP - Memory starting from the end of the initial commit is aligned
80 * BASE_JIT_ALLOC_HEAP_INFO_IS_SIZE - If set, the heap info address points
87 * BASE_JIT_ALLOC_VALID_FLAGS - Valid set of just-in-time memory allocation flags
129 /* Set/reset values for a software event */
134 * struct base_jd_udata - Per-job data
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/arch/m68k/atari/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/oprofile/
H A Devent_buffer.h13 #include <linux/types.h>
14 #include <linux/mutex.h>
21 * Add data to the event buffer.
22 * The data passed is free-form, but typically consists of
23 * file offsets, dcookies, context information, and ESCAPE codes.
27 /* wake up the process sleeping on the event file */
/OK3568_Linux_fs/kernel/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/reboot.h>
24 #include <linux/notifier.h>
25 #include <linux/cache.h>
26 #include <linux/proc_fs.h>
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dpower8-pmu.c1 // 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 …]

12345678910>>...28