/linux/arch/x86/crypto/ |
H A D | twofish-x86_64-asm_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 .file "twofish-x86_64-asm.S" 11 #include <asm/asm-offsets.h> 15 #define c_offset 8 24 #define w 4096 /* 8 whitening keys (word) */ 25 #define k 4128 /* key 1-32 ( word ) */ 27 /* define a few register aliases to allow macro substitution */ 60 * a input register containing a (rotated 16) 64 * operations on a and b are interleaved to increase performance 66 #define encrypt_round(a,b,c,d,round)\ argument [all …]
|
H A D | twofish-i586-asm_32.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 .file "twofish-i586-asm.S" 11 #include <asm/asm-offsets.h> 16 #define out_blk 8 /* output byte array address parameter*/ 21 #define c_offset 8 30 #define w 4096 /* 8 whitening keys (word) */ 31 #define k 4128 /* key 1-32 ( word ) */ 33 /* define a few register aliases to allow macro substitution */ 61 * a input register containing a (rotated 16) 65 * operations on a and b are interleaved to increase performance [all …]
|
H A D | aes-gcm-aesni-x86_64.S | 1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */ 3 // AES-NI optimized AES-GCM for x86_64 9 //------------------------------------------------------------------------------ 11 // This file is dual-licensed, meaning that you can use it under your choice of 14 // Licensed under the Apache License 2.0 (the "License"). You may obtain a copy 17 // http://www.apache.org/licenses/LICENSE-2.0 39 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 49 //------------------------------------------------------------------------------ 51 // This file implements AES-GCM (Galois/Counter Mode) for x86_64 CPUs that 52 // support the original set of AES instructions, i.e. AES-NI. Two [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 8 Generic line-based metadata formats 14 These generic line-based metadata formats define the memory layout of the data 17 .. _v4l2-meta-fmt-generic-8: 20 ----------------------- 22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format 23 is used on CSI-2 for 8 bits per :term:`Data Unit`. 26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is 27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`. 30 Each cell is one byte. "M" denotes a byte of metadata. [all …]
|
/linux/include/uapi/drm/ |
H A D | drm_fourcc.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 38 * fourcc code, a Format Modifier may optionally be provided, in order to 39 * further describe the buffer's format - for example tiling or compression. 42 * ---------------- 44 * Format modifiers are used in conjunction with a fourcc code, forming a 56 * vendor-namespaced, and as such the relationship between a fourcc code and a 58 * may preserve meaning - such as number of planes - from the fourcc code, 61 * Modifiers must uniquely encode buffer layout. In other words, a buffer must 62 * match only a single modifier. A modifier must not be a subset of layouts of [all …]
|
/linux/Documentation/gpu/ |
H A D | afbc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 AFBC is a proprietary lossless image compression protocol and format. 8 It provides fine-grained random access and minimizes the amount of 21 AFBC streams can contain several components - where a component 22 corresponds to a color channel (i.e. R, G, B, X, A, Y, Cb, Cr). 37 reside in the least-significant bits of the corresponding linear 42 * Component 0: R(8) 43 * Component 1: G(8) 44 * Component 2: B(8) 45 * Component 3: A(8) [all …]
|
/linux/Documentation/bpf/ |
H A D | verifier.rst | 16 At the start of the program the register R1 contains a pointer to context 32 After kernel function call, R1-R5 are reset to unreadable and 33 R0 has a return type of the function. 35 Since R6-R9 are callee saved, their state is preserved across the call. 44 is a correct program. If there was R1 instead of R6, it would have 56 will be rejected, since R1 doesn't have a valid pointer type at the time of 59 At the start R1 type is PTR_TO_CTX (a pointer to generic ``struct bpf_context``) 60 A callback is used to customize verifier to restrict eBPF program access to only 65 bpf_ld R0 = *(u32 *)(R6 + 8) 67 intends to load a word from address R6 + 8 and store it into R0 [all …]
|
/linux/drivers/gpu/drm/ci/xfails/ |
H A D | vkms-none-skips.txt | 2 kms_invalid_mode@int-max-clock 5 kms_cursor_crc@cursor-rapid-movement-32x10 7 # CPU: 0 PID: 2635 Comm: kworker/u8:13 Not tainted 6.9.0-rc7-g40935263a1fd #1 11 …a 01 00 00 8b 42 30 2b 42 28 41 39 c5 0f 8c 6f 01 00 00 49 83 c7 01 49 39 df 74 3b 4b 8b 34 fc 48 … 43 # ---[ end trace 0000000000000000 ]--- 45 …a 01 00 00 8b 42 30 2b 42 28 41 39 c5 0f 8c 6f 01 00 00 49 83 c7 01 49 39 df 74 3b 4b 8b 34 fc 48 … 55 kms_cursor_crc@cursor-rapid-movement-256x85 58 # CPU: 1 PID: 10 Comm: kworker/u8:0 Not tainted 6.9.0-rc7-g646381cde463 #1 62 …a 01 00 00 8b 42 30 2b 42 28 41 39 c5 0f 8c 6f 01 00 00 49 83 c7 01 49 39 df 74 3b 4b 8b 34 fc 48 … 94 # ---[ end trace 0000000000000000 ]--- [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-service-time.rst | 2 dm-service-time 5 dm-service-time is a path selector module for device-mapper targets, 6 which selects a path with the shortest estimated service time for 10 of in-flight I/Os on a path with the performance value of the path. 11 The performance value is a relative throughput value among all paths 12 in a path-group, and it can be specified as a table argument. 14 The path selector name is 'service-time'. 26 among all paths in the path-group. 27 The valid range is 0-100. 30 other paths having a positive value are available. [all …]
|
/linux/lib/842/ |
H A D | 842.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * template operation. For normal operations, each arg is either a specific 14 * to a previously-written number of data bytes to copy to the output buffer. 16 * The template code is a 5-bit value. This code indicates what to do with 20 * an arg following the template code bits. Each action is either a "data" 21 * type action, or a "index" type action, and each action results in 2, 4, or 8 23 * in the table row) will add up to 8 bytes being written to the output buffer. 28 * corresponding arg is 2, 4, or 8 bytes, respectively, in the compressed data 32 * corresponding arg is an index parameter that points to, respectively, a 2, 33 * 4, or 8 byte value already in the output buffer, that should be copied to [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | idle_book3s.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * The platform / CPU caller must ensure SPRs and any other non-GPR 15 #include <asm/asm-offsets.h> 16 #include <asm/ppc-opcode.h> 26 * An EC=0 type wakeup will return with a value of 0. SRESET wakeup (which can 44 * A wakeup without GPR loss may alteratively be handled as in 56 * Use the stack red zone rather than a new frame for saving regs since 60 std r2,-8*1(r1) 61 std r14,-8*2(r1) 62 std r15,-8*3(r1) [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | dvb_intro.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 structure of DVB-T cards are substantially similar to Analogue TV cards, 17 video) is an analogue encoding of a sequence of image frames (25 frames 20 Analogue TV card for a PC has the following purpose: 22 * Tune the receiver to receive a broadcast signal 29 some countries employ a digital audio signal 30 embedded within the modulated composite analogue signal - 37 circuitry on the card and is often presented uncompressed. For a PAL TV 38 signal encoded at a resolution of 768x576 24-bit color pixels over 25 39 frames per second - a fair amount of data is generated and must be [all …]
|
/linux/kernel/irq/ |
H A D | timings.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2016, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org> 40 * Currently, the interrupt timings are stored in a circular array 41 * buffer every time there is an interrupt, as a tuple: the interrupt 45 * For every interrupt occurring in a short period of time, we can 47 * interrupt and we end up with a suite of intervals. The experience 48 * showed the interrupts are often coming following a periodic 52 * in a fastes [all...] |
/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-protos.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 9 IR is encoded as a series of pulses and spaces, using a protocol. These 10 protocols can encode e.g. an address (which device should respond) and a 12 across different devices for a given protocol. 14 Therefore out the output of the IR decoder is a scancode; a single u32 17 Other things can be encoded too. Some IR protocols encode a toggle bit; this 22 Some remotes have a pointer-type device which can used to control the 29 rc-5 (RC_PROTO_RC5) 30 ------------------- 32 This IR protocol uses manchester encoding to encode 14 bits. There is a [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_array_access.c | 1 // SPDX-License-Identifier: GPL-2.0 53 __description("valid map access into an array with a constant") 60 *(u64*)(r10 - 8) = r1; \ in an_array_with_a_constant_1() 62 r2 += -8; \ in an_array_with_a_constant_1() 77 __description("valid map access into an array with a register") 84 *(u64*)(r10 - 8) = r1; \ in __flag() 86 r2 += -8; \ in __flag() 104 __description("valid map access into an array with a variable") 111 *(u64*)(r10 - 8) = r1; \ in __flag() 113 r2 += -8; \ in __flag() [all …]
|
/linux/arch/arm64/lib/ |
H A D | kasan_sw_tags.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 * Report a tag mismatch detected by tag-based KASAN. 12 * A compiler-generated thunk calls this with a non-AAPCS calling 17 * x2 to x15: callee-saved 19 * x18 to x30: callee-saved 20 * sp: pre-decremented by 256 bytes (see below for restore) 22 * The caller has decremented the SP by 256 bytes, and created a 30 * Note that this is not a struct pt_regs. 32 * To call a regular AAPCS function we must save x2 to x15 (which we can 33 * store in the gaps), and create a frame record (for which we can use [all …]
|
H A D | strncmp.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2013-2022, Arm Limited. 6 * https://github.com/ARM-software/optimized-routines/blob/189dfefe37d54c5b/string/aarch64/strncmp.S 14 * ARMv8-a, AArch64. 49 On big-endian early bytes are at MSB and on little-endian LSB. 70 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80 71 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and 75 ldr data1, [src1], #8 76 ldr data2, [src2], #8 78 subs limit, limit, #8 [all …]
|
/linux/include/uapi/linux/ |
H A D | videodev2.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Copyright (C) 1999-2012 the contributors 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 47 * All kernel-specific stuff were moved to media/v4l2-dev.h, so 66 #include <linux/v4l2-common.h> 67 #include <linux/v4l2-controls.h> 74 #define VIDEO_MAX_PLANES 8 77 * M I S C E L L A N E O U S 80 /* Four-character-code (FOURCC) */ [all …]
|
/linux/net/ceph/ |
H A D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
/linux/drivers/ras/amd/atl/ |
H A D | reg_fields.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * a) "x" is the first major revision where the new field appears. 31 * DF2 BlockFabricId [19:8] 32 * DF3 BlockFabricId [19:8] 33 * DF3p5 BlockFabricId [19:8] 34 * DF4 BlockFabricId [19:8] 35 * DF4p5 BlockFabricId [15:8] 37 #define DF2_COH_ST_FABRIC_ID GENMASK(19, 8) 38 #define DF4p5_COH_ST_FABRIC_ID GENMASK(15, 8) 48 * DF2 N/A [all …]
|
/linux/Documentation/filesystems/ext4/ |
H A D | directory.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ----------------- 6 In an ext4 filesystem, a directory is more or less a flat file that maps 9 that reference the same inode number--these are known as hard links, and 12 associated with a directory file for the particular directory entry that 18 By default, each directory lists its entries in an “almost-linear” 19 array. I write “almost” because it's not a linear array in the memory 21 Therefore, it is more accurate to say that a directory is a series of 22 data blocks and that each block contains a linear array of directory 23 entries. The end of each per-block array is signified by reaching the [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 11 * of rlwimi/lwz instructions with a minimum of table registers (usually only 16 * For the safety-conscious it has to be noted that they might be vulnerable 18 * the generic tables they have been reduced from 16KB to 8KB + 256 bytes. 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 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 */ 34 .long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d) [all …]
|
/linux/Documentation/driver-api/early-userspace/ |
H A D | buffer-format.rst | 7 Last revision: 2002-01-13 14 expanded into a ramfs filesystem; this document details the format of 20 initramfs buffer is thus a single .cpio.gz file. 29 ALGN(n) means padding with null bytes to an n-byte boundary 42 In human terms, the initramfs buffer contains a collection of 47 The cpio "TRAILER!!!" entry (cpio end-of-archive) is optional, but is 59 c_ino 8 bytes File inode number 60 c_mode 8 bytes File mode and permissions 61 c_uid 8 bytes File uid 62 c_gid 8 bytes File gid [all …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | skfbi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * a business unit of Schneider & Koch & Co. Datensysteme GmbH. 15 * FDDI-Fx (x := {I(SA), P(CI)}) 19 /*--------------------------------------------------------------------------*/ 31 * Note: The temperature and voltage sensors are relocated on a different 40 #define B0_RAP 0x0000 /* 8 bit register address port */ 41 /* 0x0001 - 0x0003: reserved */ 42 #define B0_CTRL 0x0004 /* 8 bit control register */ 43 #define B0_DAS 0x0005 /* 8 Bit control register (DAS) */ 44 #define B0_LED 0x0006 /* 8 Bit LED register */ [all …]
|
/linux/Documentation/hwmon/ |
H A D | it87.rst | 10 Addresses scanned: from Super I/O config space (8 I/O ports) 18 Addresses scanned: from Super I/O config space (8 I/O ports) 24 Addresses scanned: from Super I/O config space (8 I/O ports) 32 Addresses scanned: from Super I/O config space (8 I/O ports) 40 Addresses scanned: from Super I/O config space (8 I/O ports) 48 Addresses scanned: from Super I/O config space (8 I/O ports) 56 Addresses scanned: from Super I/O config space (8 I/O ports) 64 Addresses scanned: from Super I/O config space (8 I/O ports) 72 Addresses scanned: from Super I/O config space (8 I/O ports) 80 Addresses scanned: from Super I/O config space (8 I/O ports) [all …]
|