Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/openbmc/linux/include/asm-generic/
H A Dxor.h11 xor_8regs_2(unsigned long bytes, unsigned long * __restrict p1, 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()
25 p1 += 8; in xor_8regs_2()
[all …]
/openbmc/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci15 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 …]
H A Dkstrdup.cocci51 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 …]
H A Dplatform_get_irq.cocci65 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)
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c52 void *p1; in check_aligned_anonymous_unfixed_mmaps() local
63 p1 = mmap(NULL, len, PROT_READ, in check_aligned_anonymous_unfixed_mmaps()
78 fail_unless(p1 != MAP_FAILED); in check_aligned_anonymous_unfixed_mmaps()
83 p = (uintptr_t) p1; in check_aligned_anonymous_unfixed_mmaps()
96 memcpy(dummybuf, p1, pagesize); in check_aligned_anonymous_unfixed_mmaps()
101 munmap(p1, len); in check_aligned_anonymous_unfixed_mmaps()
112 void *p1; in check_large_anonymous_unfixed_mmap() local
119 p1 = mmap(NULL, len, PROT_READ, in check_large_anonymous_unfixed_mmap()
124 fail_unless (p1 != MAP_FAILED); in check_large_anonymous_unfixed_mmap()
125 p = (uintptr_t) p1; in check_large_anonymous_unfixed_mmap()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dultrasound.h76 #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 …]
/openbmc/linux/scripts/coccinelle/misc/
H A Darray_size_dup.cocci30 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 …]
/openbmc/linux/scripts/coccinelle/locks/
H A Ddouble_lock.cocci18 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 …]
H A Dmini_lock.cocci22 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 …]
H A Dflags.cocci18 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 …]
H A Dcall_kern.cocci41 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 …]
/openbmc/linux/arch/arm/include/asm/
H A Dxor.h47 xor_arm4regs_2(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_2() argument
61 GET_BLOCK_4(p1); in xor_arm4regs_2()
63 PUT_BLOCK_4(p1); in xor_arm4regs_2()
68 xor_arm4regs_3(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_3() argument
83 GET_BLOCK_4(p1); in xor_arm4regs_3()
86 PUT_BLOCK_4(p1); in xor_arm4regs_3()
91 xor_arm4regs_4(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_4() argument
103 GET_BLOCK_2(p1); in xor_arm4regs_4()
107 PUT_BLOCK_2(p1); in xor_arm4regs_4()
112 xor_arm4regs_5(unsigned long bytes, unsigned long * __restrict p1, in xor_arm4regs_5() argument
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dxor_avx.h30 const unsigned long * __restrict p1) in xor_avx_2() argument
40 asm volatile("vmovdqa %0, %%ymm" #reg : : "m" (p1[i / sizeof(*p1)])); \ in xor_avx_2()
50 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2()
57 const unsigned long * __restrict p1, in xor_avx_3() argument
70 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_3()
80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3()
88 const unsigned long * __restrict p1, in xor_avx_4() argument
104 "m" (p1[i / sizeof(*p1)])); \ in xor_avx_4()
114 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4()
123 const unsigned long * __restrict p1, in xor_avx_5() argument
[all …]
H A Dkvm_para.h48 static inline long kvm_hypercall1(unsigned int nr, unsigned long p1) in kvm_hypercall1() argument
53 return tdx_kvm_hypercall(nr, p1, 0, 0, 0); in kvm_hypercall1()
57 : "a"(nr), "b"(p1) in kvm_hypercall1()
62 static inline long kvm_hypercall2(unsigned int nr, unsigned long p1, in kvm_hypercall2() argument
68 return tdx_kvm_hypercall(nr, p1, p2, 0, 0); in kvm_hypercall2()
72 : "a"(nr), "b"(p1), "c"(p2) in kvm_hypercall2()
77 static inline long kvm_hypercall3(unsigned int nr, unsigned long p1, in kvm_hypercall3() argument
83 return tdx_kvm_hypercall(nr, p1, p2, p3, 0); in kvm_hypercall3()
87 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_hypercall3()
92 static inline long kvm_hypercall4(unsigned int nr, unsigned long p1, in kvm_hypercall4() argument
[all …]
H A Dxor.h60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2() argument
104 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2()
112 xor_sse_2_pf64(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2_pf64() argument
139 [p1] "+r" (p1), [p2] "+r" (p2) in xor_sse_2_pf64()
147 xor_sse_3(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_3() argument
199 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3()
207 xor_sse_3_pf64(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_3_pf64() argument
237 [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3) in xor_sse_3_pf64()
245 xor_sse_4(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_4() argument
304 : [cnt] "+r" (lines), [p1] "+r" (p1), in xor_sse_4()
[all …]
/openbmc/linux/scripts/coccinelle/null/
H A Deno.cocci28 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)
H A Dderef_null.cocci23 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 …]
/openbmc/linux/arch/sparc/include/asm/
H A Dxor_32.h16 sparc_2(unsigned long bytes, unsigned long * __restrict p1, in sparc_2() argument
44 : "r" (p1), "r" (p2) in sparc_2()
48 p1 += 8; in sparc_2()
54 sparc_3(unsigned long bytes, unsigned long * __restrict p1, in sparc_3() argument
95 : "r" (p1), "r" (p2), "r" (p3) in sparc_3()
99 p1 += 8; in sparc_3()
106 sparc_4(unsigned long bytes, unsigned long * __restrict p1, in sparc_4() argument
160 : "r" (p1), "r" (p2), "r" (p3), "r" (p4) in sparc_4()
164 p1 += 8; in sparc_4()
172 sparc_5(unsigned long bytes, unsigned long * __restrict p1, in sparc_5() argument
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm.h53 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 …]
/openbmc/linux/drivers/thermal/qcom/
H A Dtsens-v0_1.c88 u32 p1[5], p2[5]; in calibrate_8916() local
107 p1, p2, in calibrate_8916()
110 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
117 static void fixup_8974_points(int mode, u32 *p1, u32 *p2) in fixup_8974_points() argument
122 p1[0] += 2; in fixup_8974_points()
123 p1[1] += 9; in fixup_8974_points()
124 p1[2] += 3; in fixup_8974_points()
125 p1[3] += 9; in fixup_8974_points()
126 p1[4] += 5; in fixup_8974_points()
127 p1[5] += 9; in fixup_8974_points()
[all …]
/openbmc/u-boot/board/nokia/rx51/
H A Dtag_omap.h226 #define OMAP_TAG_UART_CONFIG(p1) \ argument
229 .u.uart.enabled_uarts = p1, \
232 #define OMAP_TAG_SERIAL_CONSOLE_CONFIG(p1, p2) \ argument
236 .u.serial_console.console_uart = p1, \
240 #define OMAP_TAG_LCD_CONFIG(p1, p2, p3, p4) \ argument
243 .u.lcd.panel_name = p1, \
249 #define OMAP_TAG_GPIO_SWITCH_CONFIG(p1, p2, p3, p4, p5) \ argument
253 .u.gpio_switch.name = p1, \
260 #define OMAP_TAG_WLAN_CX3110X_CONFIG(p1, p2, p3, p4, p5) \ argument
264 .u.wlan_cx3110x.chip_type = p1, \
[all …]
/openbmc/qemu/tests/tcg/hexagon/
H A Dv69_hvx.c44 void *p1 = buffer1; in test_vasrvuhubrndsat() local
56 : : "r"(p0), "r"(p1), "r"(pout) in test_vasrvuhubrndsat()
59 p1 += sizeof(MMVector); in test_vasrvuhubrndsat()
81 void *p1 = buffer1; in test_vasrvuhubsat() local
93 : : "r"(p0), "r"(p1), "r"(pout) in test_vasrvuhubsat()
96 p1 += sizeof(MMVector); in test_vasrvuhubsat()
118 void *p1 = buffer1; in test_vasrvwuhrndsat() local
130 : : "r"(p0), "r"(p1), "r"(pout) in test_vasrvwuhrndsat()
133 p1 += sizeof(MMVector); in test_vasrvwuhrndsat()
155 void *p1 = buffer1; in test_vasrvwuhsat() local
[all …]
/openbmc/u-boot/scripts/coccinelle/iterators/
H A Duse_after_iter.cocci37 position p1,p2;
41 list_for_each_entry@p1(c,...,member) { ... when != break;
46 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
51 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
56 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
61 list_for_each_entry_from@p1(c,...,member) { ... when != break;
66 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
71 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
76 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
81 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
/openbmc/linux/drivers/media/i2c/
H A Daptina-pll.c23 unsigned int p1; in aptina_pll_calculate() local
132 for (p1 = p1_max & ~1; p1 >= p1_min; p1 -= 2) { in aptina_pll_calculate()
133 unsigned int mf_inc = p1 / gcd(div, p1); in aptina_pll_calculate()
137 mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1, in aptina_pll_calculate()
139 mf_high = min(mf_max, pll->ext_clock * p1 / in aptina_pll_calculate()
145 pll->n = div * mf_low / p1; in aptina_pll_calculate()
147 pll->p1 = p1; in aptina_pll_calculate()
148 dev_dbg(dev, "PLL: N %u M %u P1 %u\n", pll->n, pll->m, pll->p1); in aptina_pll_calculate()
/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;
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)

12345678910>>...26