/Linux-v6.1/arch/x86/kernel/cpu/ |
D | intel.c | 73 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() argument 75 switch (c->x86_model) { 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_model) { 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() 176 if (c->x86 != 6) in bad_spectre_microcode() [all …]
|
/Linux-v6.1/arch/x86/crypto/ |
D | twofish-i586-asm_32.S | 3 * 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 …]
|
D | twofish-x86_64-asm_64.S | 3 * 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 …]
|
D | sha256-avx2-asm.S | 4 # Copyright (C) 2013 Intel Corporation. 9 # Tim Chen <tim.c.chen@linux.intel.com> 48 # This code schedules 2 blocks at a time, with 4 lanes per block 95 c = %ecx define 115 _XFER_SIZE = 2*64*4 # 2 blocks, 64 rounds, 4 bytes/round 147 d = c 148 c = b define 161 or c, y3 # y3 = a|c # MAJA 162 vpalignr $4, X2, X3, XTMP0 # XTMP0 = W[-7] 176 and b, y3 # y3 = (a|c)&b # MAJA [all …]
|
/Linux-v6.1/arch/microblaze/lib/ |
D | memmove.c | 2 * 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 …]
|
D | memcpy.c | 2 * 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 …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | yuv-formats.rst | 29 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 …]
|
/Linux-v6.1/arch/arm/crypto/ |
D | sha1-armv4-large.S | 31 @ 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 …]
|
/Linux-v6.1/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
D | tie-asm.h | 9 * 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 …]
|
/Linux-v6.1/crypto/ |
D | cast6_generic.c | 3 * 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 …]
|
/Linux-v6.1/drivers/media/usb/pwc/ |
D | pwc-dec23.c | 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) } 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 …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | tsc2007.h | 4 * 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 …]
|
/Linux-v6.1/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 3 * 4K AES tables for PPC AES implementation 5 * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 12 * one required). Thus they are aligned to 4K. The locality of rotated values 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) 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 47 .long R(23, 9c, 9c, bf), R(53, a4, a4, f7) [all …]
|
/Linux-v6.1/net/ceph/ |
D | armor.c | 15 static int encode_bits(int c) in encode_bits() argument 17 return pem_key[c]; in encode_bits() 20 static int decode_bits(char c) in decode_bits() argument 22 if (c >= 'A' && c <= 'Z') in decode_bits() 23 return c - 'A'; in decode_bits() 24 if (c >= 'a' && c <= 'z') in decode_bits() 25 return c - 'a' + 26; in decode_bits() 26 if (c >= '0' && c <= '9') in decode_bits() 27 return c - '0' + 52; in decode_bits() 28 if (c == '+') in decode_bits() [all …]
|
/Linux-v6.1/arch/nios2/lib/ |
D | memset.c | 2 * 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 …]
|
/Linux-v6.1/arch/arm64/crypto/ |
D | sha1-ce-core.S | 5 * Copyright (C) 2014 Linaro Ltd <ard.biesheuvel@linaro.org> 36 add t1.4s, v\s0\().4s, \rc\().4s 39 sha1\op dg0q, \dg1, t0.4s 41 sha1\op dg0q, dg1s, t0.4s 45 add t0.4s, v\s0\().4s, \rc\().4s 48 sha1\op dg0q, dg2s, t1.4s 53 sha1su0 v\s0\().4s, v\s1\().4s, v\s2\().4s 55 sha1su1 v\s0\().4s, v\s3\().4s 70 loadrc k0.4s, 0x5a827999, w6 71 loadrc k1.4s, 0x6ed9eba1, w6 [all …]
|
/Linux-v6.1/drivers/media/firewire/ |
D | firedtv-avc.c | 5 * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com> 6 * Copyright (C) 2008 Ben Backx <ben@bbackx.com> 7 * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se> 90 static inline void clear_operands(struct avc_command_frame *c, int from, int to) in clear_operands() argument 92 memset(&c->operand[from], 0, to - from + 1); in clear_operands() 95 static void pad_operands(struct avc_command_frame *c, int from) in pad_operands() argument 97 int to = ALIGN(from, 4); in pad_operands() 100 clear_operands(c, from, to); in pad_operands() 138 static int fake_ca_system_ids[4] = { -1, -1, -1, -1 }; 180 data[4] != SFE_VENDOR_DE_COMPANYID_1 || in debug_fcp_opcode() [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_dsc.c | 3 * Copyright (c) 2020-2022, Linaro Limited 34 struct dpu_hw_blk_reg_map *c = &dsc->hw; in dpu_hw_dsc_disable() local 36 DPU_REG_WRITE(c, DSC_COMMON_MODE, 0); in dpu_hw_dsc_disable() 44 struct dpu_hw_blk_reg_map *c = &hw_dsc->hw; in dpu_hw_dsc_config() local 50 DPU_REG_WRITE(c, DSC_COMMON_MODE, mode); in dpu_hw_dsc_config() 58 /* bpp is 6.4 format, 4 LSBs bits are for fractional part */ in dpu_hw_dsc_config() 60 lsb = dsc->bits_per_pixel % 4; in dpu_hw_dsc_config() 61 bpp = dsc->bits_per_pixel / 4; in dpu_hw_dsc_config() 62 bpp *= 4; in dpu_hw_dsc_config() 63 bpp <<= 4; in dpu_hw_dsc_config() [all …]
|
D | dpu_hw_vbif.c | 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 38 struct dpu_hw_blk_reg_map *c; in dpu_hw_clear_errors() local 43 c = &vbif->hw; in dpu_hw_clear_errors() 44 pnd = DPU_REG_READ(c, VBIF_XIN_PND_ERR); in dpu_hw_clear_errors() 45 src = DPU_REG_READ(c, VBIF_XIN_SRC_ERR); in dpu_hw_clear_errors() 52 DPU_REG_WRITE(c, VBIF_XIN_CLR_ERR, pnd | src); in dpu_hw_clear_errors() 58 struct dpu_hw_blk_reg_map *c; in dpu_hw_set_mem_type() local 64 * Assume 4 bits per bit field, 8 fields per 32-bit register so in dpu_hw_set_mem_type() 70 c = &vbif->hw; in dpu_hw_set_mem_type() 78 bit_off = (xin_id & 0x7) * 4; in dpu_hw_set_mem_type() [all …]
|
/Linux-v6.1/arch/m68k/fpsp040/ |
D | tbldo.S | 17 | Copyright (C) Motorola, Inc. 1990 53 .long smovcr |$00-4 fmovecr all 62 .long sintd |$01-4 fint denorm inx 71 .long ssinhd |$02-4 fsinh denorm 80 .long snzrinx |$03-4 fintrz denorm inx 89 .long serror |$04-4 ERROR - illegal extension 98 .long serror |$05-4 ERROR - illegal extension 107 .long slognp1d |$06-4 flognp1 denorm 116 .long serror |$07-4 ERROR - illegal extension 125 .long setoxm1d |$08-4 fetoxm1 denorm [all …]
|
/Linux-v6.1/drivers/watchdog/ |
D | sbc8360.c | 5 * (c) Copyright 2005 Webcon, Inc. 7 * Based on ib700wdt.c, which is based on advantechwdt.c which is based 8 * on acquirewdt.c which is based on wdt.c. 10 * (c) Copyright 2001 Charles Howes <chowes@vsol.net> 12 * Based on advantechwdt.c which is based on acquirewdt.c which 13 * is based on wdt.c. 15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl> 17 * Based on acquirewdt.c which is based on wdt.c. 20 * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, 27 * (c) Copyright 1995 Alan Cox <alan@lxorguk.ukuu.org.uk> [all …]
|
/Linux-v6.1/fs/ext4/ |
D | hash.c | 3 * linux/fs/ext4/hash.c 5 * Copyright (C) 2002 by Theodore Ts'o 16 static void TEA_transform(__u32 buf[4], __u32 const in[]) in TEA_transform() argument 20 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local 25 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 26 b1 += ((b0 << 4)+c) ^ (b0+sum) ^ ((b0 >> 5)+d); in TEA_transform() 44 #define ROUND(f, a, b, c, d, x, s) \ argument 45 (a += f(b, c, d) + x, a = rol32(a, s)) 53 static __u32 half_md4_transform(__u32 buf[4], __u32 const in[8]) in half_md4_transform() argument 55 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in half_md4_transform() local [all …]
|
/Linux-v6.1/tools/testing/selftests/kvm/aarch64/ |
D | get-reg-list.c | 5 * Copyright (C) 2020, Red Hat, Inc. 59 #define for_each_sublist(c, s) \ argument 60 for ((s) = &(c)->sublists[0]; (s)->regs; ++(s)) 77 static const char *config_name(struct vcpu_config *c) in config_name() argument 82 if (c->name) in config_name() 83 return c->name; in config_name() 85 for_each_sublist(c, s) in config_name() 88 c->name = malloc(len); in config_name() 91 for_each_sublist(c, s) { in config_name() 94 strcat(c->name + len, s->name); in config_name() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | ieee802154.rst | 2 IEEE 802.15.4 Developer's Guide 7 The IEEE 802.15.4 working group focuses on standardization of the bottom 15 of the IEEE 802.15.4 and 6LoWPAN protocols. IEEE 802.15.4 is a stack 20 - IEEE 802.15.4 layer; We have chosen to use plain Berkeley socket API, 21 the generic Linux networking stack to transfer IEEE 802.15.4 data 41 The IEEE 802.15.4 standard specifies an MTU of 127 bytes, yielding about 80 68 Like with WiFi, there are several types of devices implementing IEEE 802.15.4. 97 The MAC is the middle layer in the IEEE 802.15.4 Linux stack. This moment it 100 NOTE: Currently the only monitor device type is supported - it's IEEE 802.15.4 112 SoftMAC (fakelb - IEEE 802.15.4 loopback driver) interface. This option [all …]
|
/Linux-v6.1/arch/powerpc/perf/ |
D | ppc970-pmu.c | 23 #define PM_BYTE_SH 4 /* Byte number of event bus to use */ 32 #define PM_IFU 4 112 * 32-34: count of events needing PMC3/4/7/8 0x0007_0000_0000 133 (1<<4) | (1<<5), /* PMC4: PM_MRK_GRP_CMPL, PM_MRK_CRU_FIN */ 134 (1<<4) | (1<<5), /* PMC5: PM_GRP_MRK, PM_MRK_GRP_TIMEO */ 135 (1<<3) | (1<<4) | (1<<5), 137 (1<<4) | (1<<5), /* PMC7: PM_MRK_FPU_FIN, PM_MRK_INST_FIN */ 138 (1<<4) /* PMC8: PM_MRK_LSU_FIN */ 156 bit = (pmc <= 4)? pmc - 1: 8 - pmc; in p970_marked_instr_event() 158 bit = 4; in p970_marked_instr_event() [all …]
|