Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-5.10/include/asm-generic/
Dxor.h11 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_8regs_2() argument
16 p1[0] ^= p2[0]; in xor_8regs_2()
17 p1[1] ^= p2[1]; in xor_8regs_2()
18 p1[2] ^= p2[2]; in xor_8regs_2()
19 p1[3] ^= p2[3]; in xor_8regs_2()
20 p1[4] ^= p2[4]; in xor_8regs_2()
21 p1[5] ^= p2[5]; in xor_8regs_2()
22 p1[6] ^= p2[6]; in xor_8regs_2()
23 p1[7] ^= p2[7]; in xor_8regs_2()
25 p2 += 8; in xor_8regs_2()
[all …]
/kernel/linux/linux-6.6/include/asm-generic/
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 …]
/kernel/linux/linux-6.6/scripts/coccinelle/misc/
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 …]
/kernel/linux/linux-5.10/scripts/coccinelle/misc/
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 …]
/kernel/linux/linux-5.10/scripts/coccinelle/api/
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/scripts/coccinelle/api/
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dtsens-v0_1.c196 u32 p1[5], p2[5]; in calibrate_8916() local
216 p2[0] = (qfprom_cdata[0] & MSM8916_S0_P2_MASK) >> MSM8916_S0_P2_SHIFT; in calibrate_8916()
217 p2[1] = (qfprom_cdata[0] & MSM8916_S1_P2_MASK) >> MSM8916_S1_P2_SHIFT; in calibrate_8916()
218 p2[2] = (qfprom_cdata[1] & MSM8916_S2_P2_MASK) >> MSM8916_S2_P2_SHIFT; in calibrate_8916()
219 p2[3] = (qfprom_cdata[1] & MSM8916_S3_P2_MASK) >> MSM8916_S3_P2_SHIFT; in calibrate_8916()
220 p2[4] = (qfprom_cdata[1] & MSM8916_S4_P2_MASK) >> MSM8916_S4_P2_SHIFT; in calibrate_8916()
222 p2[i] = ((base1 + p2[i]) << 3); in calibrate_8916()
237 p2[i] = 780; in calibrate_8916()
242 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
252 u32 p1[10], p2[10]; in calibrate_8939() local
[all …]
Dtsens-v1.c143 u32 p1[10], p2[10]; in calibrate_v1() local
158 p2[0] = (qfprom_cdata[0] & S0_P2_MASK) >> S0_P2_SHIFT; in calibrate_v1()
159 p2[1] = (qfprom_cdata[0] & S1_P2_MASK) >> S1_P2_SHIFT; in calibrate_v1()
163 p2[2] = msb << 2 | lsb; in calibrate_v1()
164 p2[3] = (qfprom_cdata[1] & S3_P2_MASK) >> S3_P2_SHIFT; in calibrate_v1()
165 p2[4] = (qfprom_cdata[1] & S4_P2_MASK) >> S4_P2_SHIFT; in calibrate_v1()
166 p2[5] = (qfprom_cdata[2] & S5_P2_MASK) >> S5_P2_SHIFT; in calibrate_v1()
167 p2[6] = (qfprom_cdata[2] & S6_P2_MASK) >> S6_P2_SHIFT; in calibrate_v1()
171 p2[7] = msb << 2 | lsb; in calibrate_v1()
172 p2[8] = (qfprom_cdata[3] & S8_P2_MASK) >> S8_P2_SHIFT; in calibrate_v1()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
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 …]
/kernel/linux/linux-6.6/scripts/coccinelle/locks/
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 …]
/kernel/linux/linux-5.10/scripts/coccinelle/locks/
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 …]
/kernel/linux/linux-6.6/arch/arm/include/asm/
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 …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkvm_para.h61 unsigned long p2) in __kvm_hypercall2() argument
65 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall2()
75 unsigned long p2) in kvm_hypercall2() argument
78 return __kvm_hypercall2(nr, p1, p2); in kvm_hypercall2()
82 unsigned long p2, unsigned long p3) in __kvm_hypercall3() argument
86 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall3()
97 unsigned long p2, unsigned long p3) in kvm_hypercall3() argument
100 return __kvm_hypercall3(nr, p1, p2, p3); in kvm_hypercall3()
104 unsigned long p2, unsigned long p3, in __kvm_hypercall4() argument
109 register unsigned long __p2 asm("3") = p2; in __kvm_hypercall4()
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dxor.h47 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument
61 XOR_BLOCK_4(p2); in xor_arm4regs_2()
67 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument
82 XOR_BLOCK_4(p2); in xor_arm4regs_3()
89 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument
100 XOR_BLOCK_2(p2); in xor_arm4regs_4()
108 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument
119 XOR_BLOCK_2(p2); in xor_arm4regs_5()
149 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_neon_2() argument
152 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dxor.h42 #define PF1(x) " prefetchnta "PF_OFFS(x)"(%[p2]) ;\n"
46 #define XO1(x, y) " xorps "OFFS(x)"(%[p2]), %%xmm"#y" ;\n"
60 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument
99 " add %[inc], %[p2] ;\n" in xor_sse_2()
103 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
111 xor_sse_2_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2_pf64() argument
133 " add %[inc], %[p2] ;\n" in xor_sse_2_pf64()
137 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64()
145 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3() argument
191 " add %[inc], %[p2] ;\n" in xor_sse_3()
[all …]
/kernel/linux/linux-6.6/arch/x86/include/asm/
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 …]
/kernel/linux/linux-5.10/scripts/coccinelle/iterators/
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)
/kernel/linux/linux-6.6/scripts/coccinelle/iterators/
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)
/kernel/linux/linux-5.10/scripts/coccinelle/free/
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)

12345678910>>...45