Searched +full:key +full:- +full:code (Results 1 – 25 of 237) sorted by relevance
12345678910
| /Documentation/devicetree/bindings/input/ |
| D | pxa27x-keypad.txt | 4 - compatible : should be "marvell,pxa27x-keypad" 5 - reg : Address and length of the register set for the device 6 - interrupts : The interrupt for the keypad controller 7 - marvell,debounce-interval : How long time the key will be 9 is debounce interval for direct key and bit[15:0] is debounce 10 interval for matrix key. The value is in binary number of 2ms 13 Please refer to matrix-keymap.txt 16 - marvell,direct-key-count : How many direct keyes are used. 17 - marvell,direct-key-mask : The mask indicates which keyes 18 are used. If bit[X] of the mask is set, the direct key X [all …]
|
| 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 …]
|
| D | samsung,s3c6410-keypad.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/input/samsung,s3c6410-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Samsung SoC Keypad controller is used to interface a SoC with a matrix-type 12 A key can be placed at each intersection of a unique row and a unique column. 13 The keypad controller can sense a key-press and key-release and report the 17 - Krzysztof Kozlowski <krzk@kernel.org> 22 - samsung,s3c6410-keypad 23 - samsung,s5pv210-keypad [all …]
|
| D | matrix-keymap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/matrix-keymap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Key Matrices on Matrix-connected Key Boards 10 - Olof Johansson <olof@lixom.net> 13 A simple common binding for matrix-connected key boards. Currently targeted at 14 defining the keys in the scope of linux key codes since that is a stable and 18 cases where there is a modifier key such as a Fn key. Proposed names 19 for said properties are "linux,fn-keymap" or with another descriptive [all …]
|
| D | input.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 14 description: Enable autorepeat when key is pressed and held down. 21 $ref: /schemas/types.yaml#/definitions/uint32-array 26 linux,code: 34 linux,input-type: 37 - 1 # EV_KEY 38 - 2 # EV_REL [all …]
|
| D | microchip,qt1050.txt | 1 Microchip AT42QT1050 Five-channel Touch Sensor IC 11 - compatible: Must be "microchip,qt1050" 12 - reg: The I2C address of the device 13 - interrupts: The sink for the touchpad's IRQ output, 14 see ../interrupt-controller/interrupts.txt 17 - wakeup-source: touch keys can be used as a wakeup source 19 Each button (key) is represented as a sub-node: 21 Each not specified key or key with linux,code set to KEY_RESERVED gets disabled 25 - linux,code: Keycode to emit. 26 - reg: The key number. Valid values: 0, 1, 2, 3, 4. [all …]
|
| D | qcom,pm8941-pwrkey.yaml | 1 # 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# 7 title: Qualcomm PM8941 PMIC Power Key 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 [all …]
|
| /Documentation/bpf/ |
| D | map_devmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_DEVMAP`` was introduced in kernel version 4.14 10 - ``BPF_MAP_TYPE_DEVMAP_HASH`` was introduced in kernel version 5.4 14 ``BPF_MAP_TYPE_DEVMAP`` is backed by an array that uses the key as 16 is backed by a hash table that uses a key to lookup a reference to a net device. 17 The user provides either <``key``/ ``ifindex``> or <``key``/ ``struct bpf_devmap_val``> 21 - The key to a hash map doesn't have to be an ``ifindex``. 22 - While ``BPF_MAP_TYPE_DEVMAP_HASH`` allows for densely packing the net devices 23 it comes at the cost of a hash of the key when performing a look up. 25 The setup and packet enqueue/send code is shared between the two types of [all …]
|
| D | map_lpm_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_LPM_TRIE`` was introduced in kernel version 4.11 19 of 8, in the range from 8 to 2048. The key used for lookup and update 23 - For IPv4 addresses the data length is 4 bytes 24 - For IPv6 addresses the data length is 16 bytes 36 ---------- 41 .. code-block:: c 43 void *bpf_map_lookup_elem(struct bpf_map *map, const void *key) 47 value associated with the longest matching ``key``, or ``NULL`` if no 50 The ``key`` should have ``prefixlen`` set to ``max_prefixlen`` when [all …]
|
| D | map_cpumap.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_CPUMAP`` was introduced in kernel version 4.15 11 .. kernel-doc:: kernel/bpf/cpumap.c 14 An example use-case for this map type is software based Receive Side Scaling (RSS). 16 The CPUMAP represents the CPUs in the system indexed as the map-key, and the 17 map-value is the config setting (per CPUMAP entry). Each CPUMAP entry has a dedicated 32 ---------- 35 .. code-block:: c 37 long bpf_redirect_map(struct bpf_map *map, u32 key, u64 flags) 39 Redirect the packet to the endpoint referenced by ``map`` at index ``key``. [all …]
|
| D | map_sockmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_SOCKMAP`` was introduced in kernel version 4.14 10 - ``BPF_MAP_TYPE_SOCKHASH`` was introduced in kernel version 4.18 18 ``BPF_MAP_TYPE_SOCKMAP`` is backed by an array that uses an integer key as the 26 the map holds to user-space is neither safe nor useful. 44 .. code-block:: c 59 - ``msg_parser`` program - ``BPF_SK_MSG_VERDICT``. 60 - ``stream_parser`` program - ``BPF_SK_SKB_STREAM_PARSER``. 61 - ``stream_verdict`` program - ``BPF_SK_SKB_STREAM_VERDICT``. 62 - ``skb_verdict`` program - ``BPF_SK_SKB_VERDICT``. [all …]
|
| D | map_hash.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 .. Copyright (C) 2022-2023 Isovalent, Inc. 10 - ``BPF_MAP_TYPE_HASH`` was introduced in kernel version 3.19 11 - ``BPF_MAP_TYPE_PERCPU_HASH`` was introduced in version 4.6 12 - Both ``BPF_MAP_TYPE_LRU_HASH`` and ``BPF_MAP_TYPE_LRU_PERCPU_HASH`` 16 purpose hash map storage. Both the key and the value can be structs, 19 The kernel is responsible for allocating and freeing key/value pairs, up 20 to the max_entries limit that you specify. Hash maps use pre-allocation 22 used to disable pre-allocation when it is too memory expensive. 25 CPU. The per-cpu values are stored internally in an array. [all …]
|
| D | map_queue_stack.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_QUEUE`` and ``BPF_MAP_TYPE_STACK`` were introduced 18 - ``BPF_MAP_LOOKUP_ELEM`` -> peek 19 - ``BPF_MAP_LOOKUP_AND_DELETE_ELEM`` -> pop 20 - ``BPF_MAP_UPDATE_ELEM`` -> push 29 ---------- 34 .. code-block:: c 48 .. code-block:: c 59 .. code-block:: c 68 --------- [all …]
|
| D | map_sk_storage.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_SK_STORAGE`` was introduced in kernel version 5.2 11 ``BPF_MAP_TYPE_SK_STORAGE`` is used to provide socket-local storage for BPF 13 to be provided and acts as the handle for accessing the socket-local 20 - The key type must be ``int`` and ``max_entries`` must be set to ``0``. 21 - The ``BPF_F_NO_PREALLOC`` flag must be used when creating a map for 22 socket-local storage. 28 ---------- 33 .. code-block:: c 37 Socket-local storage for ``map`` can be retrieved from socket ``sk`` using the [all …]
|
| D | map_bloom_filter.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_BLOOM_FILTER`` was introduced in kernel version 5.16 12 filters are a space-efficient probabilistic data structure used to 20 - push: adding an element to the map 21 - peek: determining whether an element is present in the map 28 - ``BPF_MAP_UPDATE_ELEM`` -> push 29 - ``BPF_MAP_LOOKUP_ELEM`` -> peek 52 ---------- 57 .. code-block:: c 69 .. code-block:: c [all …]
|
| D | map_xskmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_XSKMAP`` was introduced in kernel version 4.18 18 .. code-block:: none 20 +---------------------------------------------------+ 21 | xsk A | xsk B | xsk C |<---+ User space 24 +---------------------------------------------------+ | 26 +---------------------------------------------------+ | 28 | | key | xsk | | | 29 | +---------+ +=============+ | | 31 | | | +-------------+ | | [all …]
|
| D | map_of_maps.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_ARRAY_OF_MAPS`` and ``BPF_MAP_TYPE_HASH_OF_MAPS`` were 15 ``array_of_maps->sock_map``. 27 - Multi-level nesting is not supported. 28 - Any BPF map type can be used as an inner map, except for 30 - A BPF program cannot update or delete outer map entries. 32 For ``BPF_MAP_TYPE_ARRAY_OF_MAPS`` the key is an unsigned 32-bit integer index 36 For ``BPF_MAP_TYPE_HASH_OF_MAPS`` the key type can be chosen when defining the 37 map. The kernel is responsible for allocating and freeing key/value pairs, up to 38 the max_entries limit that you specify. Hash maps use pre-allocation of hash [all …]
|
| /Documentation/staging/ |
| D | static-keys.rst | 19 DEFINE_STATIC_KEY_TRUE(key); 20 DEFINE_STATIC_KEY_FALSE(key); 30 performance-sensitive fast-path kernel code, via a GCC feature and a code 33 DEFINE_STATIC_KEY_FALSE(key); 37 if (static_branch_unlikely(&key)) 38 do unlikely code 40 do likely code 43 static_branch_enable(&key); 45 static_branch_disable(&key); 48 The static_branch_unlikely() branch will be generated into the code with as little [all …]
|
| /Documentation/driver-api/media/ |
| D | rc-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------- 12 Every time a key is pressed on a remote controller, a scan code is produced. 13 Also, on most hardware, keeping a key pressed for more than a few dozens of 14 milliseconds produce a repeat key event. That's somewhat similar to what 22 produces one event for a key press and another one for key release. On 23 infrared-based remote controllers, there's no key release event. Instead, 24 an extra code is produced to indicate key repeats. 43 scan code, being 8 bits for address (usually it is a fixed number for a 44 given remote controller), followed by 8 bits of code. A bit "1" is modulated [all …]
|
| /Documentation/crypto/ |
| D | descore-readme.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 ------------------------------------------------------------------------------ 15 des - fast & portable DES encryption & decryption. 42 2. PORTABILITY to any byte-addressable host with a 32bit unsigned C type 43 3. Plug-compatible replacement for KERBEROS's low-level routines. 46 register-starved machines. My discussions with Richard Outerbridge, 49 To more rapidly understand the code in this package, inspect desSmallFips.i 51 up in a parameterized fashion so it can easily be modified by speed-daemon 57 performance comparison to other available des code which i could 58 compile on a SPARCStation 1 (cc -O4, gcc -O2): [all …]
|
| D | api-samples.rst | 1 Code Examples 4 Code Example For Symmetric Key Cipher Operation 5 ----------------------------------------------- 7 This code encrypts some data with AES-256-XTS. For sake of example, 8 all inputs are random bytes, the encryption is done in-place, and it's 9 assumed the code is running in a context where it can sleep. 21 u8 iv[16]; /* AES-256-XTS takes a 16-byte IV */ 22 u8 key[64]; /* AES-256-XTS takes a 64-byte key */ 26 * Allocate a tfm (a transformation object) and set the key. 28 * In real-world use, a tfm and key are typically used for many [all …]
|
| /Documentation/input/ |
| D | uinput.rst | 12 that will be delivered to userspace and in-kernel consumers. 28 create uinput devices and send events. libevdev is less error-prone than 38 --------------- 41 send a key event. All default imports and error handlers were removed for 44 .. code-block:: c 48 void emit(int fd, int type, int code, int val) 53 ie.code = code; 71 * created, to pass key events, in this case the space key. 90 * to send. This pause is only needed in our example code! 94 /* Key press, report the event, send key release, and report again */ [all …]
|
| /Documentation/networking/ |
| D | fib_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LC-trie implementation notes 8 ---------- 10 An end node with data. This has a copy of the relevant key, along 16 indexed through a subset of the key. See Level Compression. 19 ------------------------ 21 The number of bits in the key segment used for indexing into the 22 child array - the "child index". See Level Compression. 25 The position (in the key) of the key segment used for indexing into 30 a segment of the key specified by the parent's "pos" and "bits" [all …]
|
| /Documentation/process/ |
| D | maintainer-pgp-guide.rst | 11 the more general "`Protecting Code Integrity`_" guide published by the 12 Linux Foundation. Please read that document for more in-depth discussion 15 .. _`Protecting Code Integrity`: https://github.com/lfit/itpol/blob/master/protecting-code-integrit… 20 PGP helps ensure the integrity of the code that is produced by the Linux 22 communication channels between developers via PGP-signed email exchange. 24 The Linux kernel source code is available in two main formats: 26 - Distributed source repositories (git) 27 - Periodic release snapshots (tarballs) 35 - git repositories provide PGP signatures on all tags 36 - tarballs provide detached PGP signatures with all downloads [all …]
|
| /Documentation/input/devices/ |
| D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 27 The keyboard always returns key make/break scan codes. The ikbd generates 28 keyboard scan codes for each key press and release. The key scan make (key 30 ISO key position in the scan code table should exist even if no keyswitch 31 exists in that position on a particular keyboard. The break code for each key 32 is obtained by ORing 0x80 with the make code. 37 Code Command 41 0xF8-0xFB relative mouse position records (lsbs determined by [all …]
|
12345678910