/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | taprio.json | 4 "name": "Add taprio Qdisc to multi-queue device (8 queues)", 13 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device" 15 … add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@… 18 … "matchPattern": "qdisc taprio 1: root refcnt [0-9]+ tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2", 19 "matchCount": "1", 21 "echo \"1\" > /sys/bus/netdevsim/del_device" 26 "name": "Add taprio Qdisc with multiple sched-entry", 35 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device" 37 …e 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 s… 40 "matchPattern": "index [0-9]+ cmd S gatemask 0x[0-9]+ interval [0-9]+00000", [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv090x_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 #define STV090x_WIDTH_OUTSERRS1_HZ_FIELD 1 33 #define STV090x_WIDTH_OUTSERRS2_HZ_FIELD 1 35 #define STV090x_WIDTH_OUTSERRS3_HZ_FIELD 1 37 #define STV090x_WIDTH_OUTPARRS3_HZ_FIELD 1 43 #define STV090x_WIDTH_SPLL_LOCK_FIELD 1 45 #define STV090x_WIDTH_SSTREAM_LCK_3_FIELD 1 47 #define STV090x_WIDTH_SSTREAM_LCK_2_FIELD 1 48 #define STV090x_OFFST_SSTREAM_LCK_1_FIELD 2 49 #define STV090x_WIDTH_SSTREAM_LCK_1_FIELD 1 [all …]
|
/openbmc/linux/drivers/accel/habanalabs/goya/ |
H A D | goya_security.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2019 HabanaLabs, Ltd. 12 * goya_set_block_as_protected - set the given block as protected 20 u32 pb_addr = base - CFG_BASE + PROT_BITS_OFFS; in goya_pb_set_block() 68 word_offset = ((mmMME_DUMMY & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() 69 mask = 1 << ((mmMME_DUMMY & 0x7F) >> 2); in goya_init_mme_protection_bits() 70 mask |= 1 << ((mmMME_RESET & 0x7F) >> 2); in goya_init_mme_protection_bits() 71 mask |= 1 << ((mmMME_STALL & 0x7F) >> 2); in goya_init_mme_protection_bits() 72 mask |= 1 << ((mmMME_SM_BASE_ADDRESS_LOW & 0x7F) >> 2); in goya_init_mme_protection_bits() 73 mask |= 1 << ((mmMME_SM_BASE_ADDRESS_HIGH & 0x7F) >> 2); in goya_init_mme_protection_bits() [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> 28 #define RK3228_BYPASS_RXSENSE_EN BIT(2) 29 #define RK3228_BYPASS_PWRON_EN BIT(1) 45 #define RK3228_RXSENSE_DATA_CH2_ENABLE BIT(2) 46 #define RK3228_RXSENSE_DATA_CH1_ENABLE BIT(1) 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/drivers/video/fbdev/ |
H A D | atafb_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * would be faster. I suspect not for simple text system - not much 30 * Unaligned read/write used requires 68020+ - think this is a problem? 39 * For other modes than 1 plane, lots of more such assembler functions 44 subl #65536,d0 replaced by clrw d0; subql #1,d0 for dbcc 55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small() 56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small() 57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small() 58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small() 59 "1:" in fb_memclear_small() [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/qemu/tests/unit/ |
H A D | test-smp-parse.c | 2 * SMP parsing unit-tests 10 * See the COPYING.LIB file in the top-level directory. 23 #define MIN_CPUS 1 /* set the min CPUs supported by the machine as 1 */ 26 #define SMP_MACHINE_NAME "TEST-SMP" 29 * Used to define the generic 3-level CPU topology hierarchy 30 * -sockets/cores/threads 51 * Currently a 5-level topology hierarchy is supported on PC machines 52 * -sockets/dies/modules/cores/threads 67 * Currently a 4-level topology hierarchy is supported on ARM virt machines 68 * -sockets/clusters/cores/threads [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 | | 22 # | | remote 2001:db8:2::{2..21} | | 24 # | +-----------------------------------------------------------------------+ | 26 # | 2001:db8:2::0/64 via 2001:db8:3::2 | [all …]
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decDPD.h | 9 Software Foundation; either version 2, or (at your option) any later 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) */ [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | mips-r2-to-r6-emul.c | 28 #include <asm/mips-r2-to-r6-emul.h> 63 mipsr2_emulation = 1; in mipsr2emu_enable() 65 pr_info("MIPS R2-to-R6 Emulator Enabled!"); in mipsr2emu_enable() 67 return 1; 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() [all …]
|
/openbmc/linux/arch/x86/platform/ce4100/ |
H A D | falconfalls.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 27 #address-cells = <1>; 28 #size-cells = <1>; 29 compatible = "intel,ce4100-cp"; 32 ioapic1: interrupt-controller@fec00000 { [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
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 | | 22 # | | remote 2001:db8:2::{2..17} | | 24 # | +-----------------------------------------------------------------------+ | 26 # | 2001:db8:2::0/64 via 2001:db8:3::2 | [all …]
|
/openbmc/u-boot/board/freescale/mpc8569mds/ |
H A D | mpc8569mds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2009-2010 Freescale Semiconductor. 30 #include "../common/pq-mds-pib.h" 35 {2, 31, 1, 0, 1}, /* QE_MUX_MDC */ 38 {2, 30, 3, 0, 2}, /* QE_MUX_MDIO */ 42 {2, 11, 2, 0, 1}, /* CLK12 */ 43 {0, 0, 1, 0, 3}, /* ENET1_TXD0_SER1_TXD0 */ 44 {0, 1, 1, 0, 3}, /* ENET1_TXD1_SER1_TXD1 */ 45 {0, 2, 1, 0, 1}, /* ENET1_TXD2_SER1_TXD2 */ 46 {0, 3, 1, 0, 2}, /* ENET1_TXD3_SER1_TXD3 */ [all …]
|
/openbmc/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 1 // SPDX-License-Identifier: LGPL-2.1 11 #include "codec-v4l2-fwht.h" 14 { V4L2_PIX_FMT_YUV420, 1, 3, 2, 1, 1, 2, 2, 3, 3, V4L2_FWHT_FL_PIXENC_YUV}, 15 { V4L2_PIX_FMT_YVU420, 1, 3, 2, 1, 1, 2, 2, 3, 3, V4L2_FWHT_FL_PIXENC_YUV}, 16 { V4L2_PIX_FMT_YUV422P, 1, 2, 1, 1, 1, 2, 1, 3, 3, V4L2_FWHT_FL_PIXENC_YUV}, 17 { V4L2_PIX_FMT_NV12, 1, 3, 2, 1, 2, 2, 2, 3, 2, V4L2_FWHT_FL_PIXENC_YUV}, 18 { V4L2_PIX_FMT_NV21, 1, 3, 2, 1, 2, 2, 2, 3, 2, V4L2_FWHT_FL_PIXENC_YUV}, 19 { V4L2_PIX_FMT_NV16, 1, 2, 1, 1, 2, 2, 1, 3, 2, V4L2_FWHT_FL_PIXENC_YUV}, 20 { V4L2_PIX_FMT_NV61, 1, 2, 1, 1, 2, 2, 1, 3, 2, V4L2_FWHT_FL_PIXENC_YUV}, 21 { V4L2_PIX_FMT_NV24, 1, 3, 1, 1, 2, 1, 1, 3, 2, V4L2_FWHT_FL_PIXENC_YUV}, [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_rect_test.c | 1 // SPDX-License-Identifier: GPL-2.0 19 KUNIT_EXPECT_EQ(test, r->x1, expected->x1); in drm_rect_compare() 20 KUNIT_EXPECT_EQ(test, r->y1, expected->y1); in drm_rect_compare() 36 drm_rect_init(&clip, 1, 1, 1, 1); in drm_test_rect_clip_scaled_div_by_zero() 44 drm_rect_init(&clip, 1, 1, 1, 1); in drm_test_rect_clip_scaled_div_by_zero() 56 /* 1:1 scaling */ in drm_test_rect_clip_scaled_not_clipped() 57 drm_rect_init(&src, 0, 0, 1 << 16, 1 << 16); in drm_test_rect_clip_scaled_not_clipped() 58 drm_rect_init(&dst, 0, 0, 1, 1); in drm_test_rect_clip_scaled_not_clipped() 59 drm_rect_init(&clip, 0, 0, 1, 1); in drm_test_rect_clip_scaled_not_clipped() 63 KUNIT_EXPECT_FALSE_MSG(test, src.x1 != 0 || src.x2 != 1 << 16 || in drm_test_rect_clip_scaled_not_clipped() [all …]
|
/openbmc/linux/drivers/media/i2c/ccs/ |
H A D | ccs-limits.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 2 /* Copyright (C) 2019--2020 Intel Corporation */ 4 * Generated by Documentation/driver-api/media/drivers/ccs/mk-ccs-regs; 8 #include "ccs-limits.h" 9 #include "ccs-regs.h" 12 { CCS_R_FRAME_FORMAT_MODEL_TYPE, 1, 0, "frame_format_model_type" }, 13 { CCS_R_FRAME_FORMAT_MODEL_SUBTYPE, 1, 0, "frame_format_model_subtype" }, 16 { CCS_R_ANALOG_GAIN_CAPABILITY, 2, 0, "analog_gain_capability" }, 17 { CCS_R_ANALOG_GAIN_CODE_MIN, 2, 0, "analog_gain_code_min" }, 18 { CCS_R_ANALOG_GAIN_CODE_MAX, 2, 0, "analog_gain_code_max" }, [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852c_table.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2022 Realtek Corporation 31372 { 0, 0, 1, 0, 4, 0x50505050, }, 31373 { 0, 0, 1, 4, 4, 0x484c5050, }, 31374 { 0, 0, 2, 0, 4, 0x50505050, }, 31375 { 0, 0, 2, 4, 4, 0x44484c50, }, 31376 { 0, 0, 2, 8, 4, 0x34383c40, }, 31378 { 0, 1, 2, 0, 4, 0x50505050, }, 31379 { 0, 1, 2, 4, 4, 0x44484c50, }, 31380 { 0, 1, 2, 8, 4, 0x34383c40, }, [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 33 timeout_test=$((timeout_poll * 2 + 1)) 46 last_test_ignored=1 48 declare -A all_tests 49 declare -a only_tests_ids 50 declare -a only_tests_names 51 declare -A failed_tests 80 21 0 1 48, 90 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 92 ns1="ns1-$rndh" [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | crop.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 25 ….48 8.19,17.01 -46.93,23.31 29.61,-25.515 -38.12,8.505 47.25,-23.31 z m -1559.25,800.73 -8.5,-17.0… 27 inkscape:connector-curvature="0" 28 style="clip-rule:evenodd" /></clipPath><clipPath 31 …-1626 -1,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2,0 0,1 -2… 32 -1,0 0,1 -1,0 0,1 -1,0 0,1 -2,0 0,1 -1,0 0,2 2,0 0,-1 4,0 0,-1 5,0 0,-1 4,0 0,-1 5,0 0,-1 5,0 0,-1 … 34 inkscape:connector-curvature="0" [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | l2tp.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # L2TPv3 tunnel between 2 hosts 6 # host-1 | router | host-2 10 # fc00:101::1 fc00:1::1 | | fc00:1::2 fc00:101::2 14 # 2001:db8:1::1 | | 2001:db8:2::1 19 which ping6 > /dev/null 2>&1 && ping6=$(which ping6) || ping6=$(which ping) 25 local rc=$1 26 local expected=$2 29 if [ ${rc} -eq ${expected} ]; then 30 printf "TEST: %-60s [ OK ]\n" "${msg}" [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 2 # SPDX-License-Identifier: GPL-2.0 58 local nharg="$1"; shift 59 local expected="$1"; shift 61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//') 63 return 1 71 local group_id=$1; shift 78 nhid=$1; shift 79 expected=$1; shift 82 grep "trap" | wc -l) 84 return 1 [all …]
|
/openbmc/qemu/target/xtensa/core-test_kc705_be/ |
H A D | gdb-config.c.inc | 3 Copyright (c) 2003-2015 Tensilica Inc. 23 XTREG( 0, 0,32, 4, 4,0x0020,0x0006,-2, 9,0x0100,pc, 0,0,0,0,0,0) 24 XTREG( 1, 4,32, 4, 4,0x0100,0x0006,-2, 1,0x0002,ar0, 0,0,0,0,0,0) 25 XTREG( 2, 8,32, 4, 4,0x0101,0x0006,-2, 1,0x0002,ar1, 0,0,0,0,0,0) 26 XTREG( 3, 12,32, 4, 4,0x0102,0x0006,-2, 1,0x0002,ar2, 0,0,0,0,0,0) 27 XTREG( 4, 16,32, 4, 4,0x0103,0x0006,-2, 1,0x0002,ar3, 0,0,0,0,0,0) 28 XTREG( 5, 20,32, 4, 4,0x0104,0x0006,-2, 1,0x0002,ar4, 0,0,0,0,0,0) 29 XTREG( 6, 24,32, 4, 4,0x0105,0x0006,-2, 1,0x0002,ar5, 0,0,0,0,0,0) 30 XTREG( 7, 28,32, 4, 4,0x0106,0x0006,-2, 1,0x0002,ar6, 0,0,0,0,0,0) 31 XTREG( 8, 32,32, 4, 4,0x0107,0x0006,-2, 1,0x0002,ar7, 0,0,0,0,0,0) [all …]
|
/openbmc/u-boot/board/freescale/b4860qds/ |
H A D | b4860qds_crossbar_con.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 static const int8_t vsc16_tx_amc[8][2] = { {15, 3}, {0, 2}, {7, 4}, {9, 10}, 13 {5, 11}, {4, 5}, {2, 6}, {12, 9} }; 15 static int8_t vsc16_tx_sfp[8][2] = { {15, 7}, {0, 1}, {7, 8}, {9, 0}, 16 {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} }; 18 static int8_t vsc16_tx_4sfp_sgmii_12_56[8][2] = { {15, 7}, {0, 1}, 19 {7, 8}, {9, 0}, {2, 14}, {12, 15}, 20 {-1, -1}, {-1, -1} }; 22 static const int8_t vsc16_tx_4sfp_sgmii_34[8][2] = { {15, 7}, {0, 1}, 24 {-1, -1}, {-1, -1} }; [all …]
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | modsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH GCC-exception-2.0 */ 15 bltui a3, 2, .Lle_one /* check if udivisor <= 1 */ 20 sub a4, a4, a5 /* count = udivisor_shift - udividend_shift */ 24 /* test-subtract-and-shift loop */ 32 srli a3, a3, 1 34 addi a4, a4, -1 44 neg a2, a2 /* if (dividend < 0), return -udividend */ 73 .byte 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 74 .byte 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 75 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 [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 …]
|