Home
last modified time | relevance | path

Searched +full:2 +full:c (Results 1 – 25 of 5752) sorted by relevance

12345678910>>...231

/kernel/linux/linux-5.10/arch/sparc/crypto/
Dopcodes.h18 #define CRC32C(a,b,c) \ argument
19 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c));
30 #define AES_EROUND01(a,b,c,d) \ argument
31 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d));
32 #define AES_EROUND23(a,b,c,d) \ argument
33 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d));
34 #define AES_DROUND01(a,b,c,d) \ argument
35 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d));
36 #define AES_DROUND23(a,b,c,d) \ argument
37 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d));
[all …]
/kernel/linux/linux-4.19/arch/sparc/crypto/
Dopcodes.h18 #define CRC32C(a,b,c) \ argument
19 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c));
30 #define AES_EROUND01(a,b,c,d) \ argument
31 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d));
32 #define AES_EROUND23(a,b,c,d) \ argument
33 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d));
34 #define AES_DROUND01(a,b,c,d) \ argument
35 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d));
36 #define AES_DROUND23(a,b,c,d) \ argument
37 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d));
[all …]
/kernel/linux/linux-5.10/lib/crypto/
Ddes.c7 * Copyright (c) 2005 Dag Arne Osvik <da@osvik.no>
596 * PC2 lookup tables are organized as 2 consecutive sets of 4 interleaved
600 * After PC1 each of the variables a,b,c,d contains a 7 bit subset of C_i
604 #define T1(x) pt[2 * (x) + 0]
605 #define T2(x) pt[2 * (x) + 1]
606 #define T3(x) pt[2 * (x) + 2]
607 #define T4(x) pt[2 * (x) + 3]
609 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument
619 * alternating zero-one patterns in the C and D registers after Permuted
626 unsigned long a, b, c, d, w; in des_ekey() local
[all …]
/kernel/linux/linux-4.19/crypto/
Ddes_generic.c6 * Copyright (c) 2005 Dag Arne Osvik <da@osvik.no>
10 * the Free Software Foundation; either version 2 of the License, or
604 * PC2 lookup tables are organized as 2 consecutive sets of 4 interleaved
608 * After PC1 each of the variables a,b,c,d contains a 7 bit subset of C_i
612 #define T1(x) pt[2 * (x) + 0]
613 #define T2(x) pt[2 * (x) + 1]
614 #define T3(x) pt[2 * (x) + 2]
615 #define T4(x) pt[2 * (x) + 3]
617 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument
627 * alternating zero-one patterns in the C and D registers after Permuted
[all …]
Dcast6_generic.c2 * cast6.c - Cast6 cipher algorithm [rfc2612].
8 * Copyright (C) 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>.
12 * Software Foundation; either version 2 of the License, or (at your option)
105 key[4] ^= F3(key[5], Tr[i % 4][2], Tm[i][2]); in W()
107 key[2] ^= F2(key[3], Tr[i % 4][4], Tm[i][4]); in W()
108 key[1] ^= F3(key[2], Tr[i % 4][5], Tm[i][5]); in W()
113 int __cast6_setkey(struct cast6_ctx *c, const u8 *in_key, in __cast6_setkey() argument
130 key[2] = be32_to_cpu(p_key[2]); /* C */ in __cast6_setkey()
138 W(key, 2 * i); in __cast6_setkey()
139 W(key, 2 * i + 1); in __cast6_setkey()
[all …]
/kernel/linux/linux-5.10/crypto/
Dcast6_generic.c3 * cast6.c - Cast6 cipher algorithm [rfc2612].
9 * Copyright (C) 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>.
98 key[4] ^= F3(key[5], Tr[i % 4][2], Tm[i][2]); 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()
106 int __cast6_setkey(struct cast6_ctx *c, const u8 *in_key, unsigned int key_len) in __cast6_setkey() argument
120 key[2] = be32_to_cpu(p_key[2]); /* C */ in __cast6_setkey()
128 W(key, 2 * i); in __cast6_setkey()
129 W(key, 2 * i + 1); in __cast6_setkey()
131 c->Kr[i][0] = key[0] & 0x1f; in __cast6_setkey()
[all …]
/kernel/linux/linux-4.19/include/linux/input/
Dadp5589.h6 * Licensed under the GPL-2.
87 #define ADP5589_SCAN_CYCLE_30ms 2
93 #define RESET_PULSE_WIDTH_2ms 2
96 #define RESET_TRIG_TIME_0ms (0 << 2)
97 #define RESET_TRIG_TIME_1000ms (1 << 2)
98 #define RESET_TRIG_TIME_1500ms (2 << 2)
99 #define RESET_TRIG_TIME_2000ms (3 << 2)
100 #define RESET_TRIG_TIME_2500ms (4 << 2)
101 #define RESET_TRIG_TIME_3000ms (5 << 2)
102 #define RESET_TRIG_TIME_3500ms (6 << 2)
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh15 # | | default via 2001:db8:1::2 |
22 # | 2001:db8:1::2/64 |
24 # | 2001:db8:2::2/64 |
32 # | | default via 2001:db8:2::2 |
34 # | | 2001:db8:2::1/64 |
96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
101 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
109 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64
112 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
117 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
[all …]
/kernel/linux/linux-5.10/include/linux/input/
Dadp5589.h86 #define ADP5589_SCAN_CYCLE_30ms 2
92 #define RESET_PULSE_WIDTH_2ms 2
95 #define RESET_TRIG_TIME_0ms (0 << 2)
96 #define RESET_TRIG_TIME_1000ms (1 << 2)
97 #define RESET_TRIG_TIME_1500ms (2 << 2)
98 #define RESET_TRIG_TIME_2000ms (3 << 2)
99 #define RESET_TRIG_TIME_2500ms (4 << 2)
100 #define RESET_TRIG_TIME_3000ms (5 << 2)
101 #define RESET_TRIG_TIME_3500ms (6 << 2)
102 #define RESET_TRIG_TIME_4000ms (7 << 2)
[all …]
/kernel/linux/linux-5.10/tools/build/tests/
Drun.sh5 make -C ex V=1 clean > ex.out 2>&1
6 make -C ex V=1 >> ex.out 2>&1
13 make -C ex V=1 clean > /dev/null 2>&1
18 make -C ex V=1 clean > ex.out 2>&1
21 make -rR -C ex V=1 ex.o >> ex.out 2>&1
22 make -rR -C ex V=1 ex.i >> ex.out 2>&1
23 make -rR -C ex V=1 ex.s >> ex.out 2>&1
35 make -C ex V=1 clean > /dev/null 2>&1
40 make -C ex V=1 clean > ex.out 2>&1
44 make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1
[all …]
/kernel/linux/linux-4.19/tools/build/tests/
Drun.sh5 make -C ex V=1 clean > ex.out 2>&1
6 make -C ex V=1 >> ex.out 2>&1
13 make -C ex V=1 clean > /dev/null 2>&1
18 make -C ex V=1 clean > ex.out 2>&1
21 make -rR -C ex V=1 ex.o >> ex.out 2>&1
22 make -rR -C ex V=1 ex.i >> ex.out 2>&1
23 make -rR -C ex V=1 ex.s >> ex.out 2>&1
35 make -C ex V=1 clean > /dev/null 2>&1
40 make -C ex V=1 clean > ex.out 2>&1
44 make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1
[all …]
/kernel/linux/linux-4.19/arch/m68k/lib/
Dmemset.c10 void *memset(void *s, int c, size_t count) in memset() argument
17 c &= 0xff; in memset()
18 c |= c << 8; in memset()
19 c |= c << 16; in memset()
22 *cs++ = c; in memset()
26 if (count > 2 && (long)s & 2) { in memset()
28 *ss++ = c; in memset()
30 count -= 2; in memset()
32 temp = count >> 2; in memset()
37 *ls++ = c; in memset()
[all …]
/kernel/linux/linux-5.10/arch/m68k/lib/
Dmemset.c10 void *memset(void *s, int c, size_t count) in memset() argument
17 c &= 0xff; in memset()
18 c |= c << 8; in memset()
19 c |= c << 16; in memset()
22 *cs++ = c; in memset()
26 if (count > 2 && (long)s & 2) { in memset()
28 *ss++ = c; in memset()
30 count -= 2; in memset()
32 temp = count >> 2; in memset()
37 *ls++ = c; in memset()
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dnh-avx2-x86_64.S107 // 2 or 3 strides remain; do 2 more.
120 // don't affect the result when processing them like 2 strides.
131 // PASS0_SUMS is (0A 0B 0C 0D)
132 // PASS1_SUMS is (1A 1B 1C 1D)
133 // PASS2_SUMS is (2A 2B 2C 2D)
134 // PASS3_SUMS is (3A 3B 3C 3D)
136 // (0A + 0B + 0C + 0D,
137 // 1A + 1B + 1C + 1D,
138 // 2A + 2B + 2C + 2D,
139 // 3A + 3B + 3C + 3D)
[all …]
Dsha256-ssse3-asm.S4 # Copyright (C) 2013 Intel Corporation.
9 # Tim Chen <tim.c.chen@linux.intel.com>
13 # General Public License (GPL) Version 2, available from the file
91 INP = %rsi # 2nd arg
95 c = %ecx define
141 d = c
142 c = b define
165 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
168 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
172 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dmn88473.c3 * Panasonic MN88473 DVB-T/T2/C demodulator driver
5 * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
21 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mn88473_set_frontend() local
30 c->delivery_system, c->modulation, c->frequency, in mn88473_set_frontend()
31 c->bandwidth_hz, c->symbol_rate, c->inversion, c->stream_id); in mn88473_set_frontend()
38 switch (c->delivery_system) { in mn88473_set_frontend()
59 switch (c->delivery_system) { in mn88473_set_frontend()
62 switch (c->bandwidth_hz) { in mn88473_set_frontend()
106 if_val[2] = (uitmp >> 0) & 0xff; in mn88473_set_frontend()
108 ret = regmap_write(dev->regmap[2], 0x05, 0x00); in mn88473_set_frontend()
[all …]
Dmn88472.c3 * Panasonic MN88472 DVB-T/T2/C demodulator driver
5 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
21 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mn88472_read_status() local
31 switch (c->delivery_system) { in mn88472_read_status()
43 ret = regmap_read(dev->regmap[2], 0x92, &utmp); in mn88472_read_status()
74 for (i = 0; i < 2; i++) { in mn88472_read_status()
75 ret = regmap_bulk_read(dev->regmap[2], 0x8e + i, in mn88472_read_status()
81 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88472_read_status()
84 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mn88472_read_status()
85 c->strength.stat[0].uvalue = utmp1; in mn88472_read_status()
[all …]
/kernel/linux/linux-4.19/drivers/media/dvb-frontends/
Dmn88473.c2 * Panasonic MN88473 DVB-T/T2/C demodulator driver
4 * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
8 * the Free Software Foundation; either version 2 of the License, or
30 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mn88473_set_frontend() local
39 c->delivery_system, c->modulation, c->frequency, in mn88473_set_frontend()
40 c->bandwidth_hz, c->symbol_rate, c->inversion, c->stream_id); in mn88473_set_frontend()
47 switch (c->delivery_system) { in mn88473_set_frontend()
68 switch (c->delivery_system) { in mn88473_set_frontend()
71 switch (c->bandwidth_hz) { in mn88473_set_frontend()
115 if_val[2] = (uitmp >> 0) & 0xff; in mn88473_set_frontend()
[all …]
Dmn88472.c2 * Panasonic MN88472 DVB-T/T2/C demodulator driver
4 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
8 * the Free Software Foundation; either version 2 of the License, or
30 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mn88472_read_status() local
40 switch (c->delivery_system) { in mn88472_read_status()
52 ret = regmap_read(dev->regmap[2], 0x92, &utmp); in mn88472_read_status()
83 for (i = 0; i < 2; i++) { in mn88472_read_status()
84 ret = regmap_bulk_read(dev->regmap[2], 0x8e + i, in mn88472_read_status()
90 utmp1 = buf[0] << 8 | buf[1] << 0 | buf[0] >> 2; in mn88472_read_status()
93 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mn88472_read_status()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh4 # This test is for checking the A-TCAM and C-TCAM operation in Spectrum-2.
14 NUM_NETIFS=2
46 local cmd=$2
55 local seconds=$2
72 local count=$2
103 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
112 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
115 tc_check_packets "dev $h2 ingress" 101 2
118 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 198.51.100.1 -B 198.51.100.2 \
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32h743-pinctrl.dtsi11 * published by the Free Software Foundation; either version 2 of the
58 #gpio-cells = <2>;
63 #interrupt-cells = <2>;
68 #gpio-cells = <2>;
73 #interrupt-cells = <2>;
78 #gpio-cells = <2>;
83 #interrupt-cells = <2>;
88 #gpio-cells = <2>;
93 #interrupt-cells = <2>;
98 #gpio-cells = <2>;
[all …]
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Dclock.c14 * * output divided between [2 .. 512 in steps of 2] (!Au1300)
20 * * divide this input by 1, 2, or 4 (and 3 on Au1300).
24 * - sysbus clock: CPU core clock (CPUPLL) divided by 2, 3 or 4.
143 preset_lpj /= 2 * HZ; in alchemy_set_lpj()
245 struct clk *c; in alchemy_clk_setup_aux() local
262 c = clk_register(NULL, &a->hw); in alchemy_clk_setup_aux()
263 if (!IS_ERR(c)) in alchemy_clk_setup_aux()
264 clk_register_clkdev(c, name, NULL); in alchemy_clk_setup_aux()
268 return c; in alchemy_clk_setup_aux()
275 unsigned long v = (alchemy_rdsys(AU1000_SYS_POWERCTRL) & 3) + 2; in alchemy_clk_setup_sysbus()
[all …]
/kernel/linux/linux-4.19/arch/mips/alchemy/common/
Dclock.c14 * * output divided between [2 .. 512 in steps of 2] (!Au1300)
20 * * divide this input by 1, 2, or 4 (and 3 on Au1300).
24 * - sysbus clock: CPU core clock (CPUPLL) divided by 2, 3 or 4.
143 preset_lpj /= 2 * HZ; in alchemy_set_lpj()
238 struct clk *c; in alchemy_clk_setup_aux() local
255 c = clk_register(NULL, &a->hw); in alchemy_clk_setup_aux()
256 if (!IS_ERR(c)) in alchemy_clk_setup_aux()
257 clk_register_clkdev(c, name, NULL); in alchemy_clk_setup_aux()
261 return c; in alchemy_clk_setup_aux()
268 unsigned long v = (alchemy_rdsys(AU1000_SYS_POWERCTRL) & 3) + 2; in alchemy_clk_setup_sysbus()
[all …]
/kernel/linux/linux-4.19/arch/x86/crypto/
Dsha256-ssse3-asm.S4 # Copyright (C) 2013 Intel Corporation.
9 # Tim Chen <tim.c.chen@linux.intel.com>
13 # General Public License (GPL) Version 2, available from the file
91 INP = %rsi # 2nd arg
95 c = %ecx define
141 d = c
142 c = b define
165 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
168 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
172 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/pwc/
Dpwc-dec23.c2 Decompression for chipset version 2 et 3
3 (C) 2004-2006 Luc Saillard (luc@saillard.org)
13 the Free Software Foundation; either version 2 of the License, or
36 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) }
139 p0[k + 0x10] = (2 * pw) + 0x80; in build_table_color()
143 p0[k + 0x50] = (-2 * pw) + 0x80; in build_table_color()
173 * if look_bits(2) == 0: # op == 2 in the lookup table
174 * skip_bits(2)
193 * op == 2 when (i%4)==0
270 {0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3,},
[all …]

12345678910>>...231