| /OK3568_Linux_fs/kernel/drivers/input/ |
| H A D | sparse-keymap.c | 1 // 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 …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/ |
| H A D | rk_crypto_api.c | 1 // SPDX-License-Identifier: BSD-2-Clause 22 for (i = 7; i >= 0; i--) { in long2byte() 60 EMSG("TEE_AllocateTransientObject failed with code 0x%x", res); in rk_gen_rsa_key() 66 EMSG("TEE_GenerateKey failed with code 0x%x", res); in rk_gen_rsa_key() 70 out_len = sizeof(rsa_key->n); in rk_gen_rsa_key() 71 res = TEE_GetObjectBufferAttribute(obj, TEE_ATTR_RSA_MODULUS, rsa_key->n, in rk_gen_rsa_key() 74 EMSG("TEE_GetObjectBufferAttribute for RSA_n failed with code 0x%x", res); in rk_gen_rsa_key() 77 rsa_key->key_len = out_len; in rk_gen_rsa_key() 80 rsa_key->e, &e_len); in rk_gen_rsa_key() 82 EMSG("TEE_GetObjectBufferAttribute for RSA_e failed with code 0x%x", res); in rk_gen_rsa_key() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/ |
| H A D | rk_crypto_api.c | 1 // SPDX-License-Identifier: BSD-2-Clause 22 for (i = 7; i >= 0; i--) { in long2byte() 60 EMSG("TEE_AllocateTransientObject failed with code 0x%x", res); in rk_gen_rsa_key() 66 EMSG("TEE_GenerateKey failed with code 0x%x", res); in rk_gen_rsa_key() 70 out_len = sizeof(rsa_key->n); in rk_gen_rsa_key() 71 res = TEE_GetObjectBufferAttribute(obj, TEE_ATTR_RSA_MODULUS, rsa_key->n, in rk_gen_rsa_key() 74 EMSG("TEE_GetObjectBufferAttribute for RSA_n failed with code 0x%x", res); in rk_gen_rsa_key() 77 rsa_key->key_len = out_len; in rk_gen_rsa_key() 80 rsa_key->e, &e_len); in rk_gen_rsa_key() 82 EMSG("TEE_GetObjectBufferAttribute for RSA_e failed with code 0x%x", res); in rk_gen_rsa_key() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/apt/apt/ |
| H A D | triehash | 1 #!/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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | rockchip-keys.txt | 2 ------------------------------------ 5 - compatible: "rockchip,key" 6 - io-channels: Phandle to an ADC channel 8 Each button (key) is represented as a sub-node of "rockchip,key": 10 Required subnode-properties: 11 - label: Descriptive name of the key. 12 - linux,code: Keycode to emit. 13 - rockchip,adc_value:: Voltage ADC input when this key is pressed. 17 #include <dt-bindings/input/input.h> 19 rk_key: rockchip-key { [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/ |
| H A D | Readline-Init-File-Syntax.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| H A D | Completion.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| H A D | TUI-Keys.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/ |
| H A D | Readline-Init-File-Syntax.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| H A D | Completion.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| H A D | TUI-Keys.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 3 <!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 9 Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10 and with the Back-Cover Texts as in (a) below. 12 (a) The FSF's Back-Cover Text is: "You are free to copy and modify 14 developing GNU and promoting software freedom." --> 15 <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 21 <meta name="resource-type" content="document"> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 26 <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/staging/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | imx6dl-prtvt7.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/fsl-imx-audmux.h> 22 backlight_lcd: backlight-lcd { 23 compatible = "pwm-backlight"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_backlight>; [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | jump_label.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp_monitor_kern.c | 1 /* SPDX-License-Identifier: GPL-2.0 2 * Copyright(c) 2017-2018 Jesper Dangaard Brouer, Red Hat Inc. 11 __type(key, u32); 20 __type(key, u32); 26 * Code in: kernel/include/trace/events/xdp.h 29 u64 __pad; // First 8 bytes are not accessible by bpf code 47 u32 key = XDP_REDIRECT_ERROR; in xdp_redirect_collect_stat() local 48 int err = ctx->err; in xdp_redirect_collect_stat() 52 key = XDP_REDIRECT_SUCCESS; in xdp_redirect_collect_stat() 54 cnt = bpf_map_lookup_elem(&redirect_err_cnt, &key); in xdp_redirect_collect_stat() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/crypto/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | pk.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief Public Key abstraction layer 8 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved 14 * http://www.apache.org/licenses/LICENSE-2.0 57 #define MBEDTLS_ERR_PK_ALLOC_FAILED -0x3F80 /**< Memory allocation failed. */ 58 …define MBEDTLS_ERR_PK_TYPE_MISMATCH -0x3F00 /**< Type mismatch, eg attempt to encrypt with … 59 #define MBEDTLS_ERR_PK_BAD_INPUT_DATA -0x3E80 /**< Bad input parameters to function. */ 60 #define MBEDTLS_ERR_PK_FILE_IO_ERROR -0x3E00 /**< Read/write of file failed. */ 61 #define MBEDTLS_ERR_PK_KEY_INVALID_VERSION -0x3D80 /**< Unsupported key version */ 62 #define MBEDTLS_ERR_PK_KEY_INVALID_FORMAT -0x3D00 /**< Invalid key tag or value. */ [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | pk.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief Public Key abstraction layer 8 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved 14 * http://www.apache.org/licenses/LICENSE-2.0 57 #define MBEDTLS_ERR_PK_ALLOC_FAILED -0x3F80 /**< Memory allocation failed. */ 58 …define MBEDTLS_ERR_PK_TYPE_MISMATCH -0x3F00 /**< Type mismatch, eg attempt to encrypt with … 59 #define MBEDTLS_ERR_PK_BAD_INPUT_DATA -0x3E80 /**< Bad input parameters to function. */ 60 #define MBEDTLS_ERR_PK_FILE_IO_ERROR -0x3E00 /**< Read/write of file failed. */ 61 #define MBEDTLS_ERR_PK_KEY_INVALID_VERSION -0x3D80 /**< Unsupported key version */ 62 #define MBEDTLS_ERR_PK_KEY_INVALID_FORMAT -0x3D00 /**< Invalid key tag or value. */ [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | pk.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief Public Key abstraction layer 8 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved 14 * http://www.apache.org/licenses/LICENSE-2.0 57 #define MBEDTLS_ERR_PK_ALLOC_FAILED -0x3F80 /**< Memory allocation failed. */ 58 …define MBEDTLS_ERR_PK_TYPE_MISMATCH -0x3F00 /**< Type mismatch, eg attempt to encrypt with … 59 #define MBEDTLS_ERR_PK_BAD_INPUT_DATA -0x3E80 /**< Bad input parameters to function. */ 60 #define MBEDTLS_ERR_PK_FILE_IO_ERROR -0x3E00 /**< Read/write of file failed. */ 61 #define MBEDTLS_ERR_PK_KEY_INVALID_VERSION -0x3D80 /**< Unsupported key version */ 62 #define MBEDTLS_ERR_PK_KEY_INVALID_FORMAT -0x3D00 /**< Invalid key tag or value. */ [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | pk.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 5 * \brief Public Key abstraction layer 8 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved 14 * http://www.apache.org/licenses/LICENSE-2.0 57 #define MBEDTLS_ERR_PK_ALLOC_FAILED -0x3F80 /**< Memory allocation failed. */ 58 …define MBEDTLS_ERR_PK_TYPE_MISMATCH -0x3F00 /**< Type mismatch, eg attempt to encrypt with … 59 #define MBEDTLS_ERR_PK_BAD_INPUT_DATA -0x3E80 /**< Bad input parameters to function. */ 60 #define MBEDTLS_ERR_PK_FILE_IO_ERROR -0x3E00 /**< Read/write of file failed. */ 61 #define MBEDTLS_ERR_PK_KEY_INVALID_VERSION -0x3D80 /**< Unsupported key version */ 62 #define MBEDTLS_ERR_PK_KEY_INVALID_FORMAT -0x3D00 /**< Invalid key tag or value. */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | pxa27x_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include <linux/platform_data/keypad-pxa27x.h> 34 #define KPDK 0x0008 /* Keypad Direct Key register */ 36 #define KPMK 0x0018 /* Keypad Matrix Key register */ 39 /* Keypad Automatic Scan Multiple Key Presser register 0-3 */ 47 #define KPC_MKRN(n) ((((n) - 1) & 0x7) << 26) /* matrix key row number */ 48 #define KPC_MKCN(n) ((((n) - 1) & 0x7) << 23) /* matrix key column number */ 49 #define KPC_DKN(n) ((((n) - 1) & 0x7) << 6) /* direct key number */ 54 #define KPC_IMKP (0x1 << 21) /* Ignore Multiple Key Press */ 62 #define KPC_DI (0x1 << 5) /* Direct key interrupt bit */ [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | tpm.h | 5 * SPDX-License-Identifier: GPL-2.0+ 103 /* TPM-defined fatal error codes */ 202 /* TPM-defined non-fatal errors */ 237 * struct tpm_chip_priv - Information about a TPM, stored by the uclass 253 * struct tpm_ops - low-level TPM operations 262 * This interface is for low-level TPM access. It does not understand the 269 * open() - Request access to locality 0 for the caller 275 * @return 0 ok OK, -ve on error 280 * close() - Close the current session 282 * Releasing the locked locality. Returns 0 on success, -ve 1 on [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | jump_label.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 * Entrires are sorted by key. in jump_label_cmp() 44 return -1; in jump_label_cmp() 50 * In the batching mode, entries should also be sorted by the code in jump_label_cmp() 55 return -1; in jump_label_cmp() 65 long delta = (unsigned long)a - (unsigned long)b; in jump_label_swap() 70 jea->code = jeb->code - delta; in jump_label_swap() 71 jea->target = jeb->target - delta; in jump_label_swap() 72 jea->key = jeb->key - delta; in jump_label_swap() 74 jeb->code = tmp.code + delta; in jump_label_swap() [all …]
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | tnc.c | 4 * Copyright (C) 2006-2008 Nokia Corporation. 6 * SPDX-License-Identifier: GPL-2.0+ 14 * the UBIFS B-tree. 51 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key, 55 * insert_old_idx - record an index node obsoleted since the last commit start. 56 * @c: UBIFS file-system description object 60 * Returns %0 on success, and a negative error code on failure. 68 * That means that the garbage collection and the in-the-gaps method of 73 * they cannot be easily found. In those cases, an entry is added to an RB-tree. 74 * That is what this function does. The RB-tree is ordered by LEB number and [all …]
|