/linux-6.8/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.h | 3 * Copyright (c) 2022 MediaTek Inc. 16 * Plane count: 1, 2, 3 17 * H-subsample: 0, 1, 2 19 * Color group: 0-RGB, 1-YUV, 2-raw 26 #define MDP_COLOR_IS_COMPRESS(c) ((0x20000000 & (c)) >> 29) argument 27 #define MDP_COLOR_IS_10BIT_PACKED(c) ((0x08000000 & (c)) >> 27) argument 28 #define MDP_COLOR_IS_10BIT_LOOSE(c) (((0x0c000000 & (c)) >> 26) == 1) argument 29 #define MDP_COLOR_IS_10BIT_TILE(c) (((0x0c000000 & (c)) >> 26) == 3) argument 30 #define MDP_COLOR_IS_UFP(c) ((0x02000000 & (c)) >> 25) argument 31 #define MDP_COLOR_IS_INTERLACED(c) ((0x01000000 & (c)) >> 24) argument [all …]
|
/linux-6.8/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-6.8/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-6.8/Documentation/userspace-api/media/v4l/ |
D | yuv-formats.rst | 29 direction are possible, common factors are 1 (no subsampling), 2 and 4, with 34 - `4:2:2`: Horizontal subsampling by 2, no vertical subsampling 35 - `4:2:0`: Horizontal subsampling by 2, vertical subsampling by 2 59 .. flat-table:: 4:2:2 subsampling, interstitially sited 68 - 2 73 - C 77 - C 81 - C 85 - C 87 * - 2 [all …]
|
/linux-6.8/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 | 98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2 111 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64 114 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2 119 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2 [all …]
|
/linux-6.8/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-6.8/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-6.8/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-6.8/arch/x86/crypto/ |
D | nh-avx2-x86_64.S | 108 // 2 or 3 strides remain; do 2 more. 121 // don't affect the result when processing them like 2 strides. 132 // PASS0_SUMS is (0A 0B 0C 0D) 133 // PASS1_SUMS is (1A 1B 1C 1D) 134 // PASS2_SUMS is (2A 2B 2C 2D) 135 // PASS3_SUMS is (3A 3B 3C 3D) 137 // (0A + 0B + 0C + 0D, 138 // 1A + 1B + 1C + 1D, 139 // 2A + 2B + 2C + 2D, 140 // 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 92 INP = %rsi # 2nd arg 96 c = %ecx define 142 d = c 143 c = b define 166 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2)) 169 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2)) 173 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 99 INP = %rsi # 2nd arg 103 c = %ecx define 148 d = c 149 c = b define 171 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2)) 174 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2)) 177 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22) [all …]
|
/linux-6.8/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-6.8/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-6.8/drivers/media/v4l2-core/ |
D | v4l2-vp9.c | 5 * Copyright (C) 2021 Collabora, Ltd. 198 { 2, 44, 76 }, 201 { /* Coeff Band 2 */ 222 { 2, 39, 75 }, 247 { 2, 68, 118 }, 251 { /* Coeff Band 2 */ 300 { 2, 49, 87 }, 303 { /* Coeff Band 2 */ 308 { 2, 42, 81 }, 333 { 2, 20, 47 }, [all …]
|
/linux-6.8/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-6.8/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-6.8/lib/ |
D | bch.c | 5 * under the terms of the GNU General Public License version 2 as published by 39 * better (up to 2x) encoding performance. Using this option makes sense when 51 * c. Error locator root finding (by far the most expensive step) 53 * In this implementation, step c is not performed using the usual Chien search. 57 * solving techniques [2] are used. The resulting algorithm, called BTZ, yields 62 * of characteristic 2, in: Western European Workshop on Research in Cryptology 64 * [2] [Zin96] V.A. Zinoviev. On the solution of equations of degree 10 over 65 * finite fields GF(2^q). In Rapport de recherche INRIA no 2829, 1996. 88 #define BCH_MAX_M 15 /* 2KB */ 102 * represent a polynomial over GF(2^m) [all …]
|
/linux-6.8/tools/testing/selftests/net/ |
D | srv6_end_next_csid_l3vpn_test.sh | 6 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 9 # [2] is assumed for the reader. 12 # two hosts and four routers. Hosts hs-1 and hs-2 are connected through an 13 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using 14 # the NEXT-C-SID flavor. The key components for such VPNs are: 22 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 24 # Compressed SID (C-SID) container. In this way, the length of the SID 26 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End behavior 27 # which advances the current C-SID (i.e. the Locator-Node Function defined 28 # in [2]) with the next one carried in the Argument, if available. [all …]
|
D | srv6_end_x_next_csid_l3vpn_test.sh | 7 # This script is designed for testing the support of NEXT-C-SID flavor for SRv6 10 # [2] is assumed for the reader. 13 # two hosts and four routers. Hosts hs-1 and hs-2 are connected through an 14 # IPv4/IPv6 L3 VPN service, offered by routers rt-1, rt-2, rt-3 and rt-4 using 15 # the NEXT-C-SID flavor. The key components for such VPNs are: 24 # iii) The NEXT-C-SID mechanism [2] offers the possibility of encoding several 26 # Compressed SID (C-SID) container. In this way, the length of the SID 28 # The NEXT-C-SID is provided as a "flavor" of the SRv6 End.X behavior 29 # which advances the current C-SID (i.e. the Locator-Node Function defined 30 # in [2]) with the next one carried in the Argument, if available. [all …]
|
/linux-6.8/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. 15 NUM_NETIFS=2 47 local cmd=$2 56 local seconds=$2 73 local count=$2 104 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ 110 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 113 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ 116 tc_check_packets "dev $h2 ingress" 101 2 119 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 198.51.100.1 -B 198.51.100.2 \ [all …]
|
/linux-6.8/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-6.8/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-6.8/arch/arm/mach-omap1/ |
D | mux.c | 3 * linux/arch/arm/mach-omap1/mux.c 7 * Copyright (C) 2003 - 2008 Nokia Corporation 30 MUX_CFG("UART1_TX", 9, 21, 1, 2, 3, 0, NA, 0, 0) 31 MUX_CFG("UART1_RTS", 9, 12, 1, 2, 0, 0, NA, 0, 0) 34 MUX_CFG("UART2_TX", C, 27, 1, 3, 3, 0, NA, 0, 0) 35 MUX_CFG("UART2_RX", C, 18, 0, 3, 1, 1, NA, 0, 0) 36 MUX_CFG("UART2_CTS", C, 21, 0, 3, 1, 1, NA, 0, 0) 37 MUX_CFG("UART2_RTS", C, 24, 1, 3, 2, 0, NA, 0, 0) 42 MUX_CFG("UART3_CTS", 5, 12, 2, 0, 24, 0, NA, 0, 0) 43 MUX_CFG("UART3_RTS", 5, 15, 2, 0, 25, 0, NA, 0, 0) [all …]
|
/linux-6.8/drivers/staging/media/av7110/ |
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 …]
|