/Linux-v5.10/include/asm-generic/ |
D | xor.h | 11 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() 24 p1 += 8; in xor_8regs_2() [all …]
|
/Linux-v5.10/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 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) 55 p1 << r1.p1; 59 coccilib.report.print_report(p1[0], msg % (p2[0].line)) 63 position p1, p2; [all …]
|
D | kstrdup.cocci | 51 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 …]
|
D | platform_get_irq.cocci | 65 position p1; 82 dev_err@p1(...); 86 dev_err@p1(...); 92 p1 << r.p1; 95 cocci.print_main(p1) 98 p1 << r.p1; 101 msg = "line %s is redundant because platform_get_irq() already prints an error" % (p1[0].line) 102 coccilib.report.print_report(p1[0],msg)
|
/Linux-v5.10/drivers/thermal/qcom/ |
D | tsens-v0_1.c | 196 u32 p1[5], p2[5]; in calibrate_8916() local 226 p1[0] = (qfprom_cdata[0] & MSM8916_S0_P1_MASK) >> MSM8916_S0_P1_SHIFT; in calibrate_8916() 227 p1[1] = (qfprom_cdata[0] & MSM8916_S1_P1_MASK) >> MSM8916_S1_P1_SHIFT; in calibrate_8916() 228 p1[2] = (qfprom_cdata[0] & MSM8916_S2_P1_MASK) >> MSM8916_S2_P1_SHIFT; in calibrate_8916() 229 p1[3] = (qfprom_cdata[1] & MSM8916_S3_P1_MASK) >> MSM8916_S3_P1_SHIFT; in calibrate_8916() 230 p1[4] = (qfprom_cdata[1] & MSM8916_S4_P1_MASK) >> MSM8916_S4_P1_SHIFT; in calibrate_8916() 232 p1[i] = (((base0) + p1[i]) << 3); in calibrate_8916() 236 p1[i] = 500; 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 …]
|
D | tsens-v1.c | 146 u32 *p1, u32 *p2, u32 mode) in compute_intercept_slope_8976() argument 163 priv->sensor[i].offset = (p1[i] * MSM8976_SLOPE_FACTOR) - in compute_intercept_slope_8976() 172 u32 p1[10], p2[10]; in calibrate_v1() local 208 p1[0] = (qfprom_cdata[0] & S0_P1_MASK) >> S0_P1_SHIFT; in calibrate_v1() 209 p1[1] = (qfprom_cdata[0] & S1_P1_MASK) >> S1_P1_SHIFT; in calibrate_v1() 210 p1[2] = (qfprom_cdata[0] & S2_P1_MASK) >> S2_P1_SHIFT; in calibrate_v1() 211 p1[3] = (qfprom_cdata[1] & S3_P1_MASK) >> S3_P1_SHIFT; in calibrate_v1() 212 p1[4] = (qfprom_cdata[1] & S4_P1_MASK) >> S4_P1_SHIFT; in calibrate_v1() 213 p1[5] = (qfprom_cdata[2] & S5_P1_MASK) >> S5_P1_SHIFT; in calibrate_v1() 214 p1[6] = (qfprom_cdata[2] & S6_P1_MASK) >> S6_P1_SHIFT; in calibrate_v1() [all …]
|
/Linux-v5.10/include/uapi/linux/ |
D | ultrasound.h | 76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument 80 *(unsigned short*)&_seqbuf[_seqbufptr+4] = p1;\ 84 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 85 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) /* OBSOLET… argument 86 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 89 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 90 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 93 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument 94 #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument 96 #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument [all …]
|
/Linux-v5.10/arch/s390/include/asm/ |
D | kvm_para.h | 43 static inline long __kvm_hypercall1(unsigned long nr, unsigned long p1) in __kvm_hypercall1() argument 46 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall1() 54 static inline long kvm_hypercall1(unsigned long nr, unsigned long p1) in kvm_hypercall1() argument 57 return __kvm_hypercall1(nr, p1); in kvm_hypercall1() 60 static inline long __kvm_hypercall2(unsigned long nr, unsigned long p1, in __kvm_hypercall2() argument 64 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall2() 74 static inline long kvm_hypercall2(unsigned long nr, unsigned long p1, in kvm_hypercall2() argument 78 return __kvm_hypercall2(nr, p1, p2); in kvm_hypercall2() 81 static inline long __kvm_hypercall3(unsigned long nr, unsigned long p1, in __kvm_hypercall3() argument 85 register unsigned long __p1 asm("2") = p1; in __kvm_hypercall3() [all …]
|
/Linux-v5.10/scripts/coccinelle/misc/ |
D | array_size_dup.cocci | 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 68 p1 << as_prev.p1; 72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line) [all …]
|
/Linux-v5.10/scripts/coccinelle/locks/ |
D | double_lock.cocci | 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 38 write_trylock@p1 42 position p1 != locked.p1; [all …]
|
D | mini_lock.cocci | 22 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 …]
|
D | flags.cocci | 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; 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 …]
|
D | call_kern.cocci | 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 59 spin_lock_irqsave@p1 61 local_irq_disable@p1 [all …]
|
/Linux-v5.10/arch/arm/include/asm/ |
D | xor.h | 47 xor_arm4regs_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_arm4regs_2() argument 60 GET_BLOCK_4(p1); in xor_arm4regs_2() 62 PUT_BLOCK_4(p1); in xor_arm4regs_2() 67 xor_arm4regs_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_3() argument 81 GET_BLOCK_4(p1); in xor_arm4regs_3() 84 PUT_BLOCK_4(p1); in xor_arm4regs_3() 89 xor_arm4regs_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_4() argument 99 GET_BLOCK_2(p1); in xor_arm4regs_4() 103 PUT_BLOCK_2(p1); in xor_arm4regs_4() 108 xor_arm4regs_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_arm4regs_5() argument [all …]
|
/Linux-v5.10/arch/x86/include/asm/ |
D | xor_avx.h | 29 static void xor_avx_2(unsigned long bytes, unsigned long *p0, unsigned long *p1) in xor_avx_2() argument 39 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p1[i / sizeof(*p1)])); \ in xor_avx_2() 49 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2() 55 static void xor_avx_3(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_3() argument 68 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3() 78 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3() 85 static void xor_avx_4(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_4() argument 100 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_4() 110 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4() 118 static void xor_avx_5(unsigned long bytes, unsigned long *p0, unsigned long *p1, in xor_avx_5() argument [all …]
|
D | xor.h | 60 xor_sse_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_sse_2() argument 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 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 196 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3() 204 xor_sse_3_pf64(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_3_pf64() argument 233 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64() 241 xor_sse_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_sse_4() argument 298 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4() [all …]
|
/Linux-v5.10/scripts/coccinelle/null/ |
D | eno.cocci | 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) 44 p1 << r.p1; 48 msg = "ERROR: allocation function on line %s returns NULL not ERR_PTR on failure" % (p1[0].line)
|
D | deref_null.cocci | 23 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 …]
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | xor_32.h | 16 sparc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in sparc_2() argument 43 : "r" (p1), "r" (p2) in sparc_2() 47 p1 += 8; in sparc_2() 53 sparc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_3() argument 93 : "r" (p1), "r" (p2), "r" (p3) in sparc_3() 97 p1 += 8; in sparc_3() 104 sparc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_4() argument 156 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4() 160 p1 += 8; in sparc_4() 168 sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in sparc_5() argument [all …]
|
/Linux-v5.10/arch/nds32/kernel/ |
D | ex-scall.S | 22 addi $p1, $r0, #THREAD_CPU_CONTEXT 23 smw.bi $r6, [$p1], $r14, #0xb ! push r6~r14, fp, lp, sp 56 andi $p1, $p0, #_TIF_WORK_SYSCALL_ENTRY ! are we tracing syscalls? 57 bnez $p1, __sys_trace 61 addi $p1, $r7, #-__NR_syscalls ! syscall number of syscall instruction is guarded by addembler 62 bgez $p1, _SCNO_EXCEED ! call sys_* routine 64 slli $p1, $r7, #2 65 add $p1, tbl, $p1 66 lwi $p1, [$p1] 67 jr $p1 ! no return [all …]
|
D | ex-entry.S | 68 movi $p1, #0x0 69 cmovz $fp, $p1, $p0 108 andi $p1, $p0, #NDS32_VECTOR_mskNONEXCEPTION 109 bnez $p1, 1f 112 sethi $p1, hi20(exception_handlers) 113 ori $p1, $p1, lo12(exception_handlers) 114 lw $p1, [$p1+$p0<<2] 126 jr $p1 129 addi $p1, $p0, #-NDS32_VECTOR_offEXCEPTION 130 bnez $p1, 2f [all …]
|
/Linux-v5.10/drivers/gpu/drm/omapdrm/ |
D | tcm.h | 53 struct tcm_pt p1; member 228 slice->p0.y != slice->p1.y && in tcm_slice() 229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice() 231 slice->p1.x = slice->tcm->width - 1; in tcm_slice() 232 slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1; in tcm_slice() 235 parent->p0.y = slice->p1.y + 1; in tcm_slice() 247 area->p1.x < area->tcm->width && in tcm_area_is_valid() 248 area->p1.y < area->tcm->height && in tcm_area_is_valid() 249 area->p0.y <= area->p1.y && in tcm_area_is_valid() 254 area->p1.x + area->p1.y * area->tcm->width) || in tcm_area_is_valid() [all …]
|
/Linux-v5.10/drivers/tty/vt/ |
D | consolemap.c | 227 u16 **p1, *p2; in set_inverse_trans_unicode() local 241 p1 = p->uni_pgdir[i]; in set_inverse_trans_unicode() 242 if (!p1) in set_inverse_trans_unicode() 245 p2 = p1[j]; in set_inverse_trans_unicode() 398 u16 **p1; in con_release_unimap() local 403 p1 = p->uni_pgdir[i]; in con_release_unimap() 404 if (p1 != NULL) { in con_release_unimap() 406 kfree(p1[j]); in con_release_unimap() 407 kfree(p1); in con_release_unimap() 446 u16 **p1, **q1; in con_unify_unimap() local [all …]
|
/Linux-v5.10/arch/s390/lib/ |
D | xor.c | 14 static void xor_xc_2(unsigned long bytes, unsigned long *p1, unsigned long *p2) in xor_xc_2() argument 31 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2() 35 static void xor_xc_3(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_3() argument 57 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3) in xor_xc_3() 61 static void xor_xc_4(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_4() argument 87 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4) in xor_xc_4() 91 static void xor_xc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2, in xor_xc_5() argument 124 : "+d" (bytes), "+a" (p1), "+a" (p2), "+a" (p3), "+a" (p4), in xor_xc_5()
|
/Linux-v5.10/scripts/coccinelle/iterators/ |
D | list_entry_update.cocci | 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 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)
|