| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/include/asm-generic/ |
| D | xor.h | 11 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
| D | test_cpuset_prs.sh | 215 SETUP_A123_PARTITIONS="C1-3:P1:S+ C2-3:P1:S+ C3:P1" 220 " S+ C0-1 . . C2-3 P1 . . . 0 " 221 " S+ C0-1 . . C2-3 P1:S+ C0-1:P1 . . 0 " 222 " S+ C0-1 . . C2-3 P1:S+ C1:P1 . . 0 " 223 " S+ C0-1:S+ . . C2-3 . . . P1 0 " 224 " S+ C0-1:P1 . . C2-3 S+ C1 . . 0 " 225 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . . 0 " 226 " S+ C0-1:P1 . . C2-3 S+ C1:P1 . P1 0 " 227 " S+ C0-1:P1 . . C2-3 C4-5 . . . 0 A1:4-5" 228 " S+ C0-1:P1 . . C2-3 S+:C4-5 . . . 0 A1:4-5" [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | ultrasound.h | 26 * bytes 4 and 5 - parameter P1 (unsigned short) 31 * Unused parameters (P1 and/or P2 *MUST* be initialized to zero). 32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16) 34 * _GUS_VOICEON - Starts voice (P1=voice mode) 37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode) 38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7) 39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz) 40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) 41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) 45 * _GUS_RAMPRANGE - Sets limits for volume ramping (P1=low volume, P2=high volume) [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | ultrasound.h | 26 * bytes 4 and 5 - parameter P1 (unsigned short) 31 * Unused parameters (P1 and/or P2 *MUST* be initialized to zero). 32 * _GUS_NUMVOICES - Sets max. number of concurrent voices (P1=14-31, default 16) 34 * _GUS_VOICEON - Starts voice (P1=voice mode) 37 * _GUS_VOICEMODE - Alters the voice mode, don't start or stop voice (P1=voice mode) 38 * _GUS_VOICEBALA - Sets voice balance (P1, 0=left, 7=middle and 15=right, default 7) 39 * _GUS_VOICEFREQ - Sets voice (sample) playback frequency (P1=Hz) 40 * _GUS_VOICEVOL - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) 41 * _GUS_VOICEVOL2 - Sets voice volume (P1=volume, 0xfff=max, 0xeff=half, 0x000=off) 45 * _GUS_RAMPRANGE - Sets limits for volume ramping (P1=low volume, P2=high volume) [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | aptina-pll.c | 23 unsigned int p1; in aptina_pll_calculate() local 40 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate() 45 /* We now have the smallest M and N*P1 values that will result in the in aptina_pll_calculate() 53 * - minimum/maximum combined N*P1 divisor in aptina_pll_calculate() 66 dev_err(dev, "pll: no valid combined N*P1 divisor.\n"); in aptina_pll_calculate() 71 * We're looking for the highest acceptable P1 value for which a in aptina_pll_calculate() 74 * 1. p1 is in the [p1_min, p1_max] range given by the limits and is in aptina_pll_calculate() 77 * 3. div * mf is a multiple of p1, in order to compute in aptina_pll_calculate() 78 * n = div * mf / p1 in aptina_pll_calculate() 85 * The first naive approach is to iterate over all p1 values acceptable in aptina_pll_calculate() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | aptina-pll.c | 24 unsigned int p1; in aptina_pll_calculate() local 41 /* Compute the multiplier M and combined N*P1 divisor. */ in aptina_pll_calculate() 46 /* We now have the smallest M and N*P1 values that will result in the in aptina_pll_calculate() 54 * - minimum/maximum combined N*P1 divisor in aptina_pll_calculate() 67 dev_err(dev, "pll: no valid combined N*P1 divisor.\n"); in aptina_pll_calculate() 72 * We're looking for the highest acceptable P1 value for which a in aptina_pll_calculate() 75 * 1. p1 is in the [p1_min, p1_max] range given by the limits and is in aptina_pll_calculate() 78 * 3. div * mf is a multiple of p1, in order to compute in aptina_pll_calculate() 79 * n = div * mf / p1 in aptina_pll_calculate() 86 * The first naive approach is to iterate over all p1 values acceptable in aptina_pll_calculate() [all …]
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | ultrasound.h | 25 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument 29 *(unsigned short*)&_seqbuf[_seqbufptr+4] = p1;\ 32 #define GUS_NUMVOICES(chn, p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 33 #define GUS_VOICESAMPLE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) argument 34 #define GUS_VOICEON(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 37 #define GUS_VOICEMODE(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 38 #define GUS_VOICEBALA(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 41 #define GUS_VOICEVOL(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument 42 #define GUS_VOICEVOL2(chn, voice, p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument 44 #define GUS_RAMPRATE(chn, voice, p1, p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | ultrasound.h | 38 …p1,p2) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = SEQ_PRIVATE; _seqbuf[_seqbufptr + 1] = (chn); _seq… argument 39 #define GUS_NUMVOICES(chn,p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 40 #define GUS_VOICESAMPLE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) argument 41 #define GUS_VOICEON(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 44 #define GUS_VOICEMODE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 45 #define GUS_VOICEBALA(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 47 #define GUS_VOICEVOL(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument 48 #define GUS_VOICEVOL2(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument 50 #define GUS_RAMPRATE(chn,voice,p1,p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument 51 #define GUS_RAMPMODE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) argument [all …]
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
| D | ultrasound.h | 38 …p1,p2) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = SEQ_PRIVATE; _seqbuf[_seqbufptr + 1] = (chn); _seq… argument 39 #define GUS_NUMVOICES(chn,p1) _GUS_CMD(chn, 0, _GUS_NUMVOICES, (p1), 0) argument 40 #define GUS_VOICESAMPLE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0) argument 41 #define GUS_VOICEON(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0) argument 44 #define GUS_VOICEMODE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0) argument 45 #define GUS_VOICEBALA(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0) argument 47 #define GUS_VOICEVOL(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0) argument 48 #define GUS_VOICEVOL2(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0) argument 50 #define GUS_RAMPRATE(chn,voice,p1,p2) _GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2)) argument 51 #define GUS_RAMPMODE(chn,voice,p1) _GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0) argument [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/arch/arm/include/asm/ |
| D | xor.h | 47 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 …]
|
| /kernel/linux/linux-5.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 …]
|