/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 139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null 156 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 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 [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/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 28 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64 29 ip link add l $h2 $h2.10 up type vlan id 10 34 ip link del $h2.10 35 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64 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 [all …]
|
H A D | fib_offload_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 13 ip -n $ns -j -p -$family route show $route \ 14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null 17 if [[ $ret -ne 0 ]]; then 63 ip -n $ns link add name dummy$i type dummy 64 ip -n $ns link set dev dummy$i up 67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024 71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024 75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024 85 ip -n $ns link del dev dummy$i [all …]
|
H A D | vxlan_bridge_1q_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 6 # | + $h1.10 | | + $h2.10 | 8 # | | 2001:db8:1::1/64 | | | 2001:db8:1::2/64 | 12 # | \ | 2001:db8:2::1/64 | | \ | 2001:db8:2::2/64 | 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 21 # | | vid 10 vid 10 | | 30 # | | vid 10 pvid untagged vid 20 pvid untagged | | [all …]
|
H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 6 # | + $h1.10 | | + $h2.10 | 8 # | | 2001:db8:1::1/64 | | | 2001:db8:1::2/64 | 12 # | \ | 2001:db8:2::1/64 | | \ | 2001:db8:2::2/64 | 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 21 # | | vid 10 vid 10 | | 24 # | +-----------------------------------------------------------------------+ | [all …]
|
H A D | router_bridge_vlan_upper_pvid.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +----------------------------+ 6 # | + $h1.10 | +----------------------+ 10 # | + $h1 | | | 2001:db8:2::2/64 | 11 # +---|------------------------+ +--|-------------------+ 13 # +---|--------------------------------------------------|-------------------+ 15 # | +-|--------------------------+ + $swp2 | 17 # | +-----+----------------------+ 2001:db8:2::1/64 | 19 # | + br1.10 | 21 # | 2001:db8:1::2/64 | [all …]
|
/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, … 28 # setup r^4, r^3, r^2, r vectors 29 # vs [r^1, r^3, r^2, r^4] 56 #include <asm/asm-offsets.h> [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/drivers/video/logo/ |
H A D | logo_sgi_clut224.ppm | 2 # 224-color SGI Linux logo 14 6 6 6 6 6 6 10 10 10 10 10 10 15 10 10 10 6 6 6 6 6 6 6 6 6 33 0 0 0 6 6 6 10 10 10 14 14 14 36 14 14 14 10 10 10 6 6 6 0 0 0 56 42 42 42 26 26 26 18 18 18 10 10 10 72 0 0 0 0 0 0 0 0 0 10 10 10 92 0 0 0 0 0 0 10 10 10 26 26 26 94 2 2 6 2 2 6 2 2 6 2 2 6 95 2 2 6 2 2 6 2 2 6 2 2 6 [all …]
|
H A D | logo_linux_clut224.ppm | 2 # Standard 224-color Linux logo 14 6 6 6 6 6 6 10 10 10 10 10 10 15 10 10 10 6 6 6 6 6 6 6 6 6 33 0 0 0 6 6 6 10 10 10 14 14 14 36 14 14 14 10 10 10 6 6 6 0 0 0 56 42 42 42 26 26 26 18 18 18 10 10 10 72 0 0 0 0 0 0 0 0 0 10 10 10 92 0 0 0 0 0 0 10 10 10 26 26 26 94 2 2 6 2 2 6 2 2 6 2 2 6 95 2 2 6 2 2 6 2 2 6 2 2 6 [all …]
|
H A D | logo_sun_clut224.ppm | 2 # 224-color Sun Linux logo 14 6 6 6 6 6 6 10 10 10 10 10 10 15 10 10 10 6 6 6 6 6 6 6 6 6 33 0 0 0 6 6 6 10 10 10 14 14 14 36 14 14 14 10 10 10 6 6 6 0 0 0 56 42 42 42 26 26 26 18 18 18 10 10 10 72 0 0 0 0 0 0 0 0 0 10 10 10 92 0 0 0 0 0 0 10 10 10 26 26 26 94 2 2 6 2 2 6 2 2 6 2 2 6 95 2 2 6 2 2 6 2 2 6 2 2 6 [all …]
|
H A D | logo_dec_clut224.ppm | 2 # 224-color Digital Equipment Corporation Linux logo 14 6 6 6 6 6 6 10 10 10 10 10 10 15 10 10 10 6 6 6 6 6 6 6 6 6 33 0 0 0 6 6 6 10 10 10 14 14 14 36 14 14 14 10 10 10 6 6 6 0 0 0 56 42 42 42 26 26 26 18 18 18 10 10 10 72 0 0 0 0 0 0 0 0 0 10 10 10 92 0 0 0 0 0 0 10 10 10 26 26 26 94 2 2 6 2 2 6 2 2 6 2 2 6 95 2 2 6 2 2 6 2 2 6 2 2 6 [all …]
|
H A D | logo_superh_clut224.ppm | 2 # 224-color SuperH Linux logo 5 2 2 2 2 2 2 2 2 2 2 2 2 6 2 2 2 2 2 2 2 2 2 2 2 2 7 2 2 2 2 2 2 2 2 2 2 2 2 8 2 2 2 2 2 2 2 2 2 2 2 2 9 2 2 2 2 2 2 2 2 2 2 2 2 10 2 2 2 2 2 2 2 2 2 2 2 2 11 2 2 2 2 2 2 2 2 2 2 2 2 12 2 2 2 2 2 2 2 2 2 2 2 2 13 2 2 2 2 2 2 2 2 2 2 2 2 [all …]
|
H A D | logo_mac_clut224.ppm | 2 # 224-color Macintosh Linux logo 14 6 6 6 6 6 6 10 10 10 10 10 10 15 10 10 10 6 6 6 6 6 6 6 6 6 33 0 0 0 6 6 6 10 10 10 14 14 14 36 14 14 14 10 10 10 6 6 6 0 0 0 56 42 42 42 26 26 26 18 18 18 10 10 10 72 0 0 0 0 0 0 0 0 0 10 10 10 92 0 0 0 0 0 0 10 10 10 26 26 26 94 2 2 6 2 2 6 2 2 6 2 2 6 95 2 2 6 2 2 6 2 2 6 2 2 6 [all …]
|
/linux/Documentation/gpu/ |
H A D | afbc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 It provides fine-grained random access and minimizes the amount of 21 AFBC streams can contain several components - where a component 33 * Component 2: B 37 reside in the least-significant bits of the corresponding linear 44 * Component 2: B(8) 51 * Component 2: B(8) 56 * Component 1: Cb(8, 2x1 subsampled) 57 * Component 2: Cr(8, 2x1 subsampled) 67 * Component 2: B(8) [all …]
|
/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 32 * 8B, 4B, 2B, and 1B copies conditional on the length. 36 * copying 1B and 2B and then retest. 37 * This code tries to use fall-through braches for the common 73 bbsi.l a2, 0, .Ldst1mod2 # if dst is 1 mod 2 74 bbsi.l a2, 1, .Ldst2mod4 # if dst is 2 mod 4 93 EX(10f) l8ui a6, a3, 0 95 EX(10f) s8i a6, a5, 0 97 addi a4, a4, -1 [all …]
|
H A D | checksum.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 * This function assumes 2- or 4-byte alignment. Other alignments will fail! 32 /* ONES_ADD converts twos-complement math to ones-complement. */ 44 * is aligned on either a 2-byte or 4-byte boundary. 47 extui a5, a2, 0, 2 48 bnez a5, 8f /* branch if 2-byte aligned */ 49 /* Fall-through on common case, 4-byte alignment */ 51 srli a5, a3, 5 /* 32-byte chunks */ 53 loopgtz a5, 2f 55 beqz a5, 2f [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_vp9.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 u8 sign[2]; 11 u8 class0_bit[2][1]; 12 u8 fr[2][3]; 13 u8 class0_hp[2]; 14 u8 hp[2]; 15 u8 classes[2][10]; 16 u8 class0_fr[2][2][3]; 17 u8 bits[2][10]; 23 u8 uv_mode[10][8]; [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | rate.c | 29 /* 0 1 2 3 4 5 6 7 8 9 */ 31 /* 10 */ 0x00, 0x37, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8f, 0x00, 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, [all …]
|
/linux/include/linux/ |
H A D | serial_s3c.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Internal header file for Samsung S3C2410 serial ports (UART0-2) 11 * Internal header file for MX1ADS serial ports (UART1 & 2) 44 #define S3C2410_LCON_STOPB (1<<2) 47 #define S3C2440_UCON_CLKMASK (3<<10) 48 #define S3C2440_UCON_CLKSHIFT (10) 49 #define S3C2440_UCON_PCLK (0<<10) 50 #define S3C2440_UCON_UCLK (1<<10) 51 #define S3C2440_UCON_PCLK2 (2<<10) 52 #define S3C2440_UCON_FCLK (3<<10) [all …]
|
/linux/include/dt-bindings/memory/ |
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 …]
|
/linux/include/uapi/linux/ |
H A D | cec-funcs.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 3 * cec - HDMI Consumer Electronics Control message functions 16 msg->len = 4; in cec_msg_active_source() 17 msg->msg[0] |= 0xf; /* broadcast */ in cec_msg_active_source() 18 msg->msg[1] = CEC_MSG_ACTIVE_SOURCE; in cec_msg_active_source() 19 msg->msg[2] = phys_addr >> 8; in cec_msg_active_source() 20 msg->msg[3] = phys_addr & 0xff; in cec_msg_active_source() 26 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_active_source() 31 msg->len = 2; in cec_msg_image_view_on() 32 msg->msg[1] = CEC_MSG_IMAGE_VIEW_ON; in cec_msg_image_view_on() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | u32.json | 38 "expExitCode": "2", 60 …V1 ingress protocol ip prio 1 u32 match ip src 127.0.0.2/32 indev notexist20 flowid 1:2 action ok", 61 "expExitCode": "2", 105 "expExitCode": "2", 128 "expExitCode": "2", 173 "expExitCode": "2", 197 "expExitCode": "2", 219 …"cmdUnderTest": "bash -c \"for mask in ff ffff ffffff ffffffff ff00ff ff0000ff ffff00ff; do $TC fi… 222 …"matchPattern": "filter protocol all pref 99 u32( (chain|fh|order) [0-9:]+){3} key ht 1 bkt 40 flo… 242 …"cmdUnderTest": "bash -c \"for mask in 70 f0 ff0 fff0 ff00f0; do $TC filter add dev $DEV1 ingress … [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-msm6242.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 MSM6242_SECOND1 = 0x0, /* 1-second digit register */ 24 MSM6242_SECOND10 = 0x1, /* 10-second digit register */ 25 MSM6242_MINUTE1 = 0x2, /* 1-minute digit register */ 26 MSM6242_MINUTE10 = 0x3, /* 10-minute digit register */ 27 MSM6242_HOUR1 = 0x4, /* 1-hour digit register */ 28 MSM6242_HOUR10 = 0x5, /* PM/AM, 10-hour digit register */ 29 MSM6242_DAY1 = 0x6, /* 1-day digit register */ 30 MSM6242_DAY10 = 0x7, /* 10-day digit register */ 31 MSM6242_MONTH1 = 0x8, /* 1-month digit register */ [all …]
|