Home
last modified time | relevance | path

Searched +full:4 +full:c (Results 1 – 25 of 4806) sorted by relevance

12345678910>>...193

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dintel.c67 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() argument
69 switch (c->x86_model) { in check_memory_type_self_snoop_errata()
95 static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) in probe_xeon_phi_r3mwait() argument
101 if (c->x86 != 6) in probe_xeon_phi_r3mwait()
103 switch (c->x86_model) { in probe_xeon_phi_r3mwait()
114 set_cpu_cap(c, X86_FEATURE_RING3MWAIT); in probe_xeon_phi_r3mwait()
118 if (c == &boot_cpu_data) in probe_xeon_phi_r3mwait()
159 static bool bad_spectre_microcode(struct cpuinfo_x86 *c) in bad_spectre_microcode() argument
167 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) in bad_spectre_microcode()
170 if (c->x86 != 6) in bad_spectre_microcode()
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
Dintel.c73 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() argument
75 switch (c->x86_vfm) { in check_memory_type_self_snoop_errata()
101 static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) in probe_xeon_phi_r3mwait() argument
107 if (c->x86 != 6) in probe_xeon_phi_r3mwait()
109 switch (c->x86_vfm) { in probe_xeon_phi_r3mwait()
120 set_cpu_cap(c, X86_FEATURE_RING3MWAIT); in probe_xeon_phi_r3mwait()
124 if (c == &boot_cpu_data) in probe_xeon_phi_r3mwait()
165 static bool bad_spectre_microcode(struct cpuinfo_x86 *c) in bad_spectre_microcode() argument
173 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) in bad_spectre_microcode()
177 if (c->x86_vfm == spectre_bad_microcodes[i].vfm && in bad_spectre_microcode()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dsha256-core.S_shipped42 // on Cortex-A53 (or by 4 cycles per round).
95 sub sp,sp,#4*4
98 ldp w22,w23,[x0,#2*4]
99 ldp w24,w25,[x0,#4*4]
101 ldp w26,w27,[x0,#6*4]
106 ldp w3,w4,[x1],#2*4
107 ldr w19,[x30],#4 // *K++
120 eor w19,w20,w21 // a^b, b^c in next round
126 and w28,w28,w19 // (b^c)&=(a^b)
128 eor w28,w28,w21 // Maj(a,b,c)
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dtwofish-i586-asm_32.S3 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
17 #define ctx 4 /* Twofish context structure */
20 #define b_offset 4
63 * c input register containing c
67 #define encrypt_round(a,b,c,d,round)\ argument
70 mov s1(%ebp,%edi,4),d ## D;\
72 mov s2(%ebp,%edi,4),%esi;\
75 xor s2(%ebp,%edi,4),d ## D;\
78 xor s3(%ebp,%edi,4),%esi;\
80 xor s3(%ebp,%edi,4),d ## D;\
[all …]
Dtwofish-x86_64-asm_64.S3 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
14 #define b_offset 4
62 * c input register containing c
66 #define encrypt_round(a,b,c,d,round)\ argument
68 mov s1(%r11,%rdi,4),%r8d;\
70 mov s2(%r11,%rdi,4),%r9d;\
73 xor s2(%r11,%rdi,4),%r8d;\
76 xor s3(%r11,%rdi,4),%r9d;\
78 xor s3(%r11,%rdi,4),%r8d;\
80 xor (%r11,%rdi,4), %r9d;\
[all …]
/kernel/linux/linux-6.6/arch/x86/crypto/
Dtwofish-i586-asm_32.S3 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
17 #define ctx 4 /* Twofish context structure */
20 #define b_offset 4
63 * c input register containing c
67 #define encrypt_round(a,b,c,d,round)\ argument
70 mov s1(%ebp,%edi,4),d ## D;\
72 mov s2(%ebp,%edi,4),%esi;\
75 xor s2(%ebp,%edi,4),d ## D;\
78 xor s3(%ebp,%edi,4),%esi;\
80 xor s3(%ebp,%edi,4),d ## D;\
[all …]
Dtwofish-x86_64-asm_64.S3 * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> *
14 #define b_offset 4
62 * c input register containing c
66 #define encrypt_round(a,b,c,d,round)\ argument
68 mov s1(%r11,%rdi,4),%r8d;\
70 mov s2(%r11,%rdi,4),%r9d;\
73 xor s2(%r11,%rdi,4),%r8d;\
76 xor s3(%r11,%rdi,4),%r9d;\
78 xor s3(%r11,%rdi,4),%r8d;\
80 xor (%r11,%rdi,4), %r9d;\
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Dsha256-core.S_shipped113 sub sp,sp,#16*4 @ alloca(X[16])
116 ldr r2,[r1],#4
123 @ ldr r2,[r1],#4 @ 0
125 str r1,[sp,#17*4] @ make room for r1
128 add r4,r4,r12 @ h+=Maj(a,b,c) from the past
135 add r4,r4,r12 @ h+=Maj(a,b,c) from the past
139 ldrb r12,[r1],#4
142 str r1,[sp,#17*4] @ make room for r1
148 ldr r12,[r14],#4 @ *K256++
150 str r2,[sp,#0*4]
[all …]
Dsha1-armv4-large.S31 @ full unroll ~5100/+260% ~1260/+4% ~1300/+5%
76 sub sp,sp,#15*4
86 ldrb r12,[r1],#4
93 ldr r9,[r1],#4 @ handles unaligned
103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D)
104 str r9,[r14,#-4]!
105 add r7,r7,r10 @ E+=F_00_19(B,C,D)
111 ldrb r12,[r1],#4
118 ldr r9,[r1],#4 @ handles unaligned
128 eor r10,r10,r5,ror#2 @ F_00_19(B,C,D)
[all …]
/kernel/linux/linux-6.6/arch/microblaze/lib/
Dmemmove.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memmove.
34 void *memmove(void *v_dst, const void *v_src, __kernel_size_t c) in memmove() argument
41 if (!c) in memmove()
46 return memcpy(v_dst, v_src, c); in memmove()
56 dst += c; in memmove()
57 src += c; in memmove()
[all …]
Dmemcpy.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memcpy.
35 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy() argument
49 if (likely(c >= 4)) { in memcpy()
57 --c; in memcpy()
61 --c; in memcpy()
65 --c; in memcpy()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/lib/
Dmemmove.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memmove.
35 void *memmove(void *v_dst, const void *v_src, __kernel_size_t c) in memmove() argument
40 if (!c) in memmove()
45 return memcpy(v_dst, v_src, c); in memmove()
48 src += c; in memmove()
49 dst += c; in memmove()
[all …]
Dmemcpy.c2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2007 John Williams
6 * Reasonably optimised generic C-code for memcpy on Microblaze
7 * This is generic C code to do efficient, alignment-aware memcpy.
36 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy() argument
42 while (c--) in memcpy()
48 void *memcpy(void *v_dst, const void *v_src, __kernel_size_t c) in memcpy() argument
62 if (likely(c >= 4)) { in memcpy()
70 --c; in memcpy()
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dyuv-formats.rst29 direction are possible, common factors are 1 (no subsampling), 2 and 4, with
33 - `4:4:4`: No subsampling
34 - `4:2:2`: Horizontal subsampling by 2, no vertical subsampling
35 - `4:2:0`: Horizontal subsampling by 2, vertical subsampling by 2
36 - `4:1:1`: Horizontal subsampling by 4, no vertical subsampling
37 - `4:1:0`: Horizontal subsampling by 4, vertical subsampling by 4
56 The following examples show different combination of chroma siting in a 4x4
59 .. flat-table:: 4:2:2 subsampling, interstitially sited
73 - C
77 - C
[all …]
/kernel/linux/linux-6.6/arch/arm/crypto/
Dsha1-armv4-large.S31 @ full unroll ~5100/+260% ~1260/+4% ~1300/+5%
76 sub sp,sp,#15*4
86 ldrb r12,[r1],#4
93 ldr r9,[r1],#4 @ handles unaligned
103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D)
104 str r9,[r14,#-4]!
105 add r7,r7,r10 @ E+=F_00_19(B,C,D)
111 ldrb r12,[r1],#4
118 ldr r9,[r1],#4 @ handles unaligned
128 eor r10,r10,r5,ror#2 @ F_00_19(B,C,D)
[all …]
/kernel/linux/linux-5.10/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
Dtie-asm.h9 * Copyright (C) 1999-2009 Tensilica Inc.
39 xchal_sa_align \ptr, 0, 1024-4, 4, 4
42 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
45 xchal_sa_align \ptr, 0, 1024-4, 4, 4
48 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
51 xchal_sa_align \ptr, 0, 1024-4, 4, 4
54 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
66 xchal_sa_align \ptr, 0, 1024-4, 4, 4
69 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
72 xchal_sa_align \ptr, 0, 1024-4, 4, 4
[all …]
/kernel/linux/linux-6.6/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
Dtie-asm.h9 * Copyright (C) 1999-2009 Tensilica Inc.
39 xchal_sa_align \ptr, 0, 1024-4, 4, 4
42 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
45 xchal_sa_align \ptr, 0, 1024-4, 4, 4
48 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
51 xchal_sa_align \ptr, 0, 1024-4, 4, 4
54 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
66 xchal_sa_align \ptr, 0, 1024-4, 4, 4
69 .set .Lxchal_ofs_, .Lxchal_ofs_ + 4
72 xchal_sa_align \ptr, 0, 1024-4, 4, 4
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dso_txtime.sh20 ./so_txtime -4 -6 -c mono a,-1 a,-1
21 ./so_txtime -4 -6 -c mono a,0 a,0
22 ./so_txtime -4 -6 -c mono a,10 a,10
23 ./so_txtime -4 -6 -c mono a,10,b,20 a,10,b,20
24 ./so_txtime -4 -6 -c mono a,20,b,10 b,20,a,20
27 ! ./so_txtime -4 -6 -c tai a,-1 a,-1
28 ! ./so_txtime -4 -6 -c tai a,0 a,0
29 ./so_txtime -4 -6 -c tai a,10 a,10
30 ./so_txtime -4 -6 -c tai a,10,b,20 a,10,b,20
31 ./so_txtime -4 -6 -c tai a,20,b,10 b,10,a,20
/kernel/linux/linux-6.6/crypto/
Dcast6_generic.c3 * cast6.c - Cast6 cipher algorithm [rfc2612].
9 * Copyright (C) 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>.
85 static const u8 Tr[4][8] = {
96 key[6] ^= F1(key[7], Tr[i % 4][0], Tm[i][0]); in W()
97 key[5] ^= F2(key[6], Tr[i % 4][1], Tm[i][1]); in W()
98 key[4] ^= F3(key[5], Tr[i % 4][2], Tm[i][2]); in W()
99 key[3] ^= F1(key[4], Tr[i % 4][3], Tm[i][3]); in W()
100 key[2] ^= F2(key[3], Tr[i % 4][4], Tm[i][4]); in W()
101 key[1] ^= F3(key[2], Tr[i % 4][5], Tm[i][5]); in W()
102 key[0] ^= F1(key[1], Tr[i % 4][6], Tm[i][6]); in W()
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/pwc/
Dpwc-dec23.c4 (C) 2004-2006 Luc Saillard (luc@saillard.org)
24 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) }
129 p0[k + 0x30] = (4 * pw) + 0x80; in build_table_color()
133 p0[k + 0x70] = (-4 * pw) + 0x80; in build_table_color()
166 * yyyy = get_bits(4)
181 * op == 2 when (i%4)==0
186 static const unsigned char hash_table_ops[64*4] = {
260 {4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4,},
262 {4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4,},
268 {4, 5, 5, 4, 5, 4, 4, 5, 5, 4, 4, 5, 4, 5, 5, 4,},
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-dec23.c4 (C) 2004-2006 Luc Saillard (luc@saillard.org)
24 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) }
129 p0[k + 0x30] = (4 * pw) + 0x80; in build_table_color()
133 p0[k + 0x70] = (-4 * pw) + 0x80; in build_table_color()
166 * yyyy = get_bits(4)
181 * op == 2 when (i%4)==0
186 static const unsigned char hash_table_ops[64*4] = {
260 {4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4,},
262 {4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4, 4, 5, 5, 4,},
268 {4, 5, 5, 4, 5, 4, 4, 5, 5, 4, 4, 5, 4, 5, 5, 4,},
[all …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dtsc2007.h4 * Copyright (c) 2008 MtekVision Co., Ltd.
8 * - ads7846.c
9 * Copyright (c) 2005 David Brownell
10 * Copyright (c) 2006 Nokia Corporation
11 * - corgi_ts.c
12 * Copyright (C) 2004-2005 Richard Purdie
13 * - omap_ts.[hc], ads7846.h, ts_osk.c
14 * Copyright (C) 2002 MontaVista Software
15 * Copyright (C) 2004 Texas Instruments
16 * Copyright (C) 2005 Dirk Behme
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dtsc2007.h4 * Copyright (c) 2008 MtekVision Co., Ltd.
8 * - ads7846.c
9 * Copyright (c) 2005 David Brownell
10 * Copyright (c) 2006 Nokia Corporation
11 * - corgi_ts.c
12 * Copyright (C) 2004-2005 Richard Purdie
13 * - omap_ts.[hc], ads7846.h, ts_osk.c
14 * Copyright (C) 2002 MontaVista Software
15 * Copyright (C) 2004 Texas Instruments
16 * Copyright (C) 2005 Dirk Behme
[all …]
/kernel/linux/linux-5.10/arch/nios2/lib/
Dmemset.c2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd
13 void *memset(void *s, int c, size_t count) in memset() argument
20 c &= 0xFF; in memset()
26 *xs++ = c; in memset()
31 /* fill8 %3, %5 (c & 0xff) */ in memset()
32 " slli %4, %5, 8\n" in memset()
33 " or %4, %4, %5\n" in memset()
34 " slli %3, %4, 16\n" in memset()
35 " or %3, %3, %4\n" in memset()
[all …]
/kernel/linux/linux-6.6/arch/nios2/lib/
Dmemset.c2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd
13 void *memset(void *s, int c, size_t count) in memset() argument
20 c &= 0xFF; in memset()
26 *xs++ = c; in memset()
31 /* fill8 %3, %5 (c & 0xff) */ in memset()
32 " slli %4, %5, 8\n" in memset()
33 " or %4, %4, %5\n" in memset()
34 " slli %3, %4, 16\n" in memset()
35 " or %3, %3, %4\n" in memset()
[all …]

12345678910>>...193