| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | fib_offload_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 7 local ns=$1; shift 8 local family=$1; shift 9 local route=$1; shift 10 local should_fail=$1; shift 13 ip -n $ns -j -p -$family route show $route \ 14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null 17 if [[ $ret -ne 0 ]]; then 20 return 1 29 local ns=$1; shift [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pcsx-defs.h | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 35 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 38 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 42 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 44 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 46 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 53 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() 56 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/device_include/ |
| H A D | svga_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 3 * Copyright 1998-2021 VMware, Inc. 28 * svga_reg.h -- 42 SVGA_REG_ENABLE_ENABLE = (1 << 0), 43 SVGA_REG_ENABLE_HIDE = (1 << 1), 67 #define SVGA_MAX_PSEUDOCOLORS (1 << SVGA_MAX_PSEUDOCOLOR_DEPTH) 79 #define SVGA_VERSION_1 1 92 #define SVGA_IRQFLAG_ANY_FENCE (1 << 0) 93 #define SVGA_IRQFLAG_FIFO_PROGRESS (1 << 1) 94 #define SVGA_IRQFLAG_FENCE_GOAL (1 << 2) [all …]
|
| /linux/Documentation/fb/ |
| H A D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 28 mode "640x480-60" 31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60" 33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 43 # 2 chars 1 lines 52 mode "640x480-75" 54 geometry 640 480 640 480 32 timings 31747 120 16 16 1 64 3 endmode 56 # 640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock) 64 # 7 chars 1 lines [all …]
|
| H A D | viafb.rst | 6 -------- 15 --------------- 23 848x480(60 Hz), 856x480(60 Hz), 1024x512(60 Hz), 24 1024x768(60, 75, 85, 100 Hz), 1152x864(75 Hz), 34 ---------------------- 43 viafb_mode1=1024x768 viafb_bpp=16 viafb_refresh1=60 44 viafb_SAMM_ON=1 47 - 640x480 (default) 48 - 720x480 49 - 800x600 [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 1 // SPDX-License-Identifier: GPL-2.0 33 mock->fb.width = 2048; in drm_damage_helper_init() 34 mock->fb.height = 2048; in drm_damage_helper_init() 36 mock->state.crtc = ZERO_SIZE_PTR; in drm_damage_helper_init() 37 mock->state.fb = &mock->fb; in drm_damage_helper_init() 38 mock->state.visible = true; in drm_damage_helper_init() 40 mock->old_state.plane = &mock->plane; in drm_damage_helper_init() 41 mock->state.plane = &mock->plane; in drm_damage_helper_init() 44 mock->device.driver = &mock->driver; in drm_damage_helper_init() 45 mock->device.mode_config.prop_fb_damage_clips = &mock->prop; in drm_damage_helper_init() [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | sample.json | 16 1, 20 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 23 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 24 "matchCount": "1", 43 1, 50 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref", 51 "matchCount": "1", 70 1, 77 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref", 78 "matchCount": "1", [all …]
|
| /linux/drivers/video/fbdev/riva/ |
| H A D | nv_driver.c | 3 * Copyright 1996-1997 David J. McKay 25 * GPL licensing note -- nVidia is allowing a liberal interpretation of 28 * from this source. -- Jeff Garzik <jgarzik@pobox.com>, 01/Nov/99 48 return (VGA_RD08(par->riva.PVIO, 0x3cc)); in MISCin() 54 volatile U032 __iomem *PRAMDAC = par->riva.PRAMDAC0; in riva_is_connected() 66 mdelay(1); in riva_is_connected() 67 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in riva_is_connected() 69 NV_WR32(par->riva.PRAMDAC0, 0x0610, 0x94050140); in riva_is_connected() 70 NV_WR32(par->riva.PRAMDAC0, 0x0608, 0x00001000); in riva_is_connected() 72 mdelay(1); in riva_is_connected() [all …]
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_dsack_mult.pkt | 1 // SPDX-License-Identifier: GPL-2.0 4 --mss=1000 10 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 12 +0 listen(3, 1) = 0 15 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8> 16 +.1 < . 1:1(0) ack 1 win 1024 20 +0 < P. 1001:2001(1000) ack 1 win 1024 21 +0 > . 1:1(0) ack 1 <nop, nop, sack 1001:2001> 24 +0 < P. 2001:3001(1000) ack 1 win 1024 25 +0 > . 1:1(0) ack 1 <nop,nop,sack 1001:3001> [all …]
|
| /linux/arch/mips/include/asm/mach-bcm63xx/ |
| H A D | bcm63xx_io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <asm/mach-bcm63xx/bcm63xx_cpu.h> 13 #define BCM_PCMCIA_COMMON_SIZE (16 * 1024 * 1024) 15 BCM_PCMCIA_COMMON_SIZE - 1) 18 #define BCM_PCMCIA_ATTR_SIZE (16 * 1024 * 1024) 20 BCM_PCMCIA_ATTR_SIZE - 1) 23 #define BCM_PCMCIA_IO_SIZE (64 * 1024) 25 BCM_PCMCIA_IO_SIZE - 1) 28 #define BCM_PCI_MEM_SIZE (128 * 1024 * 1024) 30 BCM_PCI_MEM_SIZE - 1) [all …]
|
| /linux/drivers/video/fbdev/sis/ |
| H A D | sis_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria. 33 .height = -1, 34 .width = -1, 49 /* Boot-time parameters */ 52 static int sisfb_accel = -1; 53 static int sisfb_ypan = -1; 54 static int sisfb_max = -1; 55 static int sisfb_userom = 1; 56 static int sisfb_useoem = -1; [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | pci_impl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * may also have PCI-PCI bridges present, and then we'd configure the 38 * that get passed through the PCI<->ISA bridge chip. Although this causes 39 * us to set the PCI->Mem window bases lower than normal, we still allocate 47 #define XL_DEFAULT_MEM_BASE ((16+2)*1024*1024) /* 16M to 64M-1 is avail */ 53 #define APECS_AND_LCA_DEFAULT_MEM_BASE ((16+2)*1024*1024) 61 #define MCPCIA_DEFAULT_MEM_BASE ((32+2)*1024*1024) 62 #define T2_DEFAULT_MEM_BASE ((16+1)*1024*1024) 68 #define DEFAULT_MEM_BASE ((128+16)*1024*1024) 71 #define CIA_DEFAULT_MEM_BASE ((32+2)*1024*1024) [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm660-thermal { 15 polling-delay-passive = <250>; 17 thermal-sensors = <&pm660_temp>; [all …]
|
| /linux/Documentation/scheduler/ |
| H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 1. Introduction 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 73 CPUs with capacity < 1024 76 CPUs with capacity = 1024 90 UCLAMP_MIN=1024 will ensure such tasks will always see the highest performance 106 Note that by design RT tasks don't have per-task PELT signal and must always 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and [all …]
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | test_unix_oob.c | |
| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 * we try to make it something sane - 640x480-60 is sane 38 /* 640x480-60 */ 42 /* 640x400-70 */ 46 /* 640x480-70 */ 49 /* 640x480-72 */ 50 { NULL, 72, 640, 480, 32102, 120, 16, 20, 1, 40, 3, 53 /* 640x480-75 */ 54 { NULL, 75, 640, 480, 31746, 120, 16, 16, 1, 64, 3, 57 /* 640x480-85 */ [all …]
|
| /linux/kernel/sched/ |
| H A D | pelt.c | 1 // SPDX-License-Identifier: GPL-2.0 30 * val * y^n, where y^32 ~= 0.5 (~1 scheduling period) 39 /* after bounds checking we can collapse to 32-bit */ in decay_load() 43 * As y^PERIOD = 1/2, we can combine in decay_load() 44 * y^n = 1/2^(n/PERIOD) * y^(n%PERIOD) in decay_load() 45 * With a look-up table which covers y^n (n<PERIOD) in decay_load() 60 u32 c1, c2, c3 = d3; /* y^0 == 1 */ in __accumulate_pelt_segments() 68 * p-1 in __accumulate_pelt_segments() 69 * c2 = 1024 \Sum y^n in __accumulate_pelt_segments() 70 * n=1 in __accumulate_pelt_segments() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_ft_pool.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 14 #define FT_SIZE (16 * 1024 * 1024) 15 static const unsigned int FT_POOLS[] = { 4 * 1024 * 1024, 16 1 * 1024 * 1024, 17 64 * 1024, 19 1 /* size for termination tables */ }; 31 return -ENOMEM; in mlx5_ft_pool_init() 33 for (i = ARRAY_SIZE(FT_POOLS) - 1; i >= 0; i--) in mlx5_ft_pool_init() 34 ft_pool->ft_left[i] = FT_SIZE / FT_POOLS[i]; in mlx5_ft_pool_init() 36 dev->priv.ft_pool = ft_pool; in mlx5_ft_pool_init() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kexec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * On FSL-BookE we setup a 1:1 mapping which covers the first 2GiB of memory 12 #define KEXEC_SOURCE_MEMORY_LIMIT (2 * 1024 * 1024 * 1024UL - 1) 13 #define KEXEC_DESTINATION_MEMORY_LIMIT (2 * 1024 * 1024 * 1024UL - 1) 14 #define KEXEC_CONTROL_MEMORY_LIMIT (2 * 1024 * 1024 * 1024UL - 1) 22 #define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) 28 #define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) 32 #define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) 49 #define KEXEC_STATE_IRQS_OFF 1 126 * via panic or invoking dump using sysrq-trigger.
|
| /linux/tools/mm/ |
| H A D | thp_swap_allocator_test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * can be enabled by "-s". 15 * echo never > /sys/kernel/mm/transparent_hugepage/hugepages-2048kB/enabled 16 * echo always > /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled 20 * w/o "-s". 22 * Author(s): Barry Song <v-songbaohua@oppo.com> 35 #define MEMSIZE_MTHP (60 * 1024 * 1024) 36 #define MEMSIZE_SMALLFOLIO (4 * 1024 * 1024) 37 #define ALIGNMENT_MTHP (64 * 1024) 38 #define ALIGNMENT_SMALLFOLIO (4 * 1024) [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb_reparenting_test.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 7 set -e 9 if [[ $(id -u) -ne 0 ]]; then 17 if [[ "$1" == "-cgroup-v2" ]]; then 18 cgroup2=1 24 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}') 25 if [[ -z "$CGROUP_ROOT" ]]; then 26 CGROUP_ROOT=$(mktemp -d) 27 mount -t cgroup2 none $CGROUP_ROOT [all …]
|
| H A D | charge_reserved_hugetlb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 7 set -e 9 if [[ $(id -u) -ne 0 ]]; then 21 if [[ "$1" == "-cgroup-v2" ]]; then 22 cgroup2=1 30 cgroup_path=$(mount -t cgroup2 | head -1 | awk '{print $3}') 31 if [[ -z "$cgroup_path" ]]; then 32 cgroup_path=$(mktemp -d) 33 mount -t cgroup2 none $cgroup_path [all …]
|
| /linux/tools/testing/selftests/proc/ |
| H A D | fd-003-kthread.c | 38 * Return -1 if a process is userspace process. 49 if (dir_fd == -1) in kernel_thread_fd() 50 return -1; in kernel_thread_fd() 57 if (fd == -1) { in kernel_thread_fd() 59 return -1; in kernel_thread_fd() 68 assert(buf[rv - 1] == '\n'); in kernel_thread_fd() 69 buf[rv - 1] = '\0'; in kernel_thread_fd() 71 /* Search backwards: ->comm can contain whitespace and ')'. */ in kernel_thread_fd() 81 flags_ull = xstrtoull(p + 1, &end); in kernel_thread_fd() 88 fd = -1; in kernel_thread_fd() [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | fq_codel.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel", 17 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000", 38 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i… 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel memory_limit 100000", 59 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … [all …]
|
| /linux/tools/perf/tests/ |
| H A D | unit_number__scnprintf.c | 1 // SPDX-License-Identifier: GPL-2.0 16 { 1, "1B" }, in test__unit_number__scnprint() 17 { 10*1024, "10K" }, in test__unit_number__scnprint() 18 { 20*1024*1024, "20M" }, in test__unit_number__scnprint() 19 { 30*1024*1024*1024ULL, "30G" }, in test__unit_number__scnprint()
|