| /linux/drivers/scsi/ |
| H A D | myrs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * This driver supports the newer, SCSI-based firmware interface only. 10 * Copyright 1998-2001 by Leonard N. Zubkoff <lnz@dandelion.com> 37 #define MYRS_DCDB_SIZE 16 109 } __packed mem_type:5; /* Byte 0 Bits 0-4 */ 110 unsigned rsvd:1; /* Byte 0 Bit 5 */ 111 unsigned mem_parity:1; /* Byte 0 Bit 6 */ 112 unsigned mem_ecc:1; /* Byte 0 Bit 7 */ 132 unsigned char rsvd1; /* Byte 0 */ 137 } __packed bus; /* Byte 1 */ [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | visemul.c | 1 // SPDX-License-Identifier: GPL-2.0 19 /* 000111011 - four 16-bit packs */ 22 /* 000111010 - two 32-bit packs */ 25 /* 000111101 - four 16-bit packs */ 28 /* 001001101 - four 16-bit expands */ 31 /* 001001011 - two 32-bit merges */ 34 /* 000110001 - 8-by-16-bit partitioned product */ 37 /* 000110011 - 8-by-16-bit upper alpha partitioned product */ 40 /* 000110101 - 8-by-16-bit lower alpha partitioned product */ 43 /* 000110110 - upper 8-by-16-bit partitioned product */ [all …]
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-ccm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * SM4-CCM AEAD Algorithm using ARMv8 Crypto Extensions 13 #include "sm4-ce-asm.h" 15 .arch armv8-a+crypto 17 .irp b, 0, 1, 8, 9, 10, 11, 12, 13, 14, 15, 16, 24, 25, 26, 27, 28, 29, 30, 31 35 rev64 vctr.16b, vctr.16b; \ 49 ld1 {RMAC.16b}, [x1] 57 ld1 {v0.16b-v3.16b}, [x2], #64 60 eor RMAC.16b, RMAC.16b, v0.16b 62 eor RMAC.16b, RMAC.16b, v1.16b [all …]
|
| /linux/arch/powerpc/kernel/vdso/ |
| H A D | sigtramp32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 .Lsig_start = . - 4 42 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \ 43 .uleb128 9f - 1f; /* length */ \ 45 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \ 46 .byte 0x06; /* DW_OP_deref */ \ 47 .byte 0x23; .uleb128 RSIZE; /* DW_OP_plus_uconst */ \ 48 .byte 0x06; /* DW_OP_deref */ \ 54 .byte 0x10; /* DW_CFA_expression */ \ 56 .uleb128 9f - 1f; /* length */ \ [all …]
|
| H A D | sigtramp64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 42 .quad 0,-21*8 47 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \ 48 .uleb128 9f - 1f; /* length */ \ 50 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \ 51 .byte 0x06; /* DW_OP_deref */ \ 52 .byte 0x23; .uleb128 RSIZE; /* DW_OP_plus_uconst */ \ 53 .byte 0x06; /* DW_OP_deref */ \ 59 .byte 0x10; /* DW_CFA_expression */ \ 61 .uleb128 9f - 1f; /* length */ \ [all …]
|
| /linux/arch/parisc/include/asm/ |
| H A D | ldcw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* Because kmalloc only guarantees 8-byte alignment for kmalloc'd data, 6 and GCC only guarantees 8-byte alignment for stack locals, we can't 7 be assured of 16-byte alignment for atomic lock data even if we 8 specify "__attribute ((aligned(16)))" in the type declaration. So, 10 type and dynamically select the 16-byte aligned int from the array 16 16-byte alignment requirement for ldcw and ldcd is relaxed, and instead 17 they only require "natural" alignment (4-byte for ldcw, 8-byte for 22 require 16-byte alignment. If the address is unaligned, the operation 25 This hid the problem for years. So, restore the 16-byte alignment dropped [all …]
|
| /linux/arch/xtensa/lib/ |
| H A D | memcopy.S | 2 * arch/xtensa/lib/hal/memcopy.S -- Core HAL library functions 9 * Copyright (C) 2002 - 2012 Tensilica Inc. 24 * 32-bit load and store instructions (as required for these 35 * do 16 bytes with a loop, and then finish up with 36 * 8, 4, 2, and 1 byte copies conditional on the length; 39 * This code tries to use fall-through branches for the common 61 * Byte by byte copy 64 .byte 0 # 1 mod 4 alignment for LOOPNEZ 89 .Ldst1mod2: # dst is only byte aligned 90 _bltui a4, 7, .Lbytecopy # do short copies byte by byte [all …]
|
| H A D | strncpy_user.S | 8 * Returns: -EFAULT if exception before terminator, N if the entire 56 movi a5, MASK0 # mask for byte 0 57 movi a6, MASK1 # mask for byte 1 58 movi a7, MASK2 # mask for byte 2 59 movi a8, MASK3 # mask for byte 3 60 bbsi.l a3, 0, .Lsrc1mod2 # if only 8-bit aligned 61 bbsi.l a3, 1, .Lsrc2mod4 # if only 16-bit aligned 62 .Lsrcaligned: # return here when src is word-aligned 69 EX(11f) l8ui a9, a3, 0 # get byte 0 71 EX(10f) s8i a9, a11, 0 # store byte 0 [all …]
|
| H A D | usercopy.S | 8 * of the Xtensa link-time HAL, and those files may differ per 11 * could lose the special functionality for accessing user-space 31 * do 16B chunks with a loop, and then finish up with 37 * This code tries to use fall-through braches for the common 76 srli a7, a4, 4 # number of loop iterations with 16B 80 __ssa8 a3 # set shift amount from byte offset 89 .Ldst1mod2: # dst is only byte aligned 90 bltui a4, 7, .Lbytecopy # do short copies byte by byte 92 # copy 1 byte 97 addi a4, a4, -1 [all …]
|
| H A D | memset.S | 22 * Create a word with c in all byte positions 24 * do 16B chucks with a loop, and then finish up with 28 * This code tries to use fall-through branches for the common 42 slli a7, a3, 16 # ... 48 srli a7, a4, 4 # number of loop iterations with 16B 54 * Destination is word-aligned. 56 # set 16 bytes per iteration for word-aligned dst 58 .byte 0 # (0 mod 4 alignment for LBEG) 65 add a6, a6, a5 # a6 = end of last 16B chunk 72 addi a5, a5, 16 [all …]
|
| H A D | checksum.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 * This function assumes 2- or 4-byte alignment. Other alignments will fail! 32 /* ONES_ADD converts twos-complement math to ones-complement. */ 44 * is aligned on either a 2-byte or 4-byte boundary. 48 bnez a5, 8f /* branch if 2-byte aligned */ 49 /* Fall-through on common case, 4-byte alignment */ 51 srli a5, a3, 5 /* 32-byte chunks */ 57 add a5, a5, a2 /* a5 = end of last 32-byte chunk */ 68 l32i a6, a2, 16 81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */ [all …]
|
| /linux/arch/sh/lib/ |
| H A D | udivsi3_i4i.S | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0 23 Uses a lookup table for divisors in the range -128 .. +128, and 54 mov.l r4,@-r15 56 mov.l r1,@-r15 67 mov.l r4,@-r15 70 mov.l r5,@-r15 108 mov.l r4,@-r15 110 mov.l r1,@-r15 117 mov.l r1,@-r15 132 mov.l r4,@-r15 [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utuuid.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utuuid -- UUID support functions 6 * Copyright (C) 2000 - 2025, Intel Corp. 20 * This table is used to convert an input UUID ascii string to a 16 byte 21 * buffer and the reverse. The table maps a UUID buffer index 0-15 to 22 * the index within the 36-byte UUID string where the associated 2-byte 25 * 36-byte UUID strings are of the form: 26 * aabbccdd-eeff-gghh-iijj-kkllmmnnoopp 27 * Where aa-pp are one byte hex numbers, made up of two hex digits 29 * Note: This table is basically the inverse of the string-to-offset table [all …]
|
| /linux/fs/nfsd/ |
| H A D | nfsfh.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * The file handle starts with a sequence of four-byte words. 25 * All four-byte values are in host-byte-order. 32 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number 35 * 1 - 4 byte user specified identifier 36 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED 37 * 3 - 4 byte device id, encoded for user-space, 4 byte inode number 38 * 4 - 4 byte inode number and 4 byte uuid 39 * 5 - 8 byte uuid 40 * 6 - 16 byte uuid [all …]
|
| /linux/arch/arm64/lib/ |
| H A D | strlen.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2013-2021, Arm Limited. 6 * https://github.com/ARM-software/optimized-routines/blob/98e4d6a5c13c8e54/string/aarch64/strlen.S 11 #include <asm/mte-def.h> 15 * ARMv8-a, AArch64, unaligned accesses, min page size 4k. 36 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80 37 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and 39 (X - 1) & 0x80 is zero for non-NUL ASCII characters, but gives 48 * (16-byte) granularity, and we must ensure that no access straddles this 57 /* Since strings are short on average, we check the first 16 bytes [all …]
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | bpf_arena_common.bpf.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 25 * rX = rX .off = BPF_ADDR_SPACE_CAST .imm32 = (dst_as << 16) | src_as 37 asm volatile(".byte 0xBF; \ 39 .byte 0x00; \ 42 .byte 0x11; \ 45 .byte 0x22; \ 48 .byte 0x33; \ 51 .byte 0x44; \ 54 .byte 0x55; \ 57 .byte 0x66; \ [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-fau.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 124 * - Step by 2 for 16 bit access. 125 * - Step by 4 for 32 bit access. 126 * - Step by 8 for 64 bit access. 141 * - 0 = Don't wait 142 * - 1 = Wait for tag switch to complete 144 * - Step by 2 for 16 bit access. 145 * - Step by 4 for 32 bit access. [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | hist.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 8 * - FSE source repository : https://github.com/Cyan4973/FiniteStateEntropy 9 * - Public forum : https://groups.google.com/forum/#!forum/lz4c 11 * This source code is licensed under both the BSD-style license (found in the 14 * You may select, at your option, one of the above-listed licenses. 17 /* --- dependencies --- */ 18 #include "../common/mem.h" /* U32, BYTE, etc. */ 24 /* --- Error management --- */ 27 /*-************************************************************** 32 const BYTE* ip = (const BYTE*)src; in HIST_add() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | arcmsr_spec.rst | 11 ------------ 13 - InitThread message and return code 15 2. Doorbell is used for RS-232 emulation 16 ---------------------------------------- 35 --------------------- 46 4. RS-232 emulation 47 ------------------- 49 Currently 128 byte buffer is used: 52 1st uint32_t Data length (1--124) 53 Byte 4--127 Max 124 bytes of data [all …]
|
| /linux/Documentation/hid/ |
| H A D | hid-alps.rst | 6 ------------ 19 -------------- 22 Byte Field Value Notes 32 16 wCommandRegister 0005 Identifier for Command Register 42 --------- 45 ReportID-1 (Input Reports) (HIDUsage-Mouse) for TP&SP 46 ReportID-2 (Input Reports) (HIDUsage-keyboard) for TP 47 ReportID-3 (Input Reports) (Vendor Usage: Max 10 finger data) for TP 48 ReportID-4 (Input Reports) (Vendor Usage: ON bit data) for GP 49 ReportID-5 (Feature Reports) Feature Reports [all …]
|
| /linux/lib/crypto/ |
| H A D | gf128mul.c | 1 /* gf128mul.c - GF(2^128) multiplication functions 17 --------------------------------------------------------------------------- 44 --------------------------------------------------------------------------- 93 * Given a value i in 0..255 as the byte overflow when a field element 95 * 16-bit value that must be XOR-ed into the low-degree end of the 99 * the "be" convention where the highest-order bit is the coefficient of 100 * the highest-degree polynomial term, and one for the "le" convention 101 * where the highest-order bit is the coefficient of the lowest-degree 102 * polynomial term. In both cases the values are stored in CPU byte 108 * Therefore, provided that the appropriate byte endianness conversions [all …]
|
| /linux/Documentation/staging/ |
| H A D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 35 The first byte of the block follows a different encoding from other bytes, it 37 prior to that byte. 42 rate of at most 255 per extra byte (thus the compression ratio cannot exceed 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 56 Certain encodings involve one extra byte, others involve two extra bytes [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_var_off.c | 1 // SPDX-License-Identifier: GPL-2.0 16 __description("variable-offset ctx access") 23 /* Make it small and 4-byte aligned */ \ in variable_offset_ctx_access() 25 /* add it to skb. We now have either &skb->len or\ in variable_offset_ctx_access() 26 * &skb->pkt_type, but we don't know which \ in variable_offset_ctx_access() 36 __description("variable-offset stack read, priv vs unpriv") 45 *(u64*)(r10 - in stack_read_priv_vs_unpriv() [all...] |
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 7 a comma-separated list of login parameters to this sysfs 10 * id_ext, a 16-digit hexadecimal number specifying the eight 11 byte identifier extension in the 16-byte SRP target port 14 * ioc_guid, a 16-digit hexadecimal number specifying the eight 15 byte I/O controller GUID portion of the 16-byte target port 17 * dgid, a 32-digit hexadecimal number specifying the 19 * pkey, a four-digit hexadecimal number specifying the 21 * service_id, a 16-digit hexadecimal number specifying the [all …]
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/include/ |
| H A D | nxu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Hardware interface of the NX-GZIP compression accelerator 41 #define nx_get_time() (-1) 42 #define nx_get_freq() (-1) 50 * https://github.com/libnxz/power-gzip/blob/develop/doc/power_nx_gzip_um.pdf 65 * rembytecnt: remaining byte count 67 * spbc: source processed byte count 69 * tebc: target ending bit count; valid bits in the last byte 70 * tpbc: target processed byte count 77 } __aligned(16); [all …]
|