Home
last modified time | relevance | path

Searched +full:1 +full:- +full:1024 (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/linux-6.14.4/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh1 # 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-6.14.4/arch/mips/include/asm/octeon/
Dcvmx-pcsx-defs.h7 * 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-6.14.4/drivers/gpu/drm/vmwgfx/device_include/
Dsvga_reg.h1 /* 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-6.14.4/tools/testing/selftests/mm/
Dhugetlb_reparenting_test.sh2 # 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 …]
/linux-6.14.4/Documentation/fb/
Dviafb.modes10 # 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 …]
Dviafb.rst6 --------
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-6.14.4/drivers/media/platform/chips-media/wave5/
Dwave5-vpuconfig.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
3 * Wave5 series multi-standard codec IP - product config definitions
5 * Copyright (C) 2021-2023 CHIPS&MEDIA INC
28 #define WAVE517_WORKBUF_SIZE (2 * 1024 * 1024)
29 #define WAVE521ENC_WORKBUF_SIZE (128 * 1024) //HEVC 128K, AVC 40K
30 #define WAVE521DEC_WORKBUF_SIZE (1784 * 1024)
31 #define WAVE515DEC_WORKBUF_SIZE (2 * 1024 * 1024)
43 #define W5_DEC_CODEC_STEP_WIDTH 1U
44 #define W5_DEC_CODEC_STEP_HEIGHT 1U
65 #define USE_SRC_PRI_AXI 1
[all …]
/linux-6.14.4/drivers/gpu/drm/tests/
Ddrm_damage_helper_test.c1 // 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-6.14.4/tools/testing/selftests/tc-testing/tc-tests/actions/
Dsample.json16 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-6.14.4/drivers/video/fbdev/riva/
Dnv_driver.c3 * Copyright 1996-1997 David J. McKay
25 * GPL licensing note -- nVidia is allowing a liberal interpretation of
28 * from this source. -- Jeff Garzik <[email protected]>, 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-6.14.4/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_io.h1 /* 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-6.14.4/arch/alpha/kernel/
Dpci_impl.h1 /* 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-6.14.4/drivers/video/fbdev/sis/
Dsis_main.h1 /* 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-6.14.4/tools/testing/selftests/arm64/gcs/
Dlibc-gcs.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include "gcs-util.h"
49 gcs_recurse(depth - 1); in gcs_recurse()
85 /* Use a non-NULL value to indicate a pass */ in gcs_test_thread()
119 ksft_print_msg("GCS in use from %p-%p\n", gcs, cur); in TEST()
133 * lift at least some of this out into a separate, non-harness, test
146 if (child == -1) { in TEST()
149 ASSERT_NE(child, -1); in TEST()
158 if (ptrace(PTRACE_TRACEME, -1, NULL, NULL)) in TEST()
172 while (1) { in TEST()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dpm660.dtsi1 // 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-6.14.4/Documentation/scheduler/
Dsched-util-clamp.rst1 .. 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-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_ft_pool.c1 // 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-6.14.4/drivers/video/fbdev/geode/
Dlxfb_core.c1 // 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-6.14.4/kernel/sched/
Dpelt.c1 // SPDX-License-Identifier: GPL-2.0
29 * val * y^n, where y^32 ~= 0.5 (~1 scheduling period)
38 /* after bounds checking we can collapse to 32-bit */ in decay_load()
42 * As y^PERIOD = 1/2, we can combine in decay_load()
43 * y^n = 1/2^(n/PERIOD) * y^(n%PERIOD) in decay_load()
44 * With a look-up table which covers y^n (n<PERIOD) in decay_load()
59 u32 c1, c2, c3 = d3; /* y^0 == 1 */ in __accumulate_pelt_segments()
67 * p-1 in __accumulate_pelt_segments()
68 * c2 = 1024 \Sum y^n in __accumulate_pelt_segments()
69 * n=1 in __accumulate_pelt_segments()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c2 * SPDX-License-Identifier: MIT
4 * Copyright © 2008-2012 Intel Corporation
46 if (!drm_mm_initialized(&i915->mm.stolen)) in i915_gem_stolen_insert_node_in_range()
47 return -ENODEV; in i915_gem_stolen_insert_node_in_range()
53 mutex_lock(&i915->mm.stolen_lock); in i915_gem_stolen_insert_node_in_range()
54 ret = drm_mm_insert_node_in_range(&i915->mm.stolen, node, in i915_gem_stolen_insert_node_in_range()
57 mutex_unlock(&i915->mm.stolen_lock); in i915_gem_stolen_insert_node_in_range()
75 mutex_lock(&i915->mm.stolen_lock); in i915_gem_stolen_remove_node()
77 mutex_unlock(&i915->mm.stolen_lock); in i915_gem_stolen_remove_node()
82 return (dsm->start != 0 || HAS_LMEMBAR_SMEM_STOLEN(i915)) && dsm->end > dsm->start; in valid_stolen_size()
[all …]
/linux-6.14.4/arch/powerpc/include/asm/
Dkexec.h1 /* 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
124 * via panic or invoking dump using sysrq-trigger.
/linux-6.14.4/tools/mm/
Dthp_swap_allocator_test.c1 // 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-[email protected]>
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-6.14.4/drivers/soc/qcom/
Dllcc-qcom.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
16 #include <linux/nvmem-consumer.h>
21 #include <linux/soc/qcom/llcc-qcom.h>
24 #define DEACTIVATE BIT(1)
28 #define ACT_CTRL_OPCODE_DEACTIVATE BIT(1)
30 #define ACT_CTRL_OPCODE_SHIFT 1
71 * struct llcc_slice_config - Data associated with the llcc slice
86 * configured to 1 only bonus and reserved ways are probed.
97 * @stale_cap_en: Bit enables stale only if current scid is over-cap.
[all …]
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dled.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
17 #include "iwl-io.h"
18 #include "iwl-trans.h"
19 #include "iwl-modparams.h"
32 * >1 to 5 130 130
33 * >0 to 1 167 167
38 { .throughput = 1 * 1024 - 1, .blink_time = 260 },
39 { .throughput = 5 * 1024 - 1, .blink_time = 220 },
40 { .throughput = 10 * 1024 - 1, .blink_time = 190 },
[all …]
/linux-6.14.4/tools/testing/selftests/proc/
Dfd-003-kthread.c38 * 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 …]

12345678910>>...42