/linux/include/asm-generic/ |
H A 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 …]
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 11 echo "$1" 23 CGROUP2=$(mount -t cgroup2 | head -1 | awk -e '{print $3}') 40 PROG=$1 42 DELAY_FACTOR=1 44 while [[ "$1" = -* ]] 46 case "$1" in 49 [[ $DELAY_FACTOR -eq 1 ]] && 105 rmdir A1/A2/A3 A1/A2 A1 B1 > /dev/null 2>&1 106 rmdir test > /dev/null 2>&1 114 DELAY=$1 [all …]
|
/linux/scripts/coccinelle/api/ |
H A 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 …]
|
H A D | kstrdup.cocci | 23 - to = kmalloc(strlen(from) + 1,flag); 36 - x = strlen(from) + 1; 51 position p1,p2; 54 * to = kmalloc@p1(strlen(from) + 1,flag); 64 position p1,p2; 67 * x = strlen(from) + 1; 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; [all …]
|
/linux/drivers/media/i2c/ |
H A 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 …]
|
/linux/arch/x86/include/asm/ |
H A D | xor.h | 39 #define PF0(x) " prefetchnta "PF_OFFS(x)"(%[p1]) ;\n" 40 #define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n" 41 #define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n" 55 op(i + 1, 1) \ 60 xor_sse_2(unsigned long bytes, unsigned long * __restrict p1, in xor_sse_2() argument 71 LD(i + 1, 1) \ in xor_sse_2() 79 XO1(i + 1, 1) \ in xor_sse_2() 83 ST(i + 1, 1) \ in xor_sse_2() 92 " 1: ;\n" in xor_sse_2() 99 " add %[inc], %[p1] ;\n" in xor_sse_2() [all …]
|
H A D | xor_avx.h | 19 BLOCK(32 * (i + 1), 1) \ 30 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() [all …]
|
/linux/drivers/ata/pata_parport/ |
H A D | on26.c | 20 * 1 8-bit reads and writes 28 #define P1 \ macro 40 * cont = 1 - access the IDE command set 47 r = (regr << 2) + 1 + cont; in on26_read_regr() 51 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 56 case 1: in on26_read_regr() 57 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 63 w3(1); w3(1); w2(5); w4(r); w2(4); in on26_read_regr() 69 return -1; in on26_read_regr() 74 int r = (regr << 2) + 1 + cont; in on26_write_regr() [all …]
|
/linux/include/uapi/linux/ |
H A D | ultrasound.h | 23 * byte 1 - Synthesizer device number (0-N) 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) [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
H A D | i2c_.fuc | 102 bclr $flags $p1 106 bset $flags $p1 111 bclr $flags $p1 115 bset $flags $p1 135 */ sub b32 $r7 $r6 1 /* 162 i2c_drive_scl(1) 166 bra $p1 #i2c_raise_scl_done 167 sub b32 $r4 1 175 bra not $p1 #i2c_start_rep 177 bra not $p1 #i2c_start_rep [all …]
|
/linux/arch/arm/include/asm/ |
H A D | xor.h | 15 __asm__("ldmia %0, {%1, %2}" \ 20 __asm__("ldmia %0, {%1, %2, %3, %4}" \ 25 __asm__("ldmia %0!, {%1, %2}" \ 31 __asm__("ldmia %0!, {%1, %2, %3, %4}" \ 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() [all …]
|
/linux/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 24 #define YAMA_SCOPE_RELATIONAL 1 41 EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in create_domain() 78 if (read(fd, buf, 1) < 0) { in get_yama_ptrace_scope() 80 return -1; in get_yama_ptrace_scope() 100 * Test multiple tracing combinations between a parent process P1 and a child 105 * all P2 requests to trace P1 would be denied. 111 * P1-. P1 -> P2 : allow 112 * \ P2 -> P1 : allow 126 * P1--. P1 -> P2 : allow 127 * \ P2 -> P1 : deny [all …]
|
/linux/drivers/thermal/qcom/ |
H A D | tsens-v0_1.c | 30 .mode = { 0, 29, 1 }, 31 .invalid = { 0, 31, 1 }, 32 .base = { { 0, 0 }, { 1, 25 } }, 36 { { 0, 27 }, { 1, 0 } }, 37 { { 1, 5 }, { 1, 10 } }, 38 { { 1, 15 }, { 1, 20 } }, 46 .mode = { 1, 30 }, 54 { { 1, 0 }, { 3, 12 } }, 55 { { 1, 6 }, { 3, 18 } }, 56 { { 1, 12 }, { 3, 24 } }, [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | fib-onlink-tests.sh | 14 NETIFS[p1]=veth1 26 V4ADDRS[p1]=169.254.1.1 37 V6ADDRS[p1]=2001:db8:101::1 39 V6ADDRS[p3]=2001:db8:301::1 41 V6ADDRS[p5]=2001:db8:501::1 43 V6ADDRS[p7]=2001:db8:701::1 47 # [1] = default table 52 TEST_NET4[1]=169.254.101 56 TEST_NET6[1]=2001:db8:101 60 CONGW[1]=169.254.1.254 [all …]
|
/linux/arch/hexagon/lib/ |
H A D | memset.S | 30 p1 = cmp.gtu(r2, #7) define 42 if p1 jump 2f /* skip byte loop */ 47 loop0(1f, r2) /* byte loop */ 49 1: /* byte loop */ 51 memb(r8++#1) = r4 57 r6 = #1 58 p0 = tstbit(r9, #1) 59 p1 = cmp.eq(r2, #1) define 63 memb(r8++#1) = r4 65 if p1 jumpr r31 [all …]
|
/linux/Documentation/devicetree/bindings/ata/ |
H A D | ceva,ahci-1v84.yaml | 4 $id: http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml# 22 const: ceva,ahci-1v84 25 maxItems: 1 28 maxItems: 1 33 maxItems: 1 39 maxItems: 1 87 ceva,p1-cominit-params: 90 OOB timing value for COMINIT parameter for port 1. 92 ceva,p1-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>; 99 ceva,p1-comwake-params: [all …]
|
/linux/scripts/coccinelle/misc/ |
H A D | array_size_dup.cocci | 5 /// 1. An opencoded expression is used before array_size() to compute the same size 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; [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-lpc32xx.c | 47 #define GPIO012_PIN_TO_BIT(x) (1 << (x)) 48 #define GPIO3_PIN_TO_BIT(x) (1 << ((x) + 25)) 49 #define GPO3_PIN_TO_BIT(x) (1 << (x)) 50 #define GPIO012_PIN_IN_SEL(x, y) (((x) >> (y)) & 1) 52 #define GPIO3_PIN_IN_SEL(x, y) (((x) >> GPIO3_PIN_IN_SHIFT(y)) & 1) 53 #define GPIO3_PIN5_IN_SEL(x) (((x) >> 24) & 1) 54 #define GPI3_PIN_IN_SEL(x, y) (((x) >> (y)) & 1) 55 #define GPO3_PIN_IN_SEL(x, y) (((x) >> (y)) & 1) 84 "p0.0", "p0.1", "p0.2", "p0.3", 89 "p1.0", "p1.1", "p1.2", "p1.3", [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | tcm.h | 48 /* 1d or 2d area */ 50 bool is2d; /* whether area is 1d or 2d */ 53 struct tcm_pt p1; member 118 * but it must support 0 (1), 32 and 64. 119 * 0 value is equivalent to 1. 139 (align & (align - 1))) ? -EINVAL : in tcm_reserve_2d() 153 * Reserves a 1D area in the container. 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() [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/instances/ |
H A D | instance-event.tc | 8 echo $1 36 cat foo/trace 1> /dev/null 2>&1 42 echo 1 > foo/events/sched/sched_switch/enable 47 p1=$! 48 echo $p1 58 sleep 1 60 kill -1 $p3 61 kill -1 $p2 62 kill -1 $p1 65 wait $p1 $p2 $p3 [all …]
|
/linux/tools/mm/ |
H A D | page_owner_sort.c | 27 #define true 1 44 FILTER_PID = 1<<1, 45 FILTER_TGID = 1<<2, 46 FILTER_COMM = 1<<3 49 CULL_PID = 1<<1, 50 CULL_TGID = 1<<2, 51 CULL_COMM = 1<<3, 52 CULL_STACKTRACE = 1<<4, 53 CULL_ALLOCATOR = 1<<5 56 ALLOCATOR_CMA = 1<<1, [all …]
|
/linux/drivers/usb/serial/ |
H A D | io_ionsp.h | 29 1 = Cmd / Status (Cmd if OUT, Status if IN) 46 Cmd/Status header: 1ccccPPP [ CCCCCCCC, Params ]... 68 (a) because OSR2.1 has a bug which causes data loss if the peripheral returns 103 // Cmd/Stat: 1ccccPPP CCCCCCCC 122 // These macros build the 1st and 2nd bytes for a data header 129 // These macros build the 1st and 2nd bytes for a command header 139 // 1ccccPPP P1P1P1P1 [ P2P2P2P2P2 ]... 142 // value in P1. See 16650.H for definitions of 145 // 08-0B 3-byte commands: ==== P1 ==== ==== P2 ==== 147 // 09 1-param commands Command Code Param [all …]
|
/linux/arch/hexagon/mm/ |
H A D | copy_user_template.S | 9 * X: Load=0, Store=1 25 p1 = cmp.gtu(bytes,#15) define 33 if (!p1) jump .Lsmall 58 p1 = cmp.gtu(bytes,#7) define 62 if (!p1) jump .Lsmall 82 p0 = bitsclr(r3,#1) 84 p1 = cmp.gtu(bytes,#3) define 88 if (!p1) jump .Lsmall 89 loopcount = lsr(bytes,#1) 102 bytes -= asl(loopcount,#1) [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 36 } dot, vco, n, m, m1, m2, p, p1; member 51 .p1 = { .min = 2, .max = 33 }, 64 .p1 = { .min = 2, .max = 33 }, 77 .p1 = { .min = 1, .max = 6 }, 85 .n = { .min = 1, .max = 6 }, 90 .p1 = { .min = 1, .max = 8 }, 98 .n = { .min = 1, .max = 6 }, 103 .p1 = { .min = 1, .max = 8 }, 112 .n = { .min = 1, .max = 4 }, 117 .p1 = { .min = 1, .max = 3}, [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 23 #define MRST_LIMIT_LVDS_83 1 51 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, 57 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_0}, 63 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, 70 .p1 = {.min = 1, .max = 2}, 116 clock->dot = (refclk * clock->m) / (14 * clock->p1); in mrst_lvds_clock() 121 DRM_DEBUG_DRIVER("dotclock=%d, m=%d, m1=%d, m2=%d, n=%d, p1=%d, p2=%d\n", in mrst_print_pll() 123 clock->p1, clock->p2); in mrst_print_pll() 140 for (clock.p1 = limit->p1.min; in mrst_sdvo_find_best_pll() 141 clock.p1 <= limit->p1.max; clock.p1++) { in mrst_sdvo_find_best_pll() [all …]
|