/openbmc/qemu/include/libdecnumber/ |
H A D | decDPD.h | 29 02110-1301, USA. */ 31 /* ------------------------------------------------------------------------ */ 33 /* [Automatically generated -- do not edit. 2007.05.05] */ 34 /* ------------------------------------------------------------------------ */ 35 /* ------------------------------------------------------------------------ */ 41 /* uint16_t BCD2DPD[2458]; -- BCD -> DPD (0x999 => 2457) */ 42 /* uint16_t BIN2DPD[1000]; -- Bin -> DPD (999 => 2457) */ 43 /* uint8_t BIN2CHAR[4001]; -- Bin -> CHAR (999 => '\3' '9' '9' '9') */ 44 /* uint8_t BIN2BCD8[4000]; -- Bin -> bytes (999 => 9 9 9 3) */ 45 /* uint16_t DPD2BCD[1024]; -- DPD -> BCD (0x3FF => 0x999) */ [all …]
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Author: Zheng Yang <zhengyang@rock-chips.com> 10 #include <linux/clk-provider.h> 16 #include <linux/nvmem-consumer.h> 29 #define RK3228_BYPASS_PWRON_EN BIT(1) 44 #define RK3228_RXSENSE_CLK_CH_ENABLE BIT(3) 46 #define RK3228_RXSENSE_DATA_CH1_ENABLE BIT(1) 50 #define RK3228_TMDS_DRIVER_ENABLE GENMASK(3, 0) 74 #define RK3228_PRE_PLL_TMDSCLK_DIV_A_MASK GENMASK(3, 2) 75 #define RK3228_PRE_PLL_TMDSCLK_DIV_A(x) UPDATE(x, 3, 2) [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include "rockchip-pinconf.dtsi" 15 /omit-if-no-ref/ 16 acodec_pins: acodec-pins { 19 <1 RK_PB1 5 &pcfg_pull_none>, 21 <1 RK_PA1 5 &pcfg_pull_none>, 23 <1 RK_PA0 5 &pcfg_pull_none>, 25 <1 RK_PA7 5 &pcfg_pull_none>, 27 <1 RK_PB0 5 &pcfg_pull_none>, [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | string.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 addi r5,r3,-1 14 addi r4,r4,-1 15 1: lbzu r0,1(r4) 17 stbu r0,1(r5) 18 bne 1b 26 addi r6,r3,-1 27 addi r4,r4,-1 28 1: lbzu r0,1(r4) 30 stbu r0,1(r6) [all …]
|
/openbmc/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> 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, 96 #define PSTATE_UAO pstate_field(0, 3) [all …]
|
H A D | pgtable-hwdef.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * Number of page-table levels required to address 'va_bits' wide 12 * address, without section mapping. We resolve the top (va_bits - PAGE_SHIFT) 13 * bits with (PAGE_SHIFT - 3) bits at each page table level. Hence: 15 * levels = DIV_ROUND_UP((va_bits - PAGE_SHIFT), (PAGE_SHIFT - 3)) 17 * where DIV_ROUND_UP(n, d) => (((n) + (d) - 1) / (d)) 22 * ((((va_bits) - PAGE_SHIFT) + (PAGE_SHIFT - 3) - 1) / (PAGE_SHIFT - 3)) 26 #define ARM64_HW_PGTABLE_LEVELS(va_bits) (((va_bits) - 4) / (PAGE_SHIFT - 3)) 29 * Size mapped by an entry at level n ( 0 <= n <= 3) 30 * We map (PAGE_SHIFT - 3) at all translation levels and PAGE_SHIFT bits [all …]
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 echo "$1" 16 [[ $(id -u) -eq 0 ]] || skip_test "Test must be run as root!" 23 CGROUP2=$(mount -t cgroup2 | head -1 | awk -e '{print $3}') 24 [[ -n "$CGROUP2" ]] || skip_test "Cgroup v2 mount point not found!" 26 CPUS=$(lscpu | grep "^CPU(s):" | sed -e "s/.*:[[:space:]]*//") 27 [[ $CPUS -lt 8 ]] && skip_test "Test needs at least 8 cpus available!" 30 PROG=$1 32 DELAY_FACTOR=1 34 while [[ "$1" = -* ]] [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 28 LEGACY_ID_NAND("NAND 1MiB 5V 8-bit", 0x6e, 1, SZ_4K, SP_OPTIONS), 29 LEGACY_ID_NAND("NAND 2MiB 5V 8-bit", 0x64, 2, SZ_4K, SP_OPTIONS), 30 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xe8, 1, SZ_4K, SP_OPTIONS), 31 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xec, 1, SZ_4K, SP_OPTIONS), 32 LEGACY_ID_NAND("NAND 2MiB 3,3V 8-bit", 0xea, 2, SZ_4K, SP_OPTIONS), 33 LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xd5, 4, SZ_8K, SP_OPTIONS), 35 LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xe6, 8, SZ_8K, SP_OPTIONS), 42 {"TC58NVG0S3E 1G 3.3V 8-bit", 44 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), 46 {"TC58NVG2S0F 4G 3.3V 8-bit", [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | balloc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. 14 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2,/* 0 ~ 19*/ 15 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3,/* 20 ~ 39*/ 16 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2,/* 40 ~ 59*/ 17 0, 1, 0, 6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4,/* 60 ~ 79*/ 18 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2,/* 80 ~ 99*/ 19 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3,/*100 ~ 119*/ 20 0, 1, 0, 2, 0, 1, 0, 7, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2,/*120 ~ 139*/ 21 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5,/*140 ~ 159*/ [all …]
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | idef-parser.y | 3 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved. 14 #include "idef-parser.h" 15 #include "parser-helpers.h" 16 #include "idef-parser.tab.h" 17 #include "idef-parser.yy.h" 26 %lex-param {void *scanner} 27 %parse-param {void *scanner} 28 %parse-param {Context *c} 50 %expect 1 89 %left '-' '+' [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | elantech.rst | 4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net> 6 Extra information for hardware version 1 found and 15 1. Introduction 17 3. Differentiating hardware versions 18 4. Hardware version 1 25 5.2.1 Parity checking and packet re-synchronization 27 5.2.3 Two finger touch 28 6. Hardware version 3 31 6.2.1 One/Three finger touch 36 7.2.1 Status packet [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | feature-fixups-test.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 #include <asm/feature-fixups.h> 9 #include <asm/asm-compat.h> 10 #include <asm/ppc-opcode.h> 19 or 1,1,1 21 or 3,3,3 26 or 1,1,1 28 or 3,3,3 31 or 1,1,1 33 or 3,3,3 [all …]
|
/openbmc/linux/arch/xtensa/variants/csp/include/variant/ |
H A D | tie.h | 2 * tie.h -- compile-time HAL definitions dependent on CORE & TIE configuration 11 Copyright (c) 1999-2015 Cadence Design Systems Inc. 35 #define XCHAL_CP_NUM 1 /* number of coprocessors */ 36 #define XCHAL_CP_MAX 8 /* max CP ID + 1 (0 if none) */ 44 #define XCHAL_CP7_SA_ALIGN 1 /* min alignment of save area */ 49 #define XCHAL_CP0_SA_ALIGN 1 51 #define XCHAL_CP1_SA_ALIGN 1 53 #define XCHAL_CP2_SA_ALIGN 1 55 #define XCHAL_CP3_SA_ALIGN 1 57 #define XCHAL_CP4_SA_ALIGN 1 [all …]
|
/openbmc/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) 34 MUX_CFG("UART2_TX", C, 27, 1, 3, 3, 0, NA, 0, 0) 35 MUX_CFG("UART2_RX", C, 18, 0, 3, 1, 1, NA, 0, 0) 36 MUX_CFG("UART2_CTS", C, 21, 0, 3, 1, 1, NA, 0, 0) 37 MUX_CFG("UART2_RTS", C, 24, 1, 3, 2, 0, NA, 0, 0) [all …]
|
/openbmc/linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
H A D | tie.h | 2 * tie.h -- compile-time HAL definitions dependent on CORE & TIE configuration 11 Copyright (c) 1999-2015 Cadence Design Systems Inc. 36 #define XCHAL_CP_MAX 8 /* max CP ID + 1 (0 if none) */ 45 #define XCHAL_CP_ID_AUDIOENGINELX 1 /* coprocessor ID (0..7) */ 49 #define XCHAL_CP7_SA_ALIGN 1 /* min alignment of save area */ 54 #define XCHAL_CP0_SA_ALIGN 1 56 #define XCHAL_CP2_SA_ALIGN 1 58 #define XCHAL_CP3_SA_ALIGN 1 60 #define XCHAL_CP4_SA_ALIGN 1 62 #define XCHAL_CP5_SA_ALIGN 1 [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_sha256.c | 1 // SPDX-License-Identifier: BSD-3-Clause 6 * FIPS 180-2 SHA-224/256/384/512 implementation 14 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) 15 #define ROTL(x, n) ((x << n) | (x >> ((sizeof(x) << 3) - n))) 21 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3)) 26 *((str) + 3) = (uint8_t)((x)); \ 28 *((str) + 1) = (uint8_t)((x) >> 16); \ 34 *(x) = ((uint32_t) * ((str) + 3)) | ((uint32_t) * ((str) + 2) << 8) | \ 35 ((uint32_t) * ((str) + 1) << 16) | \ 42 { w[i] = SHA256_F4(w[i - 2]) + w[i - 7] + SHA256_F3(w[i - 15]) + w[i - 16]; } [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 {"TC58NVG0S3E 1G 3.3V 8-bit", 31 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), }, 32 {"TC58NVG2S0F 4G 3.3V 8-bit", 35 {"TC58NVG2S0H 4G 3.3V 8-bit", 38 {"TC58NVG3S0F 8G 3.3V 8-bit", 41 {"TC58NVG5D2 32G 3.3V 8-bit", 44 {"TC58NVG6D2 64G 3.3V 8-bit", 47 {"SDTNQGAMA 64G 3.3V 8-bit", 50 {"SDTNRGAMA 64G 3.3V 8-bit", [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 54 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word, 57 for each component. For instance, the RGB565 format stores a pixel in a 16-bit [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +-----------------------+ 12 # | | 2001:db8:1::1/64 | 13 # +----|------------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 21 # | | local 2001:db8:2::1 | | 24 # | +-----------------------------------------------------------------------+ | 26 # | 2001:db8:2::0/64 via 2001:db8:3::2 | 29 # | | 2001:db8:3::1/64 | [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs-regs.asc | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 2 # Copyright (C) 2019--2020 Intel Corporation 5 # - f field LSB MSB rflags 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 8 # - b bool bit 9 # - l arg name min max elsize [discontig...] 13 # v1.1 defined in version 1.1 23 - e GRBG 0 24 - e RGGB 1 [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | fib_offload.sh | 2 # SPDX-License-Identifier: GPL-2.0 20 simple_if_init $tor1_p1 2001:db8:1::2/128 2001:db8:1::3/128 25 simple_if_fini $tor1_p1 2001:db8:1::2/128 2001:db8:1::3/128 30 simple_if_init $tor2_p1 2001:db8:2::2/128 2001:db8:2::3/128 35 simple_if_fini $tor2_p1 2001:db8:2::2/128 2001:db8:2::3/128 43 __addr_add_del $spine_p1 add 2001:db8:1::1/64 44 __addr_add_del $spine_p2 add 2001:db8:2::1/64 49 __addr_add_del $spine_p2 del 2001:db8:2::1/64 50 __addr_add_del $spine_p1 del 2001:db8:1::1/64 58 local pfx="$1"; shift [all …]
|
/openbmc/linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
H A D | tie.h | 2 * tie.h -- compile-time HAL definitions dependent on CORE & TIE configuration 11 Copyright (c) 1999-2014 Tensilica Inc. 36 #define XCHAL_CP_MAX 8 /* max CP ID + 1 (0 if none) */ 45 #define XCHAL_CP_ID_AUDIOENGINELX 1 /* coprocessor ID (0..7) */ 49 #define XCHAL_CP7_SA_ALIGN 1 /* min alignment of save area */ 54 #define XCHAL_CP0_SA_ALIGN 1 56 #define XCHAL_CP2_SA_ALIGN 1 58 #define XCHAL_CP3_SA_ALIGN 1 60 #define XCHAL_CP4_SA_ALIGN 1 62 #define XCHAL_CP5_SA_ALIGN 1 [all …]
|
/openbmc/linux/tools/arch/arm64/include/asm/ |
H A D | sysreg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 * [20-19] : Op0 20 * [18-16] : Op1 21 * [15-12] : CRn 22 * [11-8] : CRm 23 * [7-5] : Op2 80 * As per Arm ARM for v8-A, Section "C.5.1.3 op0 == 0b00, architectural hints, 92 #define PSTATE_UAO pstate_field(0, 3) 93 #define PSTATE_SSBS pstate_field(3, 1) 94 #define PSTATE_TCO pstate_field(3, 4) [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | expr.y | 3 #define YYDEBUG 1 8 #define IN_EXPR_Y 1 10 #include "expr-bison.h" 16 %parse-param { double *final_val } 17 %parse-param { struct expr_parse_ctx *ctx } 18 %parse-param { bool compute_ids } 19 %parse-param {void *scanner} 20 %lex-param {void* scanner} 48 %left '-' '+' 73 /* During computing ids, does val represent a constant (non-BOTTOM) value? */ [all …]
|
/openbmc/qemu/disas/ |
H A D | sparc.c | 3 * include/opcode/sparc.h, opcodes/sparc-opc.c, opcodes/sparc-dis.c 30 #include "disas/dis-asm.h" 33 the opcodes library in sparc-opc.c. If you change anything here, make 36 /* FIXME-someday: perhaps the ,a's and such should be embedded in the 43 returns non-zero. 44 The values are indices into `sparc_opcode_archs' defined in sparc-opc.c. 45 Don't change this without updating sparc-opc.c. */ 62 #define SPARC_OPCODE_ARCH_MAX (SPARC_OPCODE_ARCH_BAD - 1) 66 #define SPARC_OPCODE_ARCH_MASK(arch) (1 << (arch)) 68 /* Given a valid sparc_opcode_arch_val, return non-zero if it's v9. */ [all …]
|