Home
last modified time | relevance | path

Searched +full:- +full:p1 (Results 1 – 25 of 1007) sorted by relevance

12345678910>>...41

/openbmc/linux/include/asm-generic/
H A Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/asm-generic/xor.h
5 * Generic optimized RAID-5 checksumming functions.
11 xor_8regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_8regs_2() argument
17 p1[0] ^= p2[0]; in xor_8regs_2()
18 p1[1] ^= p2[1]; in xor_8regs_2()
19 p1[2] ^= p2[2]; in xor_8regs_2()
20 p1[3] ^= p2[3]; in xor_8regs_2()
21 p1[4] ^= p2[4]; in xor_8regs_2()
22 p1[5] ^= p2[5]; in xor_8regs_2()
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh2 # SPDX-License-Identifier: GPL-2.0
16 [[ $(id -u) -eq 0 ]] || skip_test "Test must be run as root!"
23 CGROUP2=$(mount -t cgroup2 | head -1 | awk -e '{print $3}')
24 [[ -n "$CGROUP2" ]] || skip_test "Cgroup v2 mount point not found!"
26 CPUS=$(lscpu | grep "^CPU(s):" | sed -e "s/.*:[[:space:]]*//")
27 [[ $CPUS -lt 8 ]] && skip_test "Test needs at least 8 cpus available!"
34 while [[ "$1" = -* ]]
37 -v) VERBOSE=1
39 [[ $DELAY_FACTOR -eq 1 ]] &&
43 -d) DELAY_FACTOR=$2
[all …]
/openbmc/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (c) 2016-2017, Elena Reshetova, Intel Corporation
9 // Options: --include-headers --very-quiet
15 position p1, p2;
26 atomic_dec_and_test@p1(&(a)->x)
28 atomic_dec_and_lock@p1(&(a)->x, ...)
30 atomic_long_dec_and_lock@p1(&(a)->x, ...)
32 atomic_long_dec_and_test@p1(&(a)->x)
34 atomic64_dec_and_test@p1(&(a)->x)
36 local_dec_and_test@p1(&(a)->x)
[all …]
H A Dkstrdup.cocci1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright: (C) 2010-2012 Nicolas Palix.
6 // Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
7 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
10 // Options: --no-includes --include-headers
23 - to = kmalloc(strlen(from) + 1,flag);
28 - strcpy(to, from);
36 - x = strlen(from) + 1;
38 - to = \(kmalloc\|kzalloc\)(x,flag);
43 - memcpy(to, from, x);
[all …]
/openbmc/linux/scripts/coccinelle/misc/
H A Darray_size_dup.cocci1 // SPDX-License-Identifier: GPL-2.0-only
13 // Options: --no-includes --include-headers --no-loops
30 position p1, p2;
33 * E1 * E2@p1
39 p1 << as_next.p1;
44 coccilib.report.print_report(p1[0], msg)
47 p1 << as_next.p1;
52 coccilib.org.print_todo(p1[0], msg)
59 position p1, p2;
62 * array_size(E1, E2)@p1
[all …]
/openbmc/linux/include/uapi/linux/
H A Dultrasound.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * ultrasound.h - Macros for programming the Gravis Ultrasound
10 * Copyright (C) by Hannu Savolainen 1993-1997
22 * byte 0 - SEQ_PRIVATE (0xfe)
23 * byte 1 - Synthesizer device number (0-N)
24 * byte 2 - Command (see below)
25 * byte 3 - Voice number (0-31)
26 * bytes 4 and 5 - parameter P1 (unsigned short)
27 * bytes 6 and 7 - parameter P2 (unsigned short)
31 * Unused parameters (P1 and/or P2 *MUST* be initialized to zero).
[all …]
/openbmc/linux/drivers/media/i2c/
H A Daptina-pll.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "aptina-pll.h"
23 unsigned int p1; in aptina_pll_calculate() local
27 pll->ext_clock, pll->pix_clock); in aptina_pll_calculate()
29 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate()
30 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate()
32 return -EINVAL; in aptina_pll_calculate()
35 if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) { in aptina_pll_calculate()
37 return -EINVAL; in aptina_pll_calculate()
40 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c4 * When running qemu-linux-user with the -p flag, you may need to tell
6 * the -p choice. Simply pass one argument being the pagesize.
52 void *p1; in check_aligned_anonymous_unfixed_mmaps() local
63 p1 = mmap(NULL, len, PROT_READ, in check_aligned_anonymous_unfixed_mmaps()
64 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_aligned_anonymous_unfixed_mmaps()
66 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_aligned_anonymous_unfixed_mmaps()
68 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_aligned_anonymous_unfixed_mmaps()
70 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_aligned_anonymous_unfixed_mmaps()
72 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_aligned_anonymous_unfixed_mmaps()
78 fail_unless(p1 != MAP_FAILED); in check_aligned_anonymous_unfixed_mmaps()
[all …]
/openbmc/linux/scripts/coccinelle/locks/
H A Ddouble_lock.cocci1 // SPDX-License-Identifier: GPL-2.0-only
12 // Options: --no-includes --include-headers
18 position p1;
24 mutex_lock@p1
26 mutex_trylock@p1
28 spin_lock@p1
30 spin_trylock@p1
32 read_lock@p1
34 read_trylock@p1
36 write_lock@p1
[all …]
H A Dmini_lock.cocci1 // SPDX-License-Identifier: GPL-2.0-only
10 // Copyright: (C) 2010-2012 Nicolas Palix.
11 // Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
12 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
15 // Options: --no-includes --include-headers
22 position p1,p;
27 mutex_lock@p1
29 mutex_trylock@p1
31 spin_lock@p1
33 spin_trylock@p1
[all …]
H A Dcall_kern.cocci1 // SPDX-License-Identifier: GPL-2.0-only
13 // Options: --no-includes --include-headers
41 position p1,p2;
45 read_lock_irq@p1
47 write_lock_irq@p1
49 read_lock_irqsave@p1
51 write_lock_irqsave@p1
53 spin_lock@p1
55 spin_trylock@p1
57 spin_lock_irq@p1
[all …]
H A Dflags.cocci1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright: (C) 2010-2012 Nicolas Palix.
6 // Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
7 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
10 // Options: --no-includes --include-headers
18 position p1,p2;
22 spin_lock_irqsave@p1(lock1,flags)
24 read_lock_irqsave@p1(lock1,flags)
26 write_lock_irqsave@p1(lock1,flags)
46 position r.p1, r.p2;
[all …]
/openbmc/linux/scripts/coccinelle/null/
H A Deno.cocci1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright: (C) 2010-2012 Nicolas Palix.
6 // Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
7 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
10 // Options: --no-includes --include-headers
23 - IS_ERR(x)
28 position p1,p2;
31 …= \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_allo…
36 p1 << r.p1;
40 cocci.print_main("alloc call",p1)
[all …]
H A Dderef_null.cocci1 // SPDX-License-Identifier: GPL-2.0-only
11 // Comments: -I ... -all_includes can give more complete results
23 position p1;
26 (E != NULL && ...) ? <+...E->f@p1...+> : ...
35 (E != NULL) && ... && <+...E->f@p2...+>
37 (E == NULL) || ... || <+...E->f@p2...+>
39 sizeof(<+...E->f@p2...+>)
45 position p1;
48 if@p1 ((E == NULL && ...) || ...) S1 else S2
59 position p!={pr1.p1,pr2.p2};
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 #include <asm-generic/xor.h>
47 xor_arm4regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_2() argument
61 GET_BLOCK_4(p1); in xor_arm4regs_2()
63 PUT_BLOCK_4(p1); in xor_arm4regs_2()
64 } while (--lines); in xor_arm4regs_2()
68 xor_arm4regs_3(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_3() argument
83 GET_BLOCK_4(p1); in xor_arm4regs_3()
86 PUT_BLOCK_4(p1); in xor_arm4regs_3()
87 } while (--lines); in xor_arm4regs_3()
[all …]
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/sensors/phosphor-virtual-sensor/
H A Dvirtual_sensor_config.json4 "Config": "D-Bus"
22 "ParamName": "P1",
37 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
54 "ParamName": "P1",
69 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
86 "ParamName": "P1",
101 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
114 "ParamName": "P1",
119 "Expression": "P1"
134 "ParamName": "P1",
[all …]
/openbmc/u-boot/scripts/coccinelle/iterators/
H A Duse_after_iter.cocci14 // Options: --no-includes --include-headers
37 position p1,p2;
41 list_for_each_entry@p1(c,...,member) { ... when != break;
46 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
51 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
56 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
61 list_for_each_entry_from@p1(c,...,member) { ... when != break;
66 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
71 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
76 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
[all …]
H A Dlist_entry_update.cocci12 // Options: --no-includes --include-headers
21 position p1,p2;
24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
28 position r.p1,r.p2;
34 list_for_each_entry@p1(x,...) S
36 // ------------------------------------------------------------------------
40 position r.p1,r.p2;
46 list_for_each_entry@p1(x,...) S
49 p1 << r.p1;
53 cocci.print_main("iterator",p1)
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Di2c_.fuc79 // $r3 - value
80 // $r2 - sda line
81 // $r1 - scl line
82 // $r0 - zero
102 bclr $flags $p1
106 bset $flags $p1
111 bclr $flags $p1
115 bset $flags $p1
166 bra $p1 #i2c_raise_scl_done
175 bra not $p1 #i2c_start_rep
[all …]
/openbmc/linux/scripts/coccinelle/iterators/
H A Duse_after_iter.cocci1 // SPDX-License-Identifier: GPL-2.0-only
15 // Options: --no-includes --include-headers
38 position p1,p2;
43 list_for_each_entry@p1(c,...,member) { ... when != break;
48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
53 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
58 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
63 list_for_each_entry_from@p1(c,...,member) { ... when != break;
68 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
73 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
[all …]
H A Dlist_entry_update.cocci1 // SPDX-License-Identifier: GPL-2.0-only
13 // Options: --no-includes --include-headers
22 position p1,p2;
25 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> }
29 position r.p1,r.p2;
35 list_for_each_entry@p1(x,...) S
37 // ------------------------------------------------------------------------
41 position r.p1,r.p2;
47 list_for_each_entry@p1(x,...) S
50 p1 << r.p1;
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dxor.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Optimized RAID-5 checksumming functions for SSE.
16 * High-speed RAID5 checksumming functions utilizing SSE instructions.
21 * x86-64 changes / gcc fixes from Andi Kleen.
25 * no advantages to be gotten from x86-64 here anyways.
39 #define PF0(x) " prefetchnta "PF_OFFS(x)"(%[p1]) ;\n"
40 #define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n"
41 #define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n"
60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2() argument
99 " add %[inc], %[p1] ;\n" in xor_sse_2()
[all …]
H A Dxor_avx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Optimized RAID-5 checksumming functions for AVX
30 const unsigned long * __restrict p1) in xor_avx_2() argument
36 while (lines--) { in xor_avx_2()
40 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p1[i / sizeof(*p1)])); \ in xor_avx_2()
50 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2()
57 const unsigned long * __restrict p1, in xor_avx_3() argument
64 while (lines--) { in xor_avx_3()
70 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3()
80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3()
[all …]
/openbmc/u-boot/arch/nds32/cpu/n1213/
H A Dstart.S1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Andesboot - Startup Code for Whitiger core
13 #include <asm-offsets.h>
43 #define EIT_PREV_P1 $ir13 ! prev $p1
44 #define CR_ICAC_MEM $cr1 ! I-cache/memory config reg
45 #define CR_DCAC_MEM $cr2 ! D-cache/memory config reg
73 * 1.1 reset - start of u-boot
74 * 1.2 to superuser mode - as is when reset
76 * - (this will jump out to lowlevel_init.S in SoC)
77 * - (lowlevel_init)
[all …]
/openbmc/linux/drivers/ata/pata_parport/
H A Don26.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net>
5 * on26.c is a low-level protocol driver for the
19 * mode codes: 0 nybble reads, 8-bit writes
20 * 1 8-bit reads and writes
21 * 2 8-bit EPP mode
22 * 3 EPP-16
23 * 4 EPP-32
28 #define P1 \ macro
39 * cont = 0 - access the IDE register file
[all …]

12345678910>>...41