Home
last modified time | relevance | path

Searched full:p2 (Results 1 – 25 of 772) sorted by relevance

12345678910>>...31

/openbmc/linux/include/asm-generic/
H A Dxor.h12 const unsigned long * __restrict p2) 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()
26 p2 += 8; in xor_8regs_2()
[all …]
/openbmc/linux/scripts/coccinelle/misc/
H A Darray_size_dup.cocci30 position p1, p2;
36 * array_size(E1, E2)@p2
40 p2 << as_next.p2;
43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
48 p2 << as_next.p2;
51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
59 position p1, p2;
65 * E1 * E2@p2
69 p2 << as_prev.p2;
73 coccilib.report.print_report(p2[0], msg)
[all …]
H A Difcol.cocci23 position p1,p2;
30 if (...) S1@p1 S2@p2
35 p2 << r.p2;
38 if (p1[0].column == p2[0].column):
40 cocci.print_secs("after",p2)
44 p2 << r.p2;
47 if (p1[0].column == p2[0].column):
48 msg = "code aligned with following code on line %s" % (p2[0].line)
H A Dcstptr.cocci19 position p1,p2;
26 *PTR_ERR@p2(e)
30 p2 << r.p2;
33 cocci.print_main("PTR_ERR",p2)
38 p2 << r.p2;
42 coccilib.report.print_report(p2[0],msg)
/openbmc/linux/scripts/coccinelle/api/
H A Dd_find_alias.cocci19 position p1, p2;
37 return @p2 ...;
39 dent@p2 = E1;
46 position r.p1,r.p2;
51 * return@p2 ...;
53 * dent@p2
59 p2 << r.p2;
62 cocci.print_secs("",p2)
66 position r.p2;
70 return @p2 ...;
[all …]
H A Datomic_as_refcounter.cocci15 position p1, p2;
40 fname@p2(a, ...);
42 fname2@p2(...);
44 fname3@p2(...);
46 fname4@p2(...);
48 fname5@p2(...);
50 fname6@p2(...);
56 p2 << r1.p2;
59 coccilib.report.print_report(p1[0], msg % (p2[0].line))
63 position p1, p2;
[all …]
H A Dkstrdup.cocci51 position p1,p2;
58 * strcpy@p2(to, from);
64 position p1,p2;
73 * memcpy@p2(to, from, x);
77 p2 << r1.p2;
81 cocci.print_secs("strcpy",p2)
85 p2 << r2.p2;
89 cocci.print_secs("memcpy",p2)
93 p2 << r1.p2;
96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line)
[all …]
H A Dcheck_bq27xxx_data.cocci69 position p2;
72 u8 i2regs@p2[...] = { i2regs_vals, };
80 p2 << getregs2.p2;
89 i1regs i2regs (List.hd p2).line in
105 position p2;
108 struct bq27xxx_dm_reg i2dmregs@p2[] = { i2dmregs_vals, };
116 p2 << getdmregs2.p2;
125 i1dmregs i2dmregs (List.hd p2).line in
141 position p2;
144 enum power_supply_property i2props@p2[] = { i2props_vals, };
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dof_helpers.c49 const __be32 *p2; in of_read_drc_info_cell() local
67 p2 = (const __be32 *)p; in of_read_drc_info_cell()
68 data->drc_index_start = be32_to_cpu(*p2); in of_read_drc_info_cell()
71 p2 = of_prop_next_u32(*prop, p2, &data->drc_name_suffix_start); in of_read_drc_info_cell()
72 if (!p2) in of_read_drc_info_cell()
76 p2 = of_prop_next_u32(*prop, p2, &data->num_sequential_elems); in of_read_drc_info_cell()
77 if (!p2) in of_read_drc_info_cell()
81 p2 = of_prop_next_u32(*prop, p2, &data->sequential_inc); in of_read_drc_info_cell()
82 if (!p2) in of_read_drc_info_cell()
86 p2 = of_prop_next_u32(*prop, p2, &data->drc_power_domain); in of_read_drc_info_cell()
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-pocketbeagle.dts71 "P2.29 [SPI1_CLK]",
78 "P2.11 [I2C1_SDA]",
79 "P2.09 [I2C1_SCL]",
83 "P2.31 [SPI1_CS]",
87 "P2.03",
91 "P2.19",
94 "P2.05 [UART4_RX]",
95 "P2.07 [UART4_TX]";
109 "P2.25 [SPI1_MOSI]",
112 "P2.24",
[all …]
/openbmc/linux/scripts/coccinelle/locks/
H A Dflags.cocci18 position p1,p2;
36 spin_lock_irqsave@p2(lock2,flags)
38 read_lock_irqsave@p2(lock2,flags)
40 write_lock_irqsave@p2(lock2,flags)
46 position r.p1, r.p2;
58 *spin_lock_irqsave@p2(lock2,flags)
60 *read_lock_irqsave@p2(lock2,flags)
62 *write_lock_irqsave@p2(lock2,flags)
69 p2 << r.p2;
73 cocci.print_secs("nested lock+irqsave that reuses flags",p2)
[all …]
/openbmc/qemu/tests/tcg/aarch64/
H A Dsme-fmopa-3.c23 "ptrue p2.b, vl16\n\t" /* Limit vector length to 16 */ in test_fmopa()
24 "ld1w {z0.s}, p2/z, [%1]\n\t" in test_fmopa()
26 "mov za3h.s[w15, 0], p2/m, z0.s\n\t" in test_fmopa()
27 "mov za3h.s[w15, 1], p2/m, z0.s\n\t" in test_fmopa()
29 "mov za3h.s[w15, 0], p2/m, z0.s\n\t" in test_fmopa()
30 "mov za3h.s[w15, 1], p2/m, z0.s\n\t" in test_fmopa()
32 "fmopa za3.s, p2/m, p2/m, z0.h, z0.h\n\t" in test_fmopa()
34 "st1w {za3h.s[w15, 0]}, p2, [%0]\n" in test_fmopa()
36 "st1w {za3h.s[w15, 1]}, p2, [%0]\n\t" in test_fmopa()
39 "st1w {za3h.s[w15, 0]}, p2, [%0]\n\t" in test_fmopa()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dxor.h48 const unsigned long * __restrict p2) in xor_arm4regs_2() argument
62 XOR_BLOCK_4(p2); in xor_arm4regs_2()
69 const unsigned long * __restrict p2, in xor_arm4regs_3() argument
84 XOR_BLOCK_4(p2); in xor_arm4regs_3()
92 const unsigned long * __restrict p2, in xor_arm4regs_4() argument
104 XOR_BLOCK_2(p2); in xor_arm4regs_4()
113 const unsigned long * __restrict p2, in xor_arm4regs_5() argument
126 XOR_BLOCK_2(p2); in xor_arm4regs_5()
157 const unsigned long * __restrict p2) in xor_neon_2() argument
160 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dxor.h42 #define PF1(x) " prefetchnta "PF_OFFS(x)"(%[p2]) ;\n"
46 #define XO1(x, y) " xorps "OFFS(x)"(%[p2]), %%xmm"#y" ;\n"
61 const unsigned long * __restrict p2) in xor_sse_2() argument
100 " add %[inc], %[p2] ;\n" in xor_sse_2()
104 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
113 const unsigned long * __restrict p2) in xor_sse_2_pf64() argument
135 " add %[inc], %[p2] ;\n" in xor_sse_2_pf64()
139 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64()
148 const unsigned long * __restrict p2, in xor_sse_3() argument
194 " add %[inc], %[p2] ;\n" in xor_sse_3()
[all …]
H A Dxor_avx.h58 const unsigned long * __restrict p2) in xor_avx_3() argument
68 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p2[i / sizeof(*p2)])); \ in xor_avx_3()
81 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3()
89 const unsigned long * __restrict p2, in xor_avx_4() argument
102 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_4()
115 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4()
124 const unsigned long * __restrict p2, in xor_avx_5() argument
140 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_5()
153 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_5()
/openbmc/linux/scripts/coccinelle/iterators/
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;
33 *x =@p2 E
41 position r.p1,r.p2;
45 x =@p2 E
51 p2 << r.p2;
55 cocci.print_secs("update",p2)
59 p2 << r.p2;
62 msg = "iterator with update on line %s" % (p2[0].line)
/openbmc/u-boot/scripts/coccinelle/iterators/
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;
32 *x =@p2 E
40 position r.p1,r.p2;
44 x =@p2 E
50 p2 << r.p2;
54 cocci.print_secs("update",p2)
58 p2 << r.p2;
61 msg = "iterator with update on line %s" % (p2[0].line)
/openbmc/qemu/bsd-user/
H A Dbsd-file.h35 #define LOCK_PATH2(p1, arg1, p2, arg2) \ argument
41 (p2) = lock_user_string(arg2); \
42 if ((p2) == NULL) { \
48 #define UNLOCK_PATH2(p1, arg1, p2, arg2) \ argument
50 unlock_user(p2, arg2, 0); \
353 void *p1, *p2; in do_bsd_rename() local
355 LOCK_PATH2(p1, arg1, p2, arg2); in do_bsd_rename()
356 ret = get_errno(rename(p1, p2)); /* XXX path(p1), path(p2) */ in do_bsd_rename()
357 UNLOCK_PATH2(p1, arg1, p2, arg2); in do_bsd_rename()
367 void *p1, *p2; in do_bsd_renameat() local
[all …]
/openbmc/linux/scripts/coccinelle/free/
H A Dpci_free_consistent.cocci16 position p1,p2;
35 return@p2 ...;
40 p2 << search.p2;
43 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
44 coccilib.report.print_report(p2[0],msg)
48 p2 << search.p2;
51 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
53 cocci.print_secs("",p2)
/openbmc/openbmc/meta-ibm/recipes-phosphor/sensors/phosphor-virtual-sensor/sbp1/
H A Dvirtual_sensor_config.json471 "ParamName": "P2",
496 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
525 "ParamName": "P2",
550 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
579 "ParamName": "P2",
604 "Expression": "(P3 > 0) ? ((O + P1 + R * P2 * P2) / P3) : 0"
633 "ParamName": "P2",
[all...]
/openbmc/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c101 * process P2.
105 * all P2 requests to trace P1 would be denied.
111 * P1-. P1 -> P2 : allow
112 * \ P2 -> P1 : allow
113 * 'P2
126 * P1--. P1 -> P2 : allow
127 * \ P2 -> P1 : deny
129 * | P2 |
143 * | P1 --. P1 -> P2 : deny
144 * '------' \ P2 -> P1 : allow
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c53 void *p2; in check_aligned_anonymous_unfixed_mmaps() local
65 p2 = mmap(NULL, len, PROT_READ, in check_aligned_anonymous_unfixed_mmaps()
79 fail_unless(p2 != MAP_FAILED); in check_aligned_anonymous_unfixed_mmaps()
86 p = (uintptr_t) p2; in check_aligned_anonymous_unfixed_mmaps()
97 memcpy(dummybuf, p2, pagesize); in check_aligned_anonymous_unfixed_mmaps()
102 munmap(p2, len); in check_aligned_anonymous_unfixed_mmaps()
137 char *p2; in check_aligned_anonymous_unfixed_colliding_mmaps() local
152 p2 = mmap(NULL, pagesize, PROT_READ, in check_aligned_anonymous_unfixed_colliding_mmaps()
154 fail_unless(p2 != MAP_FAILED); in check_aligned_anonymous_unfixed_colliding_mmaps()
155 p = (uintptr_t) p2; in check_aligned_anonymous_unfixed_colliding_mmaps()
[all …]
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/sensors/phosphor-virtual-sensor/
H A Dvirtual_sensor_config.json21 "ParamName": "P2",
49 "Expression": "( P6 / P1 / P2 - P3 ) * P4 + P5"
72 "ParamName": "P2",
81 "Expression": "P2 / P1"
104 "ParamName": "P2",
120 "Expression": "P2 * ( P3 / P1 )"
142 "ParamName": "P2",
151 "Expression": "P1 - P2"
174 "ParamName": "P2",
183 "Expression": "P1 - P2"
[all …]
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/sensors/phosphor-virtual-sensor/
H A Dvirtual_sensor_config.json29 "ParamName": "P2",
37 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
61 "ParamName": "P2",
69 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
93 "ParamName": "P2",
101 "Expression": "(P1 > 0 ? P1:0) + (P2 > 0 ? P2:0)"
/openbmc/linux/arch/powerpc/lib/
H A Dxor_vmx_glue.c16 const unsigned long * __restrict p2) in xor_altivec_2() argument
20 __xor_altivec_2(bytes, p1, p2); in xor_altivec_2()
27 const unsigned long * __restrict p2, in xor_altivec_3() argument
32 __xor_altivec_3(bytes, p1, p2, p3); in xor_altivec_3()
39 const unsigned long * __restrict p2, in xor_altivec_4() argument
45 __xor_altivec_4(bytes, p1, p2, p3, p4); in xor_altivec_4()
52 const unsigned long * __restrict p2, in xor_altivec_5() argument
59 __xor_altivec_5(bytes, p1, p2, p3, p4, p5); in xor_altivec_5()

12345678910>>...31