/Linux-v5.10/arch/sparc/crypto/ |
D | opcodes.h | 18 #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 …]
|
/Linux-v5.10/lib/crypto/ |
D | des.c | 7 * 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 …]
|
/Linux-v5.10/include/linux/input/ |
D | adp5589.h | 86 #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 …]
|
/Linux-v5.10/crypto/ |
D | cast6_generic.c | 3 * 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 …]
|
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 15 # | | 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 …]
|
/Linux-v5.10/tools/build/tests/ |
D | run.sh | 5 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 …]
|
/Linux-v5.10/arch/x86/crypto/ |
D | nh-avx2-x86_64.S | 107 // 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 …]
|
D | sha256-ssse3-asm.S | 4 # 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 …]
|
D | sha256-avx-asm.S | 4 # 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 98 INP = %rsi # 2nd arg 102 c = %ecx define 147 d = c 148 c = b define 170 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2)) 173 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2)) 176 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22) [all …]
|
/Linux-v5.10/arch/m68k/lib/ |
D | memset.c | 10 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 …]
|
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 4 # 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 …]
|
/Linux-v5.10/drivers/media/dvb-frontends/ |
D | mn88473.c | 3 * 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 …]
|
D | mn88472.c | 3 * 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 …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | stm32h743-pinctrl.dtsi | 11 * 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 …]
|
/Linux-v5.10/drivers/media/usb/pwc/ |
D | pwc-dec23.c | 3 Decompression for chipset version 2 et 3 4 (C) 2004-2006 Luc Saillard (luc@saillard.org) 24 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) } 127 p0[k + 0x10] = (2 * pw) + 0x80; in build_table_color() 131 p0[k + 0x50] = (-2 * pw) + 0x80; in build_table_color() 161 * if look_bits(2) == 0: # op == 2 in the lookup table 162 * skip_bits(2) 181 * op == 2 when (i%4)==0 258 {0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3,}, 259 {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3,}, [all …]
|
/Linux-v5.10/arch/mips/alchemy/common/ |
D | clock.c | 14 * * 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 …]
|
/Linux-v5.10/arch/arm/crypto/ |
D | sha1-armv4-large.S | 7 @ Public License version 2 as published by the Free Software Foundation. 68 .align 2 82 ldrb r10,[r1,#2] 85 add r7,r8,r7,ror#2 @ E+=K_00_19 94 add r7,r8,r7,ror#2 @ E+=K_00_19 101 and r10,r4,r10,ror#2 103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D) 105 add r7,r7,r10 @ E+=F_00_19(B,C,D) 107 ldrb r10,[r1,#2] 110 add r6,r8,r6,ror#2 @ E+=K_00_19 [all …]
|
/Linux-v5.10/tools/testing/selftests/wireguard/ |
D | netns.sh | 4 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 15 # ││fd00::1/24 ││ │ │127.0.0.1:1 127.0.0.1:2│ │ ││fd00::2/24 ││ 16 # │└───────────────────┘│ │ │[::]:1 [::]:2 │ │ │└───────────────────┘│ 27 export LANG=C 31 netns2="wg-test-$$-2" 32 pretty() { echo -e "\x1b[32m\x1b[1m[+] ${1:+NS$1: }${2}\x1b[0m" >&3; } 37 n2() { pretty 2 "$*"; maybe_exec ip netns exec $netns2 "$@"; } 40 ip2() { pretty 2 "ip $*"; ip -n $netns2 "$@"; } 42 …etty "${1//*-}" "wait for iperf:5201 pid $2"; while [[ $(ss -N "$1" -tlpH 'sport = 5201') != *\"ip… 43 … pretty "${1//*-}" "wait for udp:1111 pid $2"; while [[ $(ss -N "$1" -ulpH 'sport = 1111') != *\"n… [all …]
|
/Linux-v5.10/arch/x86/lib/ |
D | string_32.c | 4 * see especially strsep,strstr,str[c]spn. They should work, but are not 36 asm volatile("1:\tdecl %2\n\t" in strncpy() 37 "js 2f\n\t" in strncpy() 44 "2:" in strncpy() 45 : "=&S" (d0), "=&D" (d1), "=&c" (d2), "=&a" (d3) in strncpy() 46 : "0" (src), "1" (dest), "2" (count) : "memory"); in strncpy() 63 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strcat() 64 : "0" (src), "1" (dest), "2" (0), "3" (0xffffffffu) : "memory"); in strcat() 79 "js 2f\n\t" in strncat() 84 "2:\txorl %2,%2\n\t" in strncat() [all …]
|
/Linux-v5.10/drivers/media/usb/go7007/ |
D | go7007-fw.c | 3 * Copyright (C) 2005-2006 Micronas USA Inc. 32 #define FLAG_MODE_MPEG2 (1<<2) 42 #define SPECIAL_CONFIG 2 80 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 81 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 168 static const u32 addrinctab[33][2] = { 198 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 206 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 210 0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d 238 0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77 [all …]
|
/Linux-v5.10/drivers/media/pci/ttpci/ |
D | av7110_ipack.c | 55 case 2: in send_ipack() 66 ac3_off = ((p->buf[off + 2] << 8)| in send_ipack() 74 p->buf[off + 2] = (ac3_off >> 8) & 0xff; in send_ipack() 149 int c = 0; in av7110_ipack_instant_repack() local 151 while (c < count && (p->mpeg == 0 || in av7110_ipack_instant_repack() 153 (p->mpeg == 2 && p->found < 9)) in av7110_ipack_instant_repack() 158 if (buf[c] == 0x00) in av7110_ipack_instant_repack() 162 c++; in av7110_ipack_instant_repack() 164 case 2: in av7110_ipack_instant_repack() 165 if (buf[c] == 0x01) in av7110_ipack_instant_repack() [all …]
|
/Linux-v5.10/samples/bpf/ |
D | test_lwt_bpf.sh | 27 if [ ! -z "$2" ]; then 28 MAC=$(ip netns exec $2 ip link show $1 | grep ether | awk '{print $2}') 30 MAC=$(ip link show $1 | grep ether | awk '{print $2}') 33 echo "0x${MAC:10:2}${MAC:8:2}${MAC:6:2}${MAC:4:2}${MAC:2:2}${MAC:0:2}" 39 rm test_lwt_bpf.o 2> /dev/null 40 ip link del $VETH0 2> /dev/null 41 ip link del $VETH1 2> /dev/null 42 ip link del $VETH2 2> /dev/null 43 ip link del $VETH3 2> /dev/null 45 ip netns delete $NS1 2> /dev/null [all …]
|
/Linux-v5.10/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 5 * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 33 .long R(c6, 63, 63, a5), R(f8, 7c, 7c, 84) 38 .long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d) 47 .long R(23, 9c, 9c, bf), R(53, a4, a4, f7) 49 .long R(75, b7, b7, c2), R(e1, fd, fd, 1c) 50 .long R(3d, 93, 93, ae), R(4c, 26, 26, 6a) [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | Makefile | 89 # $2 - optional "flavor" specifier; if provided, will be emitted as [flavor]; 97 msg = @printf ' %-8s%s %s%s\n' "$(1)" "$(if $(2), [$(2)])" "$(notdir $(3))" "$(if $(4), $(4))"; 127 $(OUTPUT)/%.o: %.c 129 $(Q)$(CC) $(CFLAGS) -c $(filter %.c,$^) $(LDLIBS) -o $@ 131 $(OUTPUT)/%:%.c 133 $(Q)$(LINK.c) $^ $(LDLIBS) -o $@ 135 $(OUTPUT)/urandom_read: urandom_read.c 139 $(OUTPUT)/test_stub.o: test_stub.c $(BPFOBJ) 141 $(Q)$(CC) -c $(CFLAGS) -o $@ $< 153 $(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower \ [all …]
|
/Linux-v5.10/tools/include/linux/ |
D | jhash.h | 6 * Copyright (C) 2006. Bob Jenkins (bob_jenkins@burtleburtle.net) 12 * lookup3.c, by Bob Jenkins, May 2006, Public Domain. 20 * Copyright (C) 2009-2010 Jozsef Kadlecsik (kadlec@blackhole.kfki.hu) 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ [all …]
|