Home
last modified time | relevance | path

Searched +full:key +full:- +full:code (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/openbmc/linux/drivers/input/
H A Dsparse-keymap.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/input/sparse-keymap.h>
25 struct key_entry *key; in sparse_keymap_get_key_index() local
28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
29 if (key->type == KE_KEY) { in sparse_keymap_get_key_index()
30 if (key == k) in sparse_keymap_get_key_index()
42 struct key_entry *key; in sparse_keymap_entry_by_index() local
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
46 if (key->type == KE_KEY) in sparse_keymap_entry_by_index()
48 return key; in sparse_keymap_entry_by_index()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A Dtriehash1 #!/usr/bin/perl -w
3 # Copyright (C) 2016 Julian Andres Klode <jak@jak-linux.org>
27 triehash - Generate a perfect hash function derived from a trie.
63 Which defines the value to be used for non-existing keys. Note that this also
76 =item B<-C>I<.c file> B<--code>=I<.c file>
78 Generate code in the given file.
80 =item B<-H>I<header file> B<--header>=I<header file>
85 =item B<--enum-name=>I<word>
89 =item B<--function-name=>I<word>
93 =item B<--label-prefix=>I<word>
[all …]
/openbmc/u-boot/include/
H A Dtpm_api.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #include <tpm-common.h>
11 #include <tpm-v1.h>
12 #include <tpm-v2.h>
19 * Return: return code of the operation
27 * Return: return code of the operation
35 * Return: return code of the operation
48 * Return: return code of the operation
61 * Return: return code of the operation
74 * Return: return code of the operation
[all …]
H A Dtpm-v1.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #include <tpm-common.h>
121 /* TPM-defined fatal error codes */
220 /* TPM-defined non-fatal errors */
290 * Return: return code of the operation
298 * Return: return code of the operation
306 * Return: return code of the operation
319 * Return: return code of the operation
332 * Return: return code of the operation
345 * Return: return code of the operation
[all …]
/openbmc/linux/Documentation/bpf/
H A Dmap_devmap.rst1 .. 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 …]
H A Dmap_lpm_trie.rst1 .. 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 …]
H A Dmap_sockmap.rst1 .. 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 …]
H A Dmap_hash.rst1 .. 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 …]
H A Dmap_cpumap.rst1 .. 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 …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/display/sdtv-standards.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
23 backlight_lcd: backlight-lcd {
24 compatible = "pwm-backlight";
26 brightness-levels = <0 20 81 248 1000>;
[all …]
H A Dimx6dl-prtmvt.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/display/sdtv-standards.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/media/tvp5150.h>
13 #include <dt-bindings/sound/fsl-imx-audmux.h>
21 stdout-path = &uart4;
25 compatible = "pwm-backlight";
[all …]
/openbmc/linux/Documentation/staging/
H A Dstatic-keys.rst19 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 …]
/openbmc/obmc-ikvm/
H A Dikvm_input.hpp24 * @param[in] kbdPath - Path to the USB keyboard device
25 * @param[in] ptrPath - Path to the USB mouse device
26 * @param[in] udc - Name of UDC
41 * @brief RFB client key event handler
43 * @param[in] down - Boolean indicating whether key is pressed or not
44 * @param[in] key - Key code
45 * @param[in] cl - Handle to the RFB client
47 static void keyEvent(rfbBool down, rfbKeySym key, rfbClientPtr cl);
51 * @param[in] buttonMask - Bitmask indicating which buttons have been
53 * @param[in] x - Pointer x-coordinate
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dpxa27x-keypad.txt4 - 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 …]
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…
37 description: Descriptive name of the key.
[all …]
H A Dsamsung-keypad.txt3 Samsung's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
10 - compatible: should be one of the following
11 - "samsung,s3c6410-keypad": For controllers compatible with s3c6410 keypad
13 - "samsung,s5pv210-keypad": For controllers compatible with s5pv210 keypad
16 - reg: physical base address of the controller and length of memory mapped
19 - interrupts: The interrupt number to the cpu.
22 - samsung,keypad-num-rows: Number of row lines connected to the keypad
25 - samsung,keypad-num-columns: Number of column lines connected to the
[all …]
/openbmc/linux/include/crypto/
H A Dsig.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Public Key Signature Algorithm
13 * struct crypto_sig - user-instantiated objects which encapsulate
23 * DOC: Generic Public Key Signature API
25 * The Public Key Signature API is used with the algorithms of type
30 * crypto_alloc_sig() - allocate signature tfm handle
36 * Allocate a handle for public key signature algorithm. The returned struct
41 * of an error, PTR_ERR() returns the error code.
47 return &tfm->base; in crypto_sig_tfm()
51 * crypto_free_sig() - free signature tfm handle
[all …]
H A Dakcipher.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Public Key Encryption
15 * struct akcipher_request - public key request
45 * struct crypto_akcipher - user-instantiated objects which encapsulate
58 * struct crypto_istat_akcipher - statistics for akcipher algorithm
78 * struct akcipher_alg - generic public key algorithm
80 * @sign: Function performs a sign operation as defined by public key
82 * the req->dst_len will be updated to the size required for the
85 * public key algorithm, returning verification status. Requires
87 * @encrypt: Function performs an encrypt operation as defined by public key
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-smdk4412.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
12 /dts-v1/;
14 #include "exynos-mfc-reserved-memory.dtsi"
31 stdout-path = "serial1:115200n8";
34 fixed-rate-clocks {
36 compatible = "samsung,clock-xxti";
37 clock-frequency = <0>;
41 compatible = "samsung,clock-xusbxti";
42 clock-frequency = <24000000>;
[all …]
H A Dexynos4210-smdkv310.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2010-2011 Linaro Ltd.
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
17 #include "exynos-mfc-reserved-memory.dtsi"
34 stdout-path = "serial1:115200n8";
37 fixed-rate-clocks {
39 compatible = "samsung,clock-xxti";
40 clock-frequency = <12000000>;
[all …]
/openbmc/qemu/docs/system/devices/
H A Dcanokey.rst4 ------------
6 CanoKey [1]_ is an open-source secure key with supports of
8 * U2F / FIDO2 with Ed25519 and HMAC-secret
10 * PIV (NIST SP 800-73-4)
14 All these platform-independent features are in canokey-core [3]_.
21 * (virt-card) CanoKey USB/IP
22 * (virt-card) CanoKey FunctionFS
24 In QEMU, yet another CanoKey virt-card is implemented.
27 With the same software configuration as a hardware key,
28 the guest OS can use all the functionalities of a secure key as if
[all …]
/openbmc/linux/include/linux/
H A Djump_label.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Copyright (C) 2009-2012 Jason Baron <jbaron@redhat.com>
9 * Copyright (C) 2011-2012 Red Hat, Inc., Peter Zijlstra
23 * DEFINE_STATIC_KEY_TRUE(key);
24 * DEFINE_STATIC_KEY_FALSE(key);
31 * self-modifying code. Assuming toolchain and architecture support, if we
32 * define a "key" that is initially false via "DEFINE_STATIC_KEY_FALSE(key)",
33 * an "if (static_branch_unlikely(&key))" statement is an unconditional branch
34 * (which defaults to false - and the true block is placed out of line).
35 * Similarly, we can define an initially true key via
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
18 simple-audio-card,routing =
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
[all …]
/openbmc/linux/Documentation/crypto/
H A Ddescore-readme.rst1 .. 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 …]
/openbmc/qemu/scsi/
H A Dutils.c43 return -1; in scsi_cdb_xfer()
49 uint8_t *buf = cmd->buf; in scsi_cmd_lba()
65 lba = -1; in scsi_cmd_lba()
90 cdb_len = -1; in scsi_cdb_length()
106 sense.key = in_buf[2]; in scsi_parse_sense_buf()
113 sense.key = in_buf[1]; in scsi_parse_sense_buf()
129 buf[2] = sense.key; in scsi_build_sense_buf()
136 buf[1] = sense.key; in scsi_build_sense_buf()
157 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00
162 .key = NOT_READY, .asc = 0x04, .ascq = 0x03
[all …]

12345678910>>...42