/linux/include/asm-generic/ |
A D | xor.h | 24 p1 += 8; in xor_8regs_2() 44 p1 += 8; in xor_8regs_3() 65 p1 += 8; in xor_8regs_4() 87 p1 += 8; in xor_8regs_5() 126 p1 += 8; in xor_32regs_2() 171 p1 += 8; in xor_32regs_3() 225 p1 += 8; in xor_32regs_4() 288 p1 += 8; in xor_32regs_5() 315 p1 += 8; in xor_8regs_p_2() 344 p1 += 8; in xor_8regs_p_3() [all …]
|
/linux/scripts/coccinelle/api/ |
A D | atomic_as_refcounter.cocci | 15 position p1, p2; 26 atomic_dec_and_test@p1(&(a)->x) 36 local_dec_and_test@p1(&(a)->x) 55 p1 << r1.p1; 63 position p1, p2; 79 local_dec_and_test@p1(&(a)->x) 88 p1 << r4.p1; 96 position p1; 108 p1 << r2.p1; 115 position p1; [all …]
|
A 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; 92 p1 << r1.p1; 97 coccilib.report.print_report(p1[0], msg) 100 p1 << r2.p1; [all …]
|
A 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/drivers/thermal/qcom/ |
A D | tsens-v0_1.c | 265 p1[i] = (((base0) + p1[i]) << 3); in calibrate_8916() 336 p1[i] = ((base0) + p1[i]) << 2; in calibrate_8939() 467 p1[0] = 502; in calibrate_8974() 468 p1[1] = 509; in calibrate_8974() 469 p1[2] = 503; in calibrate_8974() 470 p1[3] = 509; in calibrate_8974() 471 p1[4] = 505; in calibrate_8974() 472 p1[5] = 509; in calibrate_8974() 473 p1[6] = 507; in calibrate_8974() 474 p1[7] = 510; in calibrate_8974() [all …]
|
A D | tsens-v1.c | 146 u32 *p1, u32 *p2, u32 mode) in compute_intercept_slope_8976() argument 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() 219 p1[i] = (((base0) + p1[i]) << 2); in calibrate_v1() 223 p1[i] = 500; in calibrate_v1() 229 compute_intercept_slope(priv, p1, p2, mode); in calibrate_v1() 238 u32 p1[11], p2[11]; in calibrate_8976() local 281 p1[10] |= tmp; in calibrate_8976() 284 p1[i] = (((base0) + p1[i]) << 2); in calibrate_8976() 288 p1[i] = 500; in calibrate_8976() [all …]
|
/linux/include/uapi/linux/ |
A D | ultrasound.h | 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 97 #define GUS_RAMPMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) argument 98 #define GUS_RAMPON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0) argument [all …]
|
/linux/scripts/coccinelle/misc/ |
A D | array_size_dup.cocci | 39 p1 << as_next.p1; 47 p1 << as_next.p1; 68 p1 << as_prev.p1; 76 p1 << as_prev.p1; 104 p1 << as3_next.p1; 112 p1 << as3_next.p1; 134 p1 << as3_prev.p1; 168 p1 << ss_next.p1; 176 p1 << ss_next.p1; 196 p1 << ss_prev.p1; [all …]
|
/linux/arch/arm/include/asm/ |
A D | xor.h | 60 GET_BLOCK_4(p1); in xor_arm4regs_2() 62 PUT_BLOCK_4(p1); in xor_arm4regs_2() 81 GET_BLOCK_4(p1); in xor_arm4regs_3() 84 PUT_BLOCK_4(p1); in xor_arm4regs_3() 99 GET_BLOCK_2(p1); in xor_arm4regs_4() 103 PUT_BLOCK_2(p1); in xor_arm4regs_4() 118 GET_BLOCK_2(p1); in xor_arm4regs_5() 123 PUT_BLOCK_2(p1); in xor_arm4regs_5() 152 xor_arm4regs_2(bytes, p1, p2); in xor_neon_2() 165 xor_arm4regs_3(bytes, p1, p2, p3); in xor_neon_3() [all …]
|
/linux/scripts/coccinelle/locks/ |
A 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 42 position p1 != locked.p1; 78 p1 << r.p1; [all …]
|
A 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 …]
|
A D | call_kern.cocci | 41 position p1,p2; 45 read_lock_irq@p1 47 write_lock_irq@p1 49 read_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 90 p1 << locked.p1; [all …]
|
A 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 …]
|
/linux/arch/x86/include/asm/ |
A 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() 135 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_5() [all …]
|
A 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() 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() 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() 337 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4_pf64() 410 : [cnt] "+r" (lines), [p1] "+r" (p1), [p2] "+r" (p2), in xor_sse_5() [all …]
|
A D | kvm_para.h | 42 static inline long kvm_hypercall1(unsigned int nr, unsigned long p1) in kvm_hypercall1() argument 47 : "a"(nr), "b"(p1) in kvm_hypercall1() 52 static inline long kvm_hypercall2(unsigned int nr, unsigned long p1, in kvm_hypercall2() argument 58 : "a"(nr), "b"(p1), "c"(p2) in kvm_hypercall2() 63 static inline long kvm_hypercall3(unsigned int nr, unsigned long p1, in kvm_hypercall3() argument 69 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_hypercall3() 74 static inline long kvm_hypercall4(unsigned int nr, unsigned long p1, in kvm_hypercall4() argument 81 : "a"(nr), "b"(p1), "c"(p2), "d"(p3), "S"(p4) in kvm_hypercall4() 86 static inline long kvm_sev_hypercall3(unsigned int nr, unsigned long p1, in kvm_sev_hypercall3() argument 93 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_sev_hypercall3()
|
/linux/scripts/coccinelle/null/ |
A 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)
|
A D | deref_null.cocci | 23 position p1; 45 position p1; 60 position ifm.p1; 94 p1 << ifm.p1; 104 p1 << ifm.p1; 121 position ifm.p1; 154 p1 << ifm.p1; 163 p1 << ifm.p1; 181 position ifm.p1; 219 position p1; [all …]
|
/linux/arch/sparc/include/asm/ |
A 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() 232 : "r" (p1), "r" (p2), "r" (p3), "r" (p4), "r" (p5) in sparc_5() [all …]
|
/linux/arch/nds32/kernel/ |
A D | ex-scall.S | 22 addi $p1, $r0, #THREAD_CPU_CONTEXT 23 smw.bi $r6, [$p1], $r14, #0xb ! push r6~r14, fp, lp, sp 57 bnez $p1, __sys_trace 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 84 addi $p1, $r7, #1 87 addi $p1, $sp, #R0_OFFSET ! pointer to regs [all …]
|
A D | ex-entry.S | 68 movi $p1, #0x0 69 cmovz $fp, $p1, $p0 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 130 bnez $p1, 2f 134 ori $p1, $p1, lo12(exception_handlers) 135 lwi $p1, [$p1+#NDS32_VECTOR_offEXCEPTION<<2] [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
A D | tcm.h | 53 struct tcm_pt p1; member 228 slice->p0.y != slice->p1.y && 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() 257 area->p0.x <= area->p1.x)); in tcm_area_is_valid() 271 i <= a->p1.x + a->p1.y * a->tcm->width; in __tcm_is_in() [all …]
|
/linux/drivers/tty/vt/ |
A D | consolemap.c | 227 u16 **p1, *p2; in set_inverse_trans_unicode() local 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 407 kfree(p1); in con_release_unimap() 478 u16 **p1, *p2; in con_insert_unipair() local 481 if (!p1) { in con_insert_unipair() 585 if (p1) in con_set_unimap() 587 p2 = p1[j]; in con_set_unimap() 741 u16 **p1, *p2; in con_get_unimap() local [all …]
|
/linux/drivers/media/i2c/ |
A D | aptina-pll.c | 24 unsigned int p1; in aptina_pll_calculate() local 133 for (p1 = p1_max & ~1; p1 >= p1_min; p1 -= 2) { in aptina_pll_calculate() 134 unsigned int mf_inc = p1 / gcd(div, p1); in aptina_pll_calculate() 138 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate() 140 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate() 146 pll->n = div * mf_low / p1; in aptina_pll_calculate() 148 pll->p1 = p1; in aptina_pll_calculate() 149 dev_dbg(dev, "PLL: N %u M %u P1 %u\n", pll->n, pll->m, pll->p1); in aptina_pll_calculate()
|
/linux/scripts/coccinelle/iterators/ |
A 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)
|