/openbmc/linux/lib/ |
H A D | test-kstrtox.c | 36 rv = fn(t->str, t->base, &tmp); \ 38 WARN(1, "str '%s', base %u, expected -E, got %d/" fmt "\n", \ 39 t->str, t->base, rv, tmp); \ 54 rv = fn(t->str, t->base, &res); \ 57 t->str, t->base, t->expected_res, rv); \ 60 if (res != t->expected_res) { \ 62 t->str, t->base, t->expected_res, res); \ 72 {"0", 10, 0ULL}, in test_kstrtoull_ok() 73 {"1", 10, 1ULL}, in test_kstrtoull_ok() 74 {"127", 10, 127ULL}, in test_kstrtoull_ok() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag() 20 le32_to_cpu(il->_3945.stats.flag)); in il3945_stats_flag() 21 if (le32_to_cpu(il->_3945.stats.flag) & UCODE_STATS_CLEAR_MSK) in il3945_stats_flag() 22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag() 24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag() 25 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag() 27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il3945_stats_flag() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_vlan_mcast.sh | 2 # SPDX-License-Identifier: GPL-2.0 17 ip link add l $h1 $h1.10 up type vlan id 10 22 ip link del $h1.10 29 ip link add l $h2 $h2.10 up type vlan id 10 34 ip link del $h2.10 52 bridge vlan add vid 10-11 dev $swp1 master 53 bridge vlan add vid 10-11 dev $swp2 master 104 ip address add dev $h2.10 $TEST_GROUP/32 autojoin 108 bridge -j mdb show dev br0 | 109 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and .vid == 10)" &>/dev/null [all …]
|
H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 6 # | + $h1.10 | | + $h2.10 | 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 21 # | | vid 10 vid 10 | | 24 # | +-----------------------------------------------------------------------+ | 25 # +---------------------------------------------------------------------------+ 40 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 [all …]
|
H A D | vxlan_bridge_1q.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 6 # | + $h1.10 | | + $h2.10 | 13 # +----|------------------+ +----|-------------------+ 15 # +----|--------------------------------------------------|-------------------+ 17 # | +--|--------------------------------------------------|-----------------+ | 19 # | | vid 10 vid 10 | | 26 # | | vid 10 pvid untagged vid 20 pvid untagged | | 27 # | +-----------------------------------------------------------------------+ | 34 # +----|----------------------------------------------------------------------+ [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | bridge_vlan_mcast.sh | 2 # SPDX-License-Identifier: GPL-2.0 17 ip link add l $h1 $h1.10 up type vlan id 10 22 ip link del $h1.10 29 ip link add l $h2 $h2.10 up type vlan id 10 34 ip link del $h2.10 52 bridge vlan add vid 10-11 dev $swp1 master 53 bridge vlan add vid 10-11 dev $swp2 master 104 ip address add dev $h2.10 $TEST_GROUP/32 autojoin 108 bridge -j mdb show dev br0 | 109 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and .vid == 10)" &>/dev/null [all …]
|
H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 6 # | + $h1.10 | | + $h2.10 | 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 21 # | | vid 10 vid 10 | | 24 # | +-----------------------------------------------------------------------+ | 25 # +---------------------------------------------------------------------------+ 40 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64 [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | insns.decode | 1 # SPDX-License-Identifier: LGPL-2.0-or-later 7 ## Major Opcodes 00 and 01 -- branches, call, and sethi. 11 BPcc 00 a:1 cond:4 001 cc:1 0 - i:s19 &bcc 13 FBPfcc 00 a:1 cond:4 101 cc:2 - i:s19 &bcc 17 BPr 00 a:1 0 cond:3 011 .. - rs1:5 .............. i=%d16 19 NCP 00 - ---- 111 ---------------------- # CBcc 26 ## Major Opcode 10 -- integer, floating-point, vis, and system insns. 91 STBAR 10 00000 101000 01111 0 0000000000000 92 MEMBAR 10 00000 101000 01111 1 000000 cmask:3 mmask:4 94 RDCCR 10 rd:5 101000 00010 0 0000000000000 [all …]
|
/openbmc/linux/arch/arm/mach-rpc/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0 18 0, 8, 9, 8,10,10,10,10,11,11,11,11,10,10,10,10, 19 12, 8, 9, 8,10,10,10,10,11,11,11,11,10,10,10,10, 20 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10, 21 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10, 22 14,14,14,14,10,10,10,10,11,11,11,11,10,10,10,10, 23 14,14,14,14,10,10,10,10,11,11,11,11,10,10,10,10, 24 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10, 25 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10, 26 15,15,15,15,10,10,10,10,11,11,11,11,10,10,10,10, [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 2 # SPDX-License-Identifier: GPL-2.0 61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//') 82 grep "trap" | wc -l) 95 occ=$($DEVLINK -jp resource show $DEVLINK_DEV \ 98 if [ $expected_occ -ne $occ ]; then 158 $IP nexthop add id 10 group 1/2 159 nexthop_check "id 10" "id 10 group 1/2 trap" 165 $IP nexthop del id 10 169 $IP nexthop add id 10 group 1,20/2,39 170 nexthop_check "id 10" "id 10 group 1,20/2,39 trap" [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 24 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 37 #define MDIO_CTRL2 7 /* 10G control 2 */ 38 #define MDIO_STAT2 8 /* 10G status 2 */ 39 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 40 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 41 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 52 /* Media-dependent registers. */ 53 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */ [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 38 #define MDIO_CTRL2 7 /* 10G control 2 */ 39 #define MDIO_STAT2 8 /* 10G status 2 */ 40 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 41 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 42 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 58 /* Media-dependent registers. */ 59 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */ [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dsc_helper.c | 1 // SPDX-License-Identifier: MIT 34 * drm_dsc_dp_pps_header_init() - Initializes the PPS Header 48 pps_header->HB1 = DP_SDP_PPS; in drm_dsc_dp_pps_header_init() 49 pps_header->HB2 = DP_SDP_PPS_HEADER_PAYLOAD_BYTES_MINUS_1; in drm_dsc_dp_pps_header_init() 54 * drm_dsc_dp_rc_buffer_size - get rc buffer size in bytes 56 * @rc_buffer_size: number of blocks - 1, according to DPCD offset 63h 81 * drm_dsc_pps_payload_pack() - Populates the DSC PPS 109 pps_payload->dsc_version = in drm_dsc_pps_payload_pack() 110 dsc_cfg->dsc_version_minor | in drm_dsc_pps_payload_pack() 111 dsc_cfg->dsc_version_major << DSC_PPS_VERSION_MAJOR_SHIFT; in drm_dsc_pps_payload_pack() [all …]
|
/openbmc/linux/net/kcm/ |
H A D | kcmproc.c | 1 // SPDX-License-Identifier: GPL-2.0 23 return list_first_or_null_rcu(&knet->mux_list, in kcm_get_first() 29 struct kcm_net *knet = mux->knet; in kcm_get_next() 31 return list_next_or_null_rcu(&knet->mux_list, &mux->kcm_mux_list, in kcm_get_next() 41 list_for_each_entry_rcu(m, &knet->mux_list, kcm_mux_list) { in kcm_get_idx() 44 --pos; in kcm_get_idx() 69 return kcm_get_idx(seq, *pos - 1); in kcm_seq_start() 90 knet->count); in kcm_format_mux_header() 93 "%-14s %-10s %-16s %-10s %-16s %-8s %-8s %-8s %-8s %s", in kcm_format_mux_header() 95 "RX-Msgs", in kcm_format_mux_header() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 149.out | 1 # ================= dm-crypt aes-256-xts-plain64-sha1 ================= 3 truncate TEST_DIR/luks-aes-256-xts-plain64-sha1.img --size 4194304MB 5 …-q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --k… 7 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-p… 9 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 10 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-… 12 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 15 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 16 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-… 18 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) [all …]
|
H A D | 077 | 54 echo "open -o driver=$IMGFMT,file.align=4k blkdebug::$TEST_IMG" 57 aio_write -P 10 0x200 0x200 66 aio_write -P 10 $((off + 0x200)) 0x200 68 aio_write -P 11 $((off + 0x400)) 0x200 79 aio_write -P 10 0x5000 0x200 81 aio_write -P 11 0x5200 0x200 82 aio_write -P 12 0x5400 0x200 83 aio_write -P 13 0x5600 0x200 84 aio_write -P 14 0x5800 0x200 85 aio_write -P 15 0x5a00 0x200 [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/pub/linux/utils/util-linux/v2.34/ |
H A D | index.html | 2 <head><title>Index of /pub/linux/utils/util-linux/v2.34/</title></head> 4 <h1>Index of /pub/linux/utils/util-linux/v2.34/</h1><hr><pre><a href="../">../</a> 5 <a href="libblkid-docs/">libblkid-docs/</a> 14-Jun-2019 10:45 … 6 <a href="libfdisk-docs/">libfdisk-docs/</a> 14-Jun-2019 10:45 … 7 <a href="libmount-docs/">libmount-docs/</a> 14-Jun-2019 10:45 … 8 <a href="libsmartcols-docs/">libsmartcols-docs/</a> 14-Jun-2019 10:… 9 <a href="sha256sums.asc">sha256sums.asc</a> 14-Jun-2019 10:51 … 10 <a href="util-linux-2.34-rc1.tar.gz">util-linux-2.34-rc1.tar.gz</a> 30-Apr-… 11 <a href="util-linux-2.34-rc1.tar.sign">util-linux-2.34-rc1.tar.sign</a> 30-Ap… 12 <a href="util-linux-2.34-rc1.tar.xz">util-linux-2.34-rc1.tar.xz</a> 30-Apr-… [all …]
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | usercopy.S | 8 * of the Xtensa link-time HAL, and those files may differ per 11 * could lose the special functionality for accessing user-space 37 * This code tries to use fall-through braches for the common 93 EX(10f) l8ui a6, a3, 0 95 EX(10f) s8i a6, a5, 0 97 addi a4, a4, -1 100 .Ldst2mod4: # dst 16-bit aligned 103 EX(10f) l8ui a6, a3, 0 104 EX(10f) l8ui a7, a3, 1 106 EX(10f) s8i a6, a5, 0 [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
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, … 56 #include <asm/asm-offsets.h> 57 #include <asm/asm-compat.h> 95 stdu 1,-752(1) [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 22 # Hash keys = v3 - v14 29 # v31 - counter 1 32 # vs0 - vs14 for round keys 35 # This implementation uses stitched AES-GCM approach to improve overall performance. 48 # v15 - v18 - input states 49 # vs1 - vs9 - round keys 110 # v15 - v22 - input states [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ingress_rif_conf_1d.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # +-------------------+ +--------------------+ 11 # | $h1.10 + | | + $h2.10 | 15 # +----------------|--+ +--|-----------------+ 17 # +----------------|-------------------------|-----------------+ 20 # | +--------------|-------------------------|---------------+ | 21 # | | $swp1.10 + + $swp2.10 | | 25 # | +--------------------------------------------------------+ | 27 # | $swp3.10 + | 31 # +---------------|--------------------------------------------+ [all …]
|
H A D | rtnetlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 75 log_test "RIF - setting IP address on VRF" 77 ip link del dev vrf-test 110 log_test "RIF - attach port with bad MAC to bridge with set MAC" 129 ip link add link br0 name br0.10 type vlan id 10 130 ip -6 address add 2001:db8:1::1/64 dev br0.10 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # Kselftest framework requirement - SKIP code is 4. 22 if [[ -z $(ip netns identify $$) ]]; then 30 if ! unshare --net $bpftool prog attach pinned \ 39 if unshare --net $bpftool prog attach pinned \ 51 rm -rf /sys/fs/bpf/flow 77 ./flow_dissector_load -d 2> /dev/null 78 if [ $unmount -ne 0 ]; then 84 # program/thing exits with a non-zero status. 85 set -e [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/files/v3.16/ |
H A D | index.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 11 … href="/files/">Parent Directory</a></td><td> </td><td align="right"> - </td><td> </td>… 12 … ]"></td><td><a href="cmake-3.16.0-Darwin-x86_64.dmg">cmake-3.16.0-Darwin-x86_64.dmg</a></td><td … 13 …"></td><td><a href="cmake-3.16.0-Darwin-x86_64.tar.gz">cmake-3.16.0-Darwin-x86_64.tar.gz</a></td><… 14 …[TXT]"></td><td><a href="cmake-3.16.0-Linux-x86_64.sh">cmake-3.16.0-Linux-x86_64.sh</a></td><td al… 15 …]"></td><td><a href="cmake-3.16.0-Linux-x86_64.tar.gz">cmake-3.16.0-Linux-x86_64.tar.gz</a></td><t… 16 …lt="[TXT]"></td><td><a href="cmake-3.16.0-SHA-256.txt">cmake-3.16.0-SHA-256.txt</a></td><td align=… 17 …[TXT]"></td><td><a href="cmake-3.16.0-SHA-256.txt.asc">cmake-3.16.0-SHA-256.txt.asc</a></td><td al… 18 …"></td><td><a href="cmake-3.16.0-rc1-Darwin-x86_64.dmg">cmake-3.16.0-rc1-Darwin-x86_64.dmg</a></td… 19 …/td><td><a href="cmake-3.16.0-rc1-Darwin-x86_64.tar.gz">cmake-3.16.0-rc1-Darwin-x86_64.tar.gz</a><… [all …]
|
/openbmc/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 …]
|