/linux/arch/powerpc/crypto/ |
H A D | chacha-p10le-8x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 15 # 2. c += d; b ^= c; b <<<= 12; 43 #include <asm/asm-offsets.h> 44 #include <asm/asm-compat.h> 81 stdu 1,-752(1) 102 addi 9, 1, 256 103 SAVE_VRS 20, 0, 9 104 SAVE_VRS 21, 16, 9 105 SAVE_VRS 22, 32, 9 [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. 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, … 26 # to 9 vectors for multiplications. 28 # setup r^4, r^3, r^2, r vectors 29 # vs [r^1, r^3, r^2, r^4] [all …]
|
H A D | aes-gcm-p10.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 # Accelerated AES-GCM stitched implementation for ppc64le. 5 # Copyright 2022- IBM Inc. All rights reserved 14 # X1 * H^4 + X2 * H^3 + x3 * H^2 + X4 * H = 22 # Hash keys = v3 - v14 24 # ( H^2.l, H^2, H^2.h) 29 # v31 - counter 1 32 # vs0 - vs14 for round keys 35 # This implementation uses stitched AES-GCM approach to improve overall performance. 36 # AES is implemented with 8x blocks and GHASH is using 2 4x blocks. [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_qp_tables.c | 1 // SPDX-License-Identifier: MIT 43 { 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 45 { 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 47 { 5, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 49 { 5, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 51 { 5, 5, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 53 { 5, 5, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 54 2, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 }, 55 { 5, 5, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 56 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0 }, [all …]
|
/linux/include/dt-bindings/memory/ |
H A D | mt8186-memory-port.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/memory/mtk-memory-port.h> 22 * modules dma-address-region larbs-ports 23 * disp 0 ~ 4G larb0/1/2 27 * CCU0 0x24000_0000 ~ 0x243ff_ffff larb13: port 9/10 32 /* LARB 0 -- MMSYS */ 35 #define IOMMU_PORT_L0_OVL_RDMA0 MTK_M4U_ID(0, 2) 38 /* LARB 1 -- MMSYS */ 41 #define IOMMU_PORT_L1_DISP_RDMA0 MTK_M4U_ID(1, 2) 45 /* LARB 2 -- MMSYS */ [all …]
|
H A D | mt8195-memory-port.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <dt-bindings/memory/mtk-memory-port.h> 20 * modules dma-address-region larbs-ports 21 * disp 0 ~ 4G larb0/1/2/3 26 * CCU1 0x24400_0000 ~ 0x247ff_ffff larb18: port 2/3 29 * iommu-vdo: larb0/2/5/7/9/10/11/13/17/19/21/24/25/28 30 * iommu-vpp: larb1/3/4/6/8/12/14/16/18/20/22/23/26/27 37 #define M4U_PORT_L0_DISP_OVL0_RDMA0 MTK_M4U_ID(0, 2) 45 #define M4U_PORT_L1_DISP_OVL0_RDMA0 MTK_M4U_ID(1, 2) 51 #define M4U_PORT_L2_MDP_RDMA0 MTK_M4U_ID(2, 0) [all …]
|
H A D | mt8192-larb-port.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/memory/mtk-memory-port.h> 18 * modules dma-address-region larbs-ports 21 * cam/mdp 8G ~ 12G larb2/9/11/13/14/16/17/18/19/20 22 * CCU0 0x4000_0000 ~ 0x43ff_ffff larb13: port 9/10 31 #define M4U_PORT_L0_OVL_RDMA0 MTK_M4U_ID(0, 2) 39 #define M4U_PORT_L1_OVL_2L_RDMA0 MTK_M4U_ID(1, 2) 47 #define M4U_PORT_L2_MDP_RDMA0 MTK_M4U_ID(2, 0) 48 #define M4U_PORT_L2_MDP_RDMA1 MTK_M4U_ID(2, 1) 49 #define M4U_PORT_L2_MDP_WROT0 MTK_M4U_ID(2, 2) [all …]
|
/linux/drivers/clk/renesas/ |
H A D | r9a09g057-cpg.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 13 #include <dt-bindings/clock/renesas,r9a09g057-cpg.h> 15 #include "rzv2h-cpg.h" 45 {0, 2}, 47 {2, 8}, 68 DEF_FIXED(".pllcln_div2", CLK_PLLCLN_DIV2, CLK_PLLCLN, 1, 2), 81 DEF_MOD("gtm_0_pclk", CLK_PLLCM33_DIV16, 4, 3, 2, 3), 82 DEF_MOD("gtm_1_pclk", CLK_PLLCM33_DIV16, 4, 4, 2, 4), 83 DEF_MOD("gtm_2_pclk", CLK_PLLCLN_DIV16, 4, 5, 2, 5), [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.c | 29 /* 0 1 2 3 4 5 6 7 8 9 */ 45 /* MCS 0: SS 1, MOD: BPSK, CR 1/2 */ 46 {6500, 13500, CEIL(6500 * 10, 9), CEIL(13500 * 10, 9), 0x00, 48 /* MCS 1: SS 1, MOD: QPSK, CR 1/2 */ 49 {13000, 27000, CEIL(13000 * 10, 9), CEIL(27000 * 10, 9), 0x08, 51 /* MCS 2: SS 1, MOD: QPSK, CR 3/4 */ 52 {19500, 40500, CEIL(19500 * 10, 9), CEIL(40500 * 10, 9), 0x0A, 54 /* MCS 3: SS 1, MOD: 16QAM, CR 1/2 */ 55 {26000, 54000, CEIL(26000 * 10, 9), CEIL(54000 * 10, 9), 0x10, 58 {39000, 81000, CEIL(39000 * 10, 9), CEIL(81000 * 10, 9), 0x12, [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dsc_helper.c | 1 // SPDX-License-Identifier: MIT 35 * drm_dsc_dp_pps_header_init() - Initializes the PPS Header 49 pps_header->HB1 = DP_SDP_PPS; in drm_dsc_dp_pps_header_init() 50 pps_header->HB2 = DP_SDP_PPS_HEADER_PAYLOAD_BYTES_MINUS_1; in drm_dsc_dp_pps_header_init() 55 * drm_dsc_dp_rc_buffer_size - get rc buffer size in bytes 57 * @rc_buffer_size: number of blocks - 1, according to DPCD offset 63h 82 * drm_dsc_pps_payload_pack() - Populates the DSC PPS 110 pps_payload->dsc_version = in drm_dsc_pps_payload_pack() 111 dsc_cfg->dsc_version_minor | in drm_dsc_pps_payload_pack() 112 dsc_cfg->dsc_version_major << DSC_PPS_VERSION_MAJOR_SHIFT; in drm_dsc_pps_payload_pack() [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | sysreg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <linux/kasan-tags.h> 16 #include <asm/gpr-num.h> 21 * C5.2, version:ARM DDI 0487A.f) 22 * [20-19] : Op0 23 * [18-16] : Op1 24 * [15-12] : CRn 25 * [11-8] : CRm 26 * [7-5] : Op2 83 * As per Arm ARM for v8-A, Section "C.5.1.3 op0 == 0b00, architectural hints, [all …]
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-tables.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "ipu3-tables.h" 18 .sample_patrn_length = 2, 25 { 0, 0, 122, 7, 7, -1, 0 }, 26 { 0, -3, 122, 7, 10, -1, 0 }, 27 { 0, -5, 121, 7, 14, -2, 0 }, 28 { 0, -7, 120, 7, 18, -3, 0 }, 29 { 0, -9, 118, 7, 23, -4, 0 }, 30 { 0, -11, 116, 7, 27, -4, 0 }, 31 { 0, -12, 113, 7, 32, -5, 0 }, [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/arch/arm/mach-omap1/mux.c 7 * Copyright (C) 2003 - 2008 Nokia Corporation 15 #include <linux/soc/ti/omap1-io.h> 30 MUX_CFG("UART1_TX", 9, 21, 1, 2, 3, 0, NA, 0, 0) 31 MUX_CFG("UART1_RTS", 9, 12, 1, 2, 0, 0, NA, 0, 0) 37 MUX_CFG("UART2_RTS", C, 24, 1, 3, 2, 0, NA, 0, 0) 42 MUX_CFG("UART3_CTS", 5, 12, 2, 0, 24, 0, NA, 0, 0) 43 MUX_CFG("UART3_RTS", 5, 15, 2, 0, 25, 0, NA, 0, 0) 44 MUX_CFG("UART3_CLKREQ", 9, 27, 0, 2, 5, 0, NA, 0, 0) [all …]
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | run_common.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 RUN_BENCH="sudo ./bench -w3 -d10 -a" 23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 33 echo "$*" | sed -E "s/.*Percentage\s=\s+([0-9]+\.[0-9]+).*/\1/" 38 echo -n "throughput: " 39 echo -n "$*" | sed -E "s/.*throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/" 40 echo -n -e ", latency: " 41 echo "$*" | sed -E "s/.*latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/" 46 echo -n "hits throughput: " [all …]
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | radix-4k.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * For 4K page size supported index is 13/9/9/9 8 #define RADIX_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 4K = 2MB 9 #define RADIX_PMD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 2MB = 1GB 10 #define RADIX_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 1GB = 512GB 11 #define RADIX_PGD_INDEX_SIZE 13 // size: 8B << 13 = 64KB, maps 2^13 x 512GB = 4PB
|
/linux/arch/mips/kernel/ |
H A D | mips-r2-to-r6-emul.c | 28 #include <asm/mips-r2-to-r6-emul.h> 65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable() 72 * mipsr6_emul - Emulate some frequent R2/R5/R6 instructions in delay slot 83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul() 93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul() 101 return -SIGFPE; in mipsr6_emul() 106 regs->regs[MIPSInst_RD(ir)] = in mipsr6_emul() 107 regs->regs[MIPSInst_RS(ir)] | in mipsr6_emul() [all …]
|
/linux/drivers/clk/rockchip/ |
H A D | rst-rk3576.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <dt-bindings/reset/rockchip,rk3576-cru.h> 33 RK3576_CRU_RESET_OFFSET(SRST_H_VO0VOP_CHANNEL_BIU, 2, 0), 34 RK3576_CRU_RESET_OFFSET(SRST_A_VO0VOP_CHANNEL_BIU, 2, 1), 37 RK3576_CRU_RESET_OFFSET(SRST_BISRINTF, 6, 2), 40 RK3576_CRU_RESET_OFFSET(SRST_H_AUDIO_BIU, 7, 2), 47 RK3576_CRU_RESET_OFFSET(SRST_ASRC_4CH_0, 7, 9), 65 RK3576_CRU_RESET_OFFSET(SRST_M_SAI4_2CH, 9, 0), 66 RK3576_CRU_RESET_OFFSET(SRST_H_SAI4_2CH, 9, 2), 67 RK3576_CRU_RESET_OFFSET(SRST_H_ACDCDIG_DSM, 9, 3), [all …]
|
/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Jeffy Chen <jeffy.chen@rock-chips.com> 12 #include <media/v4l2-h264.h> 13 #include <media/v4l2-mem2mem.h> 16 #include "rkvdec-regs.h" 46 #define CHROMA_FORMAT_IDC PS_FIELD(13, 2) 52 #define PIC_ORDER_CNT_TYPE PS_FIELD(31, 2) 55 #define PIC_WIDTH_IN_MBS PS_FIELD(38, 9) 56 #define PIC_HEIGHT_IN_MBS PS_FIELD(47, 9) 61 #define NUM_VIEWS PS_FIELD(60, 2) [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | police.json | 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 46 "$TC actions add action police rate 4Mbit burst 120k index 9" 48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 51 "matchPattern": "action order [0-9]*: police 0x9", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 102 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 105 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 129 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", 132 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 10Kb", 159 …"matchPattern": "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassif… [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-yuv-luma.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _yuv-luma-only: 6 Luma-Only Formats 14 - In all the tables that follow, bit 7 is the most significant bit in a byte. 15 - Formats are described with the minimum number of pixels needed to create a 16 byte-aligned repeating pattern. `...` indicates repetition of the pattern. 17 - Y'\ :sub:`x`\ [9:2] denotes bits 9 to 2 of the Y' value for pixel at column 19 - `0` denotes padding bits set to 0. 28 .. flat-table:: Luma-Only Image Formats 29 :header-rows: 1 [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h> 8 #include <dt-bindings/clock/sophgo,sg2042-pll.h> 9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 13 #include "sg2042-cpus.dtsi" 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
/linux/scripts/ |
H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 51 $regs{"%ebx"} = $2; 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 57 $regs{"%edi"} = $2; 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 62 $regs{"%ebx"} = $2; 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { [all …]
|
/linux/arch/csky/lib/ |
H A D | usercopy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 16 " or %3, %2 \n" in raw_copy_from_user() 23 "2: ldw %3, (%2, 0) \n" in raw_copy_from_user() 24 "10: ldw %4, (%2, 4) \n" in raw_copy_from_user() 27 "11: ldw %3, (%2, 8) \n" in raw_copy_from_user() 28 "12: ldw %4, (%2, 12) \n" in raw_copy_from_user() 31 " addi %2, 16 \n" in raw_copy_from_user() 37 "4: ldw %3, (%2, 0) \n" in raw_copy_from_user() 39 " addi %2, 4 \n" in raw_copy_from_user() [all …]
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chris Zhong <zyw@rock-chips.com> 5 * Kever Yang <kever.yang@rock-chips.com> 7 * The ROCKCHIP Type-C PHY has two PLL clocks. The first PLL clock 8 * is used for USB3, the second PLL clock is used for DP. This Type-C PHY has 24 * 2. DP only mode: 34 * This Type-C PHY driver supports normal and flip orientation. The orientation 40 #include <linux/clk-provider.h> 58 #define CMN_SSM_BANDGAP (0x21 << 2) 59 #define CMN_SSM_BIAS (0x22 << 2) [all …]
|
/linux/lib/crypto/ |
H A D | blake2s-generic.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 20 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 21 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 22 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 23 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 24 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 25 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 26 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 27 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, [all …]
|