Home
last modified time | relevance | path

Searched full:p1 (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/openbmc/linux/include/asm-generic/
H A Dxor.h11 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()
23 p1[6] ^= p2[6]; in xor_8regs_2()
24 p1[7] ^= p2[7]; in xor_8regs_2()
25 p1 += 8; in xor_8regs_2()
[all …]
/openbmc/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci15 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)
55 p1 << r1.p1;
59 coccilib.report.print_report(p1[0], msg % (p2[0].line))
63 position p1, p2;
[all …]
H A Dkstrdup.cocci51 position p1,p2;
54 * to = kmalloc@p1(strlen(from) + 1,flag);
64 position p1,p2;
69 * to = \(kmalloc@p1\|kzalloc@p1\)(x,flag);
76 p1 << r1.p1;
80 cocci.print_main("WARNING opportunity for kstrdup",p1)
84 p1 << r2.p1;
88 cocci.print_main("WARNING opportunity for kstrdup",p1)
92 p1 << r1.p1;
97 coccilib.report.print_report(p1[0], msg)
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh215 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1"
220 " S+ C0-1 . . C2-3 P1 . . . 0 "
221 " S+ C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 "
222 " S+ C0-1 . . C2-3 P1:S+ C1:P1 . . 0 "
223 " S+ C0-1:S+ . . C2-3 . . . P1 0 "
224 " S+ C0-1:P1 . . C2-3 S+ C1 . . 0 "
225 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . . 0 "
226 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 "
227 " S+ C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5"
228 " S+ C0-1:P1 . . C2-3 S+:C4-5 . . . 0 A1:4-5"
[all …]
/openbmc/linux/scripts/coccinelle/misc/
H A Darray_size_dup.cocci30 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
68 p1 << as_prev.p1;
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
[all …]
/openbmc/linux/include/uapi/linux/
H A Dultrasound.h26 * bytes 4 and 5 - parameter P1 (unsigned short)
31 * Unused parameters (P1 and/or P2 *MUST* be initialized to zero).
32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16)
34 * _GUS_VOICEON - Starts voice (P1=voice mode)
37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode)
38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7)
39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz)
40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off)
45 * _GUS_RAMPRANGE - Sets limits for volume ramping (P1=low volume, P2=high volume)
[all …]
/openbmc/linux/drivers/media/i2c/
H A Daptina-pll.c23 unsigned int p1; in aptina_pll_calculate() local
40 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate()
45 /* We now have the smallest M and N*P1 values that will result in the in aptina_pll_calculate()
53 * - minimum/maximum combined N*P1 divisor in aptina_pll_calculate()
66 dev_err(dev, "pll: no valid combined N*P1 divisor.\n"); in aptina_pll_calculate()
71 * We're looking for the highest acceptable P1 value for which a in aptina_pll_calculate()
74 * 1. p1 is in the [p1_min, p1_max] range given by the limits and is in aptina_pll_calculate()
77 * 3. div * mf is a multiple of p1, in order to compute in aptina_pll_calculate()
78 * n = div * mf / p1 in aptina_pll_calculate()
85 * The first naive approach is to iterate over all p1 values acceptable in aptina_pll_calculate()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c52 void *p1; in check_aligned_anonymous_unfixed_mmaps() local
63 p1 = mmap(NULL, len, PROT_READ, in check_aligned_anonymous_unfixed_mmaps()
78 fail_unless(p1 != MAP_FAILED); in check_aligned_anonymous_unfixed_mmaps()
83 p = (uintptr_t) p1; in check_aligned_anonymous_unfixed_mmaps()
96 memcpy(dummybuf, p1, pagesize); in check_aligned_anonymous_unfixed_mmaps()
101 munmap(p1, len); in check_aligned_anonymous_unfixed_mmaps()
112 void *p1; in check_large_anonymous_unfixed_mmap() local
119 p1 = mmap(NULL, len, PROT_READ, in check_large_anonymous_unfixed_mmap()
124 fail_unless (p1 != MAP_FAILED); in check_large_anonymous_unfixed_mmap()
125 p = (uintptr_t) p1; in check_large_anonymous_unfixed_mmap()
[all …]
/openbmc/linux/scripts/coccinelle/locks/
H A Ddouble_lock.cocci18 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
38 write_trylock@p1
42 position p1 != locked.p1;
[all …]
H A Dmini_lock.cocci22 position p1,p;
27 mutex_lock@p1
29 mutex_trylock@p1
31 spin_lock@p1
33 spin_trylock@p1
35 read_lock@p1
37 read_trylock@p1
39 write_lock@p1
41 write_trylock@p1
43 read_lock_irq@p1
[all …]
H A Dcall_kern.cocci41 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
59 spin_lock_irqsave@p1
61 local_irq_disable@p1
[all …]
H A Dflags.cocci18 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;
50 *spin_lock_irqsave@p1(lock1,flags)
52 *read_lock_irqsave@p1(lock1,flags)
54 *write_lock_irqsave@p1(lock1,flags)
68 p1 << r.p1;
72 cocci.print_main("original lock",p1)
[all …]
/openbmc/linux/scripts/coccinelle/null/
H A Deno.cocci28 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)
44 p1 << r.p1;
48 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
H A Dderef_null.cocci23 position p1;
26 (E != NULL && ...) ? <+...E->f@p1...+> : ...
45 position p1;
48 if@p1 ((E == NULL && ...) || ...) S1 else S2
59 position p!={pr1.p1,pr2.p2};
60 position ifm.p1;
63 if@p1 ((E == NULL && ...) || ...)
94 p1 << ifm.p1;
104 p1 << ifm.p1;
120 position p!={pr1.p1,pr2.p2};
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/sensors/phosphor-virtual-sensor/sbp1/
H A Dvirtual_sensor_config.json464 "ParamName": "P1",
496 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
518 "ParamName": "P1",
550 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
572 "ParamName": "P1",
604 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
626 "ParamName": "P1",
658 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
680 "ParamName": "P1",
712 "Expression": "(P3 > 0) ? ((O + P1
[all...]
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/sensors/phosphor-virtual-sensor/
H A Dvirtual_sensor_config.json22 "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",
139 "Expression": "P1"
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dxor.h47 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()
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()
91 xor_arm4regs_4(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_4() argument
103 GET_BLOCK_2(p1); in xor_arm4regs_4()
107 PUT_BLOCK_2(p1); in xor_arm4regs_4()
112 xor_arm4regs_5(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_5() argument
[all …]
/openbmc/u-boot/scripts/coccinelle/iterators/
H A Duse_after_iter.cocci37 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;
81 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
H A Dlist_entry_update.cocci21 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
40 position r.p1,r.p2;
46 list_for_each_entry@p1(x,...) S
49 p1 << r.p1;
53 cocci.print_main("iterator",p1)
57 p1 << r.p1;
62 coccilib.report.print_report(p1[0],msg)
/openbmc/linux/arch/x86/include/asm/
H A Dxor.h39 #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()
104 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
112 xor_sse_2_pf64(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2_pf64() argument
134 " add %[inc], %[p1] ;\n" in xor_sse_2_pf64()
139 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64()
147 xor_sse_3(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_3() argument
[all …]
H A Dxor_avx.h30 const unsigned long * __restrict p1) in xor_avx_2() argument
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
70 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3()
80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3()
88 const unsigned long * __restrict p1, in xor_avx_4() argument
104 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_4()
114 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4()
123 const unsigned long * __restrict p1, in xor_avx_5() argument
[all …]
/openbmc/linux/scripts/coccinelle/iterators/
H A Duse_after_iter.cocci38 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;
78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
H A Dlist_entry_update.cocci22 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
41 position r.p1,r.p2;
47 list_for_each_entry@p1(x,...) S
50 p1 << r.p1;
54 cocci.print_main("iterator",p1)
58 p1 << r.p1;
63 coccilib.report.print_report(p1[0],msg)
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Di2c_.fuc102 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
177 bra not $p1 #i2c_start_rep
183 bra not $p1 #i2c_start_out
210 bra not $p1 #i2c_bitw_out
225 bra not $p1 #i2c_bitr_done
[all …]
/openbmc/u-boot/arch/nds32/cpu/n1213/
H A Dstart.S43 #define EIT_PREV_P1 $ir13 ! prev $p1
334 andi $p1, $t0, ICAC_MEM_KBF_ISET ! get the ISET field
335 addi $t2, $p1, 6 ! $t2= bit width of ISET
336 andi $p1, $t0, ICAC_MEM_KBF_IWAY ! get bitfield of Iway
337 srli $p1, $p1, 3
338 addi $p1, $p1, 1 ! then $p1 is I way number
340 sll $p1, $p1, $t3 ! GET the total cache size
342 sub $p1, $p1, $t5
343 cctl $p1, L1I_IX_INVAL
344 bnez $p1, ICAC_LOOP
[all …]

12345678910>>...42