| /linux/drivers/pinctrl/tegra/ |
| H A D | pinctrl-tegra234.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. 16 #include "pinctrl-tegra.h" 1382 #define PINGROUP_REG_N(r) -1 1385 #define DRV_PINGROUP_N(r) -1 1388 .drv_reg = -1, \ 1389 .drv_bank = -1, \ 1390 .drvdn_bit = -1, \ 1391 .drvup_bit = -1, \ 1392 .slwr_bit = -1, \ [all …]
|
| H A D | pinctrl-tegra194.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. 23 #include "pinctrl-tegra.h" 1281 #define PINGROUP_REG_N(r) -1 1284 #define DRV_PINGROUP_N(r) -1 1287 .drv_reg = -1, \ 1288 .drv_bank = -1, \ 1289 .drvdn_bit = -1, \ 1290 .drvup_bit = -1, \ 1291 .slwr_bit = -1, \ [all …]
|
| H A D | pinctrl-tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include "pinctrl-tegra.h" 22 #define TEGRA_PIN_PEX_L0_RST_N_PA0 _GPIO(0) 33 #define TEGRA_PIN_SPI2_MOSI_PB4 _GPIO(12) 177 /* All non-GPIO pins follow */ 181 /* Non-GPIO pins */ 182 #define TEGRA_PIN_CORE_PWR_REQ _PIN(0) 1266 #define DRV_PINGROUP_REG_A 0x8d4 /* bank 0 */ 1267 #define PINGROUP_REG_A 0x3000 /* bank 1 */ 1269 #define DRV_PINGROUP_REG(r) ((r) - DRV_PINGROUP_REG_A) [all …]
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | cfa_coef_table.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * TI OMAP3 ISP - CFA coefficients table 7 * Copyright (C) 2009-2010 Nokia Corporation 13 { 244, 0, 247, 0, 12, 27, 36, 247, 250, 0, 27, 0, 4, 250, 12, 244, 14 248, 0, 0, 0, 0, 40, 0, 0, 244, 12, 250, 4, 0, 27, 0, 250, 15 247, 36, 27, 12, 0, 247, 0, 244, 0, 0, 40, 0, 0, 0, 0, 248, 16 244, 0, 247, 0, 12, 27, 36, 247, 250, 0, 27, 0, 4, 250, 12, 244, 17 248, 0, 0, 0, 0, 40, 0, 0, 244, 12, 250, 4, 0, 27, 0, 250, 18 247, 36, 27, 12, 0, 247, 0, 244, 0, 0, 40, 0, 0, 0, 0, 248, 19 244, 0, 247, 0, 12, 27, 36, 247, 250, 0, 27, 0, 4, 250, 12, 244, [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | curve25519-ppc64le_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 # [1] https://github.com/dot-asm/cryptogams/ 11 # Copyright (c) 2006-2017, CRYPTOGAMS by <appro@openssl.org> 58 # - Added x25519_fe51_sqr_times, x25519_fe51_frombytes, x25519_fe51_tobytes 61 # Copyright 2024- IBM Corp. 63 # X25519 lower-level primitives for PPC64. 73 stdu 1,-144(1) 86 ld 6,0(5) 87 ld 7,0(4) 109 mulld 12,11,4 [all …]
|
| H A D | poly1305-p10le_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 10 # Poly1305 - this version mainly using vector/VSX/Scalar 11 # - 26 bits limbs 12 # - Handle multiple 64 byte blcok. 16 # clamp r &= 0x0FFFFFFC0FFFFFFC 0x0FFFFFFC0FFFFFFF 17 # p = 2^130 - 5 25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, … 56 #include <asm/asm-offsets.h> 57 #include <asm/asm-compat.h> [all …]
|
| /linux/sound/ppc/ |
| H A D | burgundy.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #define MASK_ADDR_BURGUNDY_INPBOOST (0x10 << 12) 13 #define MASK_ADDR_BURGUNDY_INPSEL21 (0x11 << 12) 14 #define MASK_ADDR_BURGUNDY_INPSEL3 (0x12 << 12) 16 #define MASK_ADDR_BURGUNDY_GAINCH1 (0x13 << 12) 17 #define MASK_ADDR_BURGUNDY_GAINCH2 (0x14 << 12) 18 #define MASK_ADDR_BURGUNDY_GAINCH3 (0x15 << 12) 19 #define MASK_ADDR_BURGUNDY_GAINCH4 (0x16 << 12) 21 #define MASK_ADDR_BURGUNDY_VOLCH1 (0x20 << 12) 22 #define MASK_ADDR_BURGUNDY_VOLCH2 (0x21 << 12) [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_boca.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Data taken from include/asm-i386/serial.h 13 SERIAL8250_PORT(0x100, 12), 14 SERIAL8250_PORT(0x108, 12), 15 SERIAL8250_PORT(0x110, 12), 16 SERIAL8250_PORT(0x118, 12), 17 SERIAL8250_PORT(0x120, 12), 18 SERIAL8250_PORT(0x128, 12), 19 SERIAL8250_PORT(0x130, 12), 20 SERIAL8250_PORT(0x138, 12), [all …]
|
| /linux/drivers/net/dsa/ |
| H A D | mv88e6060.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * drivers/net/dsa/mv88e6060.h - Marvell 88e6060 switch chip support 15 #define REG_PORT(p) (0x8 + (p)) 16 #define PORT_STATUS 0x00 21 #define PORT_STATUS_LINK BIT(12) 26 #define PORT_SWITCH_ID 0x03 27 #define PORT_SWITCH_ID_6060 0x0600 28 #define PORT_SWITCH_ID_6060_MASK 0xfff0 29 #define PORT_SWITCH_ID_6060_R1 0x0601 30 #define PORT_SWITCH_ID_6060_R2 0x0602 [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | rt5677.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5677.h -- RT5677 ALSA SoC audio driver 16 #define RT5677_RESET 0x00 17 #define RT5677_VENDOR_ID 0xfd 18 #define RT5677_VENDOR_ID1 0xfe 19 #define RT5677_VENDOR_ID2 0xf [all...] |
| H A D | rt5640.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5640.h -- RT5640 ALSA SoC audio driver 15 #include <dt-bindings/sound/rt5640.h> 18 #define RT5640_RESET 0x00 19 #define RT5640_VENDOR_ID 0xfd 20 #define RT5640_VENDOR_ID1 0xfe 21 #define RT5640_VENDOR_ID2 0xff 22 /* I/O - Output */ 23 #define RT5640_SPK_VOL 0x01 24 #define RT5640_HP_VOL 0x02 [all …]
|
| H A D | rt5651.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5651.h -- RT5651 ALSA SoC audio driver 12 #include <dt-bindings/sound/rt5651.h> 15 #define RT5651_RESET 0x00 16 #define RT5651_VERSION_ID 0xfd 17 #define RT5651_VENDOR_ID 0xfe 18 #define RT5651_DEVICE_ID 0xff 19 /* I/O - Output */ 20 #define RT5651_HP_VOL 0x02 21 #define RT5651_LOUT_CTRL1 0x03 [all …]
|
| H A D | rt5665.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5665.h -- RT5665/RT5658 ALSA SoC audio driver 14 #define DEVICE_ID 0x6451 17 #define RT5665_RESET 0x0000 18 #define RT5665_VENDOR_ID 0x00fd 19 #define RT5665_VENDOR_ID_1 0x00fe 20 #define RT5665_DEVICE_ID 0x00ff 21 /* I/O - Output */ 22 #define RT5665_LOUT 0x0001 23 #define RT5665_HP_CTRL_1 0x0002 [all …]
|
| H A D | rt5682s.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5682s.h -- RT5682I-VS ALSA SoC audio driver 17 #include <linux/clk-provider.h> 21 #define RT5682S_RESET 0x0000 22 #define RT5682S_VERSION_ID 0x00fd 23 #define RT5682S_VENDOR_ID 0x00fe 24 #define RT5682S_DEVICE_ID 0x00ff 25 /* I/O - Output */ 26 #define RT5682S_HP_CTRL_1 0x0002 27 #define RT5682S_HP_CTRL_2 0x0003 [all …]
|
| H A D | rt5645.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5645.h -- RT5645 ALSA SoC audio driver 13 #define RT5645_RESET 0x00 14 #define RT5645_VENDOR_ID 0xfd 15 #define RT5645_VENDOR_ID1 0xfe 16 #define RT5645_VENDOR_ID2 0xf [all...] |
| H A D | rt5659.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5659.h -- RT5659/RT5658 ALSA SoC audio driver 14 #define DEVICE_ID 0x6311 17 #define RT5659_RESET 0x0000 18 #define RT5659_VENDOR_ID 0x00fd 19 #define RT5659_VENDOR_ID_1 0x00fe 20 #define RT5659_DEVICE_ID 0x00ff 21 /* I/O - Output */ 22 #define RT5659_SPO_VOL 0x0001 23 #define RT5659_HP_VOL 0x0002 [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | ad7091r8.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices AD7091R8 12-bit SAR ADC driver 15 #include "ad7091r-base.h" 19 #define AD7091R8_REG_DATA_MSK GENMASK(9, 0) 31 /* AD7091R-2/-4/-8 don't set sample/command/autocycle mode in conf reg */ in ad7091r8_set_mode() 32 st->mode = mode; in ad7091r8_set_mode() 33 return 0; in ad7091r8_set_mode() 68 AD7091R_CHANNEL(0, 12, NULL, 0), 69 AD7091R_CHANNEL(1, 12, NULL, 0), 73 AD7091R_CHANNEL(0, 12, NULL, 0), [all …]
|
| /linux/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mt8167.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/pinctrl/mt65xx.h> 14 #include "pinctrl-mtk-common.h" 15 #include "pinctrl-mtk-mt8167.h" 18 /* 0E4E8SR 4/8/12/16 */ 20 /* 0E2E4SR 2/4/6/8 */ 22 /* E8E4E2 2/4/6/8/10/12/14/16 */ 23 MTK_DRV_GRP(2, 16, 0, 2, 2) 27 MTK_PIN_DRV_GRP(0, 0xd00, 0, 0), 28 MTK_PIN_DRV_GRP(1, 0xd00, 0, 0), [all …]
|
| H A D | pinctrl-mt8516.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/pinctrl/mt65xx.h> 14 #include "pinctrl-mtk-common.h" 15 #include "pinctrl-mtk-mt8516.h" 18 /* 0E4E8SR 4/8/12/16 */ 20 /* 0E2E4SR 2/4/6/8 */ 22 /* E8E4E2 2/4/6/8/10/12/14/16 */ 23 MTK_DRV_GRP(2, 16, 0, 2, 2) 27 MTK_PIN_DRV_GRP(0, 0xd00, 0, 0), 28 MTK_PIN_DRV_GRP(1, 0xd00, 0, 0), [all …]
|
| H A D | pinctrl-mt2712.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/pinctrl/pinconf-generic.h> 14 #include <dt-bindings/pinctrl/mt65xx.h> 16 #include "pinctrl-mtk-common.h" 17 #include "pinctrl-mtk-mt2712.h" 20 MTK_PIN_PUPD_SPEC_SR(18, 0xe50, 2, 1, 0), 21 MTK_PIN_PUPD_SPEC_SR(19, 0xe60, 12, 11, 10), 22 MTK_PIN_PUPD_SPEC_SR(20, 0xe50, 5, 4, 3), 23 MTK_PIN_PUPD_SPEC_SR(21, 0xe60, 15, 14, 13), 24 MTK_PIN_PUPD_SPEC_SR(22, 0xe50, 8, 7, 6), [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
| H A D | rc_calc_fpu.c | 57 num = num - 0.5; in dsc_roundf() 69 int table_size = 0; in get_qp_set() 80 TABLE_CASE(444, 12, max); in get_qp_set() 81 TABLE_CASE(444, 12, min); in get_qp_set() 86 TABLE_CASE(422, 12, max); in get_qp_set() 87 TABLE_CASE(422, 12, min); in get_qp_set() 92 TABLE_CASE(420, 12, max); in get_qp_set() 93 TABLE_CASE(420, 12, min); in get_qp_set() 99 index = (bpp - table[0].bpp) * 2; in get_qp_set() 115 …0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp > 6) && (bpp < 8))) ? (… in get_ofs_set() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | sev-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define GHCB_MSR_INFO_POS 0 12 #define GHCB_DATA_LOW 12 13 #define GHCB_MSR_INFO_MASK (BIT_ULL(GHCB_DATA_LOW) - 1) 19 #define GHCB_MSR_SEV_INFO_RESP 0x001 20 #define GHCB_MSR_SEV_INFO_REQ 0x002 24 ((((_max) & 0xffff) << 48) | \ 26 (((_min) & 0xffff) << 32) | \ 28 (((_cbit) & 0xff) << 24) | \ 31 #define GHCB_MSR_INFO(v) ((v) & 0xfffUL) [all …]
|
| /linux/drivers/crypto/ |
| H A D | atmel-aes-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #define AES_CR 0x00 6 #define AES_CR_START (1 << 0) 10 #define AES_MR 0x04 11 #define AES_MR_CYPHER_DEC (0 << 0) 12 #define AES_MR_CYPHER_ENC (1 << 0) 15 #define AES_MR_PROCDLY_MASK (0xF << 4) 17 #define AES_MR_SMOD_MASK (0x3 << 8) 18 #define AES_MR_SMOD_MANUAL (0x0 << 8) 19 #define AES_MR_SMOD_AUTO (0x1 << 8) [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | bpf.json | 12 0, 17 …cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' … 18 "expExitCode": "0", 20 …"matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,21 0 1 2048,6 0 0 262144,6 0 0 0' … 36 0, 41 …cmdUnderTest": "$TC action add action bpf bytecode '4,40 0 0 12,31 0 1 2048,6 0 0 262144,6 0 0 0' … 44 …"matchPattern": "action order [0-9]*: bpf bytecode '4,40 0 0 12,31 0 1 2048,6 0 0 262144,6 0 0 0' … 45 "matchCount": "0", 52 "name": "Add eBPF action with valid object-file", 60 0, [all …]
|
| /linux/lib/crypto/ |
| H A D | chacha-block-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 u32 *x = state->x; in chacha_permute() 22 WARN_ON_ONCE(nrounds != 20 && nrounds != 12); in chacha_permute() 24 for (i = 0; i < nrounds; i += 2) { in chacha_permute() 25 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16); in chacha_permute() 30 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12); in chacha_permute() 31 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12); in chacha_permute() 32 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12); in chacha_permute() 33 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12); in chacha_permute() 35 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 8); in chacha_permute() [all …]
|