Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 253) sorted by relevance

1234567891011

/Linux-v4.19/include/asm-generic/
Dxor.h19 xor_8regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_8regs_2() argument
24 p1[0] ^= p2[0]; in xor_8regs_2()
25 p1[1] ^= p2[1]; in xor_8regs_2()
26 p1[2] ^= p2[2]; in xor_8regs_2()
27 p1[3] ^= p2[3]; in xor_8regs_2()
28 p1[4] ^= p2[4]; in xor_8regs_2()
29 p1[5] ^= p2[5]; in xor_8regs_2()
30 p1[6] ^= p2[6]; in xor_8regs_2()
31 p1[7] ^= p2[7]; in xor_8regs_2()
33 p2 += 8; in xor_8regs_2()
[all …]
/Linux-v4.19/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 p2 = of_prop_next_u32(*prop, p2, &data->drc_index_start); in of_read_drc_info_cell()
69 if (!p2) in of_read_drc_info_cell()
73 p2 = of_prop_next_u32(*prop, p2, &data->drc_name_suffix_start); in of_read_drc_info_cell()
74 if (!p2) in of_read_drc_info_cell()
78 p2 = of_prop_next_u32(*prop, p2, &data->num_sequential_elems); in of_read_drc_info_cell()
79 if (!p2) in of_read_drc_info_cell()
83 p2 = of_prop_next_u32(*prop, p2, &data->sequential_inc); in of_read_drc_info_cell()
84 if (!p2) in of_read_drc_info_cell()
[all …]
/Linux-v4.19/drivers/thermal/qcom/
Dtsens-8974.c106 u32 p1[11], p2[11]; in calibrate_8974() local
129 p2[0] = (bkp[2] & S0_P2_BKP_MASK) >> S0_P2_BKP_SHIFT; in calibrate_8974()
130 p2[1] = (bkp[3] & S1_P2_BKP_MASK); in calibrate_8974()
131 p2[2] = (bkp[3] & S2_P2_BKP_MASK) >> S2_P2_BKP_SHIFT; in calibrate_8974()
132 p2[3] = (bkp[3] & S3_P2_BKP_MASK) >> S3_P2_BKP_SHIFT; in calibrate_8974()
133 p2[4] = (bkp[3] & S4_P2_BKP_MASK) >> S4_P2_BKP_SHIFT; in calibrate_8974()
134 p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; in calibrate_8974()
135 p2[6] = (calib[5] & S6_P2_BKP_MASK); in calibrate_8974()
136 p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; in calibrate_8974()
137 p2[8] = (calib[5] & S8_P2_BKP_MASK) >> S8_P2_BKP_SHIFT; in calibrate_8974()
[all …]
Dtsens-8916.c54 u32 p1[5], p2[5]; in calibrate_8916() local
72 p2[0] = (qfprom_cdata[0] & S0_P2_MASK) >> S0_P2_SHIFT; in calibrate_8916()
73 p2[1] = (qfprom_cdata[0] & S1_P2_MASK) >> S1_P2_SHIFT; in calibrate_8916()
74 p2[2] = (qfprom_cdata[1] & S2_P2_MASK) >> S2_P2_SHIFT; in calibrate_8916()
75 p2[3] = (qfprom_cdata[1] & S3_P2_MASK) >> S3_P2_SHIFT; in calibrate_8916()
76 p2[4] = (qfprom_cdata[1] & S4_P2_MASK) >> S4_P2_SHIFT; in calibrate_8916()
78 p2[i] = ((base1 + p2[i]) << 3); in calibrate_8916()
93 p2[i] = 780; in calibrate_8916()
98 compute_intercept_slope(tmdev, p1, p2, mode); in calibrate_8916()
/Linux-v4.19/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 …]
Dcmpxchg.h36 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
39 register __typeof__(*(p2)) __old2 asm("3") = (o2); \
41 register __typeof__(*(p2)) __new2 asm("5") = (n2); \
49 [ptr] "Q" (*(p1)), "Q" (*(p2)) \
54 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \ argument
57 __typeof__(p2) __p2 = (p2); \
59 BUILD_BUG_ON(sizeof(*(p2)) != sizeof(long)); \
/Linux-v4.19/arch/sparc/include/asm/
Dxor_32.h24 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in sparc_2() argument
51 : "r" (p1), "r" (p2) in sparc_2()
56 p2 += 8; in sparc_2()
61 sparc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_3() argument
101 : "r" (p1), "r" (p2), "r" (p3) in sparc_3()
106 p2 += 8; in sparc_3()
112 sparc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_4() argument
164 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4()
169 p2 += 8; in sparc_4()
176 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_5() argument
[all …]
/Linux-v4.19/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.cocci14 position p1, p2;
39 fname@p2(a, ...);
41 fname2@p2(...);
43 fname3@p2(...);
45 fname4@p2(...);
47 fname5@p2(...);
49 fname6@p2(...);
55 p2 << r1.p2;
58 coccilib.report.print_report(p1[0], msg % (p2[0].line))
62 position p1, p2;
[all …]
Dkstrdup.cocci50 position p1,p2;
57 * strcpy@p2(to, from);
63 position p1,p2;
68 * to = \(kmalloc@p1\|kzalloc@p2\)(x,flag);
72 * memcpy@p2(to, from, x);
76 p2 << r1.p2;
80 cocci.print_secs("strcpy",p2)
84 p2 << r2.p2;
88 cocci.print_secs("memcpy",p2)
92 p2 << r1.p2;
[all …]
Dcheck_bq27xxx_data.cocci68 position p2;
71 u8 i2regs@p2[...] = { i2regs_vals, };
79 p2 << getregs2.p2;
88 i1regs i2regs (List.hd p2).line in
104 position p2;
107 struct bq27xxx_dm_reg i2dmregs@p2[] = { i2dmregs_vals, };
115 p2 << getdmregs2.p2;
124 i1dmregs i2dmregs (List.hd p2).line in
140 position p2;
143 enum power_supply_property i2props@p2[] = { i2props_vals, };
[all …]
/Linux-v4.19/arch/arm/include/asm/
Dxor.h50 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument
64 XOR_BLOCK_4(p2); in xor_arm4regs_2()
70 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument
85 XOR_BLOCK_4(p2); in xor_arm4regs_3()
92 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument
103 XOR_BLOCK_2(p2); in xor_arm4regs_4()
111 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument
122 XOR_BLOCK_2(p2); in xor_arm4regs_5()
152 xor_neon_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_neon_2() argument
155 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2()
[all …]
/Linux-v4.19/scripts/coccinelle/locks/
Dflags.cocci17 position p1,p2;
35 spin_lock_irqsave@p2(lock2,flags)
37 read_lock_irqsave@p2(lock2,flags)
39 write_lock_irqsave@p2(lock2,flags)
45 position r.p1, r.p2;
57 *spin_lock_irqsave@p2(lock2,flags)
59 *read_lock_irqsave@p2(lock2,flags)
61 *write_lock_irqsave@p2(lock2,flags)
68 p2 << r.p2;
72 cocci.print_secs("nested lock+irqsave that reuses flags",p2)
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dxor_avx.h62 unsigned long *p2) in xor_avx_3() argument
72 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p2[i / sizeof(*p2)])); \ in xor_avx_3()
85 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3()
92 unsigned long *p2, unsigned long *p3) in xor_avx_4() argument
104 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_4()
117 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4()
125 unsigned long *p2, unsigned long *p3, unsigned long *p4) in xor_avx_5() argument
139 "m" (p2[i / sizeof(*p2)])); \ in xor_avx_5()
152 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_5()
Dxor.h68 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument
111 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
119 xor_sse_2_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2_pf64() argument
145 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64()
153 xor_sse_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3() argument
204 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3()
212 xor_sse_3_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3_pf64() argument
241 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64()
249 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_4() argument
307 [p2] "+r" (p2), [p3] "+r" (p3), [p4] "+r" (p4) in xor_sse_4()
[all …]
Dxor_32.h32 xor_pII_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_pII_mmx_2() argument
67 "+r" (p1), "+r" (p2) in xor_pII_mmx_2()
75 xor_pII_mmx_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_3() argument
116 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_3()
124 xor_pII_mmx_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_4() argument
170 "+r" (p1), "+r" (p2), "+r" (p3), "+r" (p4) in xor_pII_mmx_4()
179 xor_pII_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_pII_mmx_5() argument
238 "+r" (p1), "+r" (p2), "+r" (p3) in xor_pII_mmx_5()
259 xor_p5_mmx_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_p5_mmx_2() argument
298 "+r" (p1), "+r" (p2) in xor_p5_mmx_2()
[all …]
/Linux-v4.19/arch/s390/lib/
Dxor.c13 static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_xc_2() argument
30 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2()
34 static void xor_xc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_3() argument
56 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3()
60 static void xor_xc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_4() argument
86 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4()
90 static void xor_xc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_5() argument
123 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()
/Linux-v4.19/scripts/coccinelle/iterators/
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)
/Linux-v4.19/scripts/coccinelle/free/
Dpci_free_consistent.cocci15 position p1,p2;
34 return@p2 ...;
39 p2 << search.p2;
42 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
43 coccilib.report.print_report(p2[0],msg)
47 p2 << search.p2;
50 …t; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
52 cocci.print_secs("",p2)
Diounmap.cocci22 position p1,p2,p3;
42 *if@p2 (...)
52 p2 << iom.p2;
57 cocci.print_secs("if",p2)
62 p2 << iom.p2;
66 …ing iounmap; ioremap on line %s and execution via conditional on line %s" % (p1[0].line,p2[0].line)
/Linux-v4.19/scripts/coccinelle/misc/
Difcol.cocci22 position p1,p2;
29 if (...) S1@p1 S2@p2
34 p2 << r.p2;
37 if (p1[0].column == p2[0].column):
39 cocci.print_secs("after",p2)
43 p2 << r.p2;
46 if (p1[0].column == p2[0].column):
47 msg = "code aligned with following code on line %s" % (p2[0].line)
Dcstptr.cocci18 position p1,p2;
25 *PTR_ERR@p2(e)
29 p2 << r.p2;
32 cocci.print_main("PTR_ERR",p2)
37 p2 << r.p2;
41 coccilib.report.print_report(p2[0],msg)
/Linux-v4.19/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc55 p2=$!
56 echo $p2
65 kill -1 $p2
69 wait $p1 $p2 $p3
107 p2=$!
108 echo $p2
126 kill -1 $p2
132 wait $p1 $p2 $p3 $p4 $p5
/Linux-v4.19/drivers/tty/vt/
Dconsolemap.c227 u16 **p1, *p2; in set_inverse_trans_unicode() local
245 p2 = p1[j]; in set_inverse_trans_unicode()
246 if (!p2) in set_inverse_trans_unicode()
249 glyph = p2[k]; in set_inverse_trans_unicode()
478 u16 **p1, *p2; in con_insert_unipair() local
489 p2 = p1[n = (unicode >> 6) & 0x1f]; in con_insert_unipair()
490 if (!p2) { in con_insert_unipair()
491 p2 = p1[n] = kmalloc_array(64, sizeof(u16), GFP_KERNEL); in con_insert_unipair()
492 if (!p2) return -ENOMEM; in con_insert_unipair()
493 memset(p2, 0xff, 64*sizeof(u16)); /* No glyphs for the characters (yet) */ in con_insert_unipair()
[all …]
/Linux-v4.19/scripts/coccinelle/null/
Deno.cocci27 position p1,p2;
32 * IS_ERR@p2(x)
36 p2 << r.p2;
40 cocci.print_secs("IS_ERR that should be NULL tests",p2)
44 p2 << r.p2;
48 coccilib.report.print_report(p2[0], msg)

1234567891011