| /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/Documentation/input/devices/ |
| H A D | alps.rst | 1 ---------------------- 3 ---------------------- 6 ------------ 8 ALPS touchpads, called versions 1, 2, 3, 4, 5, 6, 7 and 8. 10 Since roughly mid-2010 several new ALPS touchpads have been released and 14 adequate. The design choices were to re-define the alps_model_data 29 --------- 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or 33 00-00-64 if no buttons are pressed. The bits 0-2 of the first byte will be 1s 37 report" sequence: E8-E7-E7-E7-E9. The response is the model signature and is [all …]
|
| H A D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 12 Finger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons) 16 page (5th button) 22 5. FSP will respond 0x04. 27 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 32 Byte 1: Bit7 => Y overflow 40 Byte 2: X Movement(9-bit 2's complement integers) [all …]
|
| /linux/drivers/scsi/ |
| H A D | myrb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright 1998-2001 by Leonard N. Zubkoff <lnz@dandelion.com> 163 unsigned char ldev_count; /* Byte 0 */ 164 unsigned int rsvd1:24; /* Bytes 1-3 */ 165 unsigned int ldev_sizes[32]; /* Bytes 4-131 */ 166 unsigned short flash_age; /* Bytes 132-133 */ 168 unsigned char deferred:1; /* Byte 134 Bit 0 */ 169 unsigned char low_bat:1; /* Byte 134 Bit 1 */ 170 unsigned char rsvd2:6; /* Byte 134 Bits 2-7 */ 172 unsigned char rsvd3:8; /* Byte 135 */ [all …]
|
| 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> 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 */ 170 } __packed ctlr_type; /* Byte 2 */ [all …]
|
| /linux/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 15 /*-******************************************************* 51 /*-************************************************************* 57 …size_t const blockSizeMax = dctx->isFrameDecompression ? dctx->fParams.blockSizeMax : ZSTD_BLOCKSI… in ZSTD_blockSizeMax() 71 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize() 72 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize() 73 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 74 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize() [all …]
|
| /linux/arch/xtensa/lib/ |
| 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 */ 56 slli a5, a5, 5 57 add a5, a5, a2 /* a5 = end of last 32-byte chunk */ 81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */ [all …]
|
| H A D | modsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH GCC-exception-2.0 */ 20 sub a4, a4, a5 /* count = udivisor_shift - udividend_shift */ 24 /* test-subtract-and-shift loop */ 34 addi a4, a4, -1 44 neg a2, a2 /* if (dividend < 0), return -udividend */ 71 .byte 8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4 72 .byte 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 73 .byte 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 74 .byte 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 75 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 [all …]
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | analogix-i2c-txcommon.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* Device ID Low Byte Register */ 19 /* Device ID High Byte Register */ 28 #define SP_HDCP_PD BIT(5) 38 #define SP_VIDFIF_RST BIT(5) 74 /* Video Control Register 5 */ 78 #define SP_RANGE_Y2R BIT(5) 98 /* Total Line Status Low Byte Register */ 101 /* Total Line Status High Byte Register */ 104 /* Active Line Status Low Byte Register */ [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_superblock.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 12 /*-************************************* 24 * Compresses literals section for a sub-block. 33 * hufMetadata->hType has literals block type info. 34 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block. 35 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block. 36 …* If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Blo… 37 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block [all …]
|
| H A D | zstd_compress_literals.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 12 /*-************************************* 25 const BYTE* const ip = (const BYTE*)src; in showHexa() 28 RAWLOG(5, " %02X", ip[u]); (void)ip; in showHexa() 30 RAWLOG(5, " \n"); in showHexa() 38 * Literals compression - special cases 42 BYTE* const ostart = (BYTE*)dst; in ZSTD_noCompressLiterals() 45 DEBUGLOG(5, "ZSTD_noCompressLiterals: srcSize=%zu, dstCapacity=%zu", srcSize, dstCapacity); in ZSTD_noCompressLiterals() [all …]
|
| H A D | zstd_compress_sequences.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 12 /*-************************************* 18 * -log2(x / 256) lookup table for x in [0, 256). 20 * Else: Return floor(-log2(x / 256) * 256) 44 5, 4, 2, 1, 55 * Returns true if we should use ncount=-1 else we should 74 BYTE wksp[FSE_NCOUNTBOUND]; in ZSTD_NCountCost() 116 DEBUGLOG(5, "Repeat FSE_CTable has maxSymbolValue %u < %u", in ZSTD_fseBitCost() [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | tda18218_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 #define R00_ID 0x00 /* ID byte */ 14 #define R01_R1 0x01 /* Read byte 1 */ 15 #define R02_R2 0x02 /* Read byte 2 */ 16 #define R03_R3 0x03 /* Read byte 3 */ 17 #define R04_R4 0x04 /* Read byte 4 */ 18 #define R05_R5 0x05 /* Read byte 5 */ 19 #define R06_R6 0x06 /* Read byte 6 */ 20 #define R07_MD1 0x07 /* Main divider byte 1 */ 21 #define R08_PSM1 0x08 /* PSM byte 1 */ [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 4 * Copyright (C) 2017-2019 Samuel Neves <sneves@dei.uc.pt>. All Rights Reserved. 22 .byte 0, 2, 4, 6, 1, 3, 5, 7, 14, 8, 10, 12, 15, 9, 11, 13 23 .byte 14, 4, 9, 13, 10, 8, 15, 6, 5, 1, 0, 11, 3, 12, 2, 7 24 .byte 11, 12, 5, 15, 8, 0, 2, 13, 9, 10, 3, 7, 4, 14, 6, 1 25 .byte 7, 3, 13, 11, 9, 1, 12, 14, 15, 2, 5, 4, 8, 6, 10, 0 26 .byte 9, 5, 2, 10, 0, 7, 4, 15, 3, 14, 11, 6, 13, 1, 12, 8 27 .byte 2, 6, 0, 8, 12, 10, 11, 3, 1, 4, 7, 15, 9, 13, 5, 14 28 .byte 12, 1, 14, 4, 5, 15, 13, 10, 8, 0, 6, 9, 11, 7, 3, 2 [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/userspace-api/media/v4l/ |
| H A D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 12 bits required to store a pixel is not aligned to a byte boundary, the data is 13 padded with additional bits to fill the remaining byte. 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components [all …]
|
| H A D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 30 seen in a 16-bit word, which is then stored in memory in little endian byte 32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 33 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 34 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. 44 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) 45 :header-rows: 2 [all …]
|
| H A D | pixfmt-yuv-luma.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _yuv-luma-only: 6 Luma-Only Formats 14 - In all the tables that follow, bit 7 is the most significant bit in a byte. 15 - Formats are described with the minimum number of pixels needed to create a 16 byte-aligned repeating pattern. `...` indicates repetition of the pattern. 17 - Y'\ :sub:`x`\ [9:2] denotes bits 9 to 2 of the Y' value for pixel at column 19 - `0` denotes padding bits set to 0. 28 .. flat-table:: Luma-Only Image Formats 29 :header-rows: 1 [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | ppc970-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Performance counter support for PPC970-family processors. 5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation. 17 #define PM_PMC_SH 12 /* PMC number (1-based) for direct events */ 19 #define PM_UNIT_SH 8 /* TTMMUX number and setting - unit select */ 23 #define PM_BYTE_SH 4 /* Byte number of event bus to use */ 33 #define PM_IDU 5 91 * SP - SPCSEL constraint 92 * 48-49: SPCSEL value 0x3_0000_0000_0000 94 * T0 - TTM0 constraint [all …]
|
| /linux/drivers/input/joystick/ |
| H A D | zhenhua.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2000-2001 Vojtech Pavlik 12 * Driver to use 4CH RC transmitter using Zhen Hua 5-byte protocol (Walkera Lama, 15 * RC transmitters using Zhen Hua 5-byte protocol are cheap four channels 19 * 1. byte = synchronisation byte 20 * 2. byte = X axis 21 * 3. byte = Y axis 22 * 4. byte = RZ axis 23 * 5. byte = Z axis 27 * Martin Kebert <gkmarty@gmail.com> - but I am not a C-programmer nor kernel [all …]
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 * For the safety-conscious it has to be noted that they might be vulnerable 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 46 .long R(5f, a2, a2, fd), R(45, af, af, ea) 48 .long R(e4, 72, 72, 96), R(9b, c0, c0, 5b) 51 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) 53 .long R(68, 34, 34, 5c), R(51, a5, a5, f4) 58 .long R(46, 23, 23, 65), R(9d, c3, c3, 5e) 68 .long R(b4, 5a, 5a, ee), R(5b, a0, a0, fb) 72 .long R(5e, 2f, 2f, 71), R(13, 84, 84, 97) [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_acpi.h | 71 * WORD - structure size in bytes (includes size field) 72 * WORD - version 73 * DWORD - supported notifications mask 74 * DWORD - supported functions bit vector 82 # define ATIF_DISPLAY_CONF_CHANGE_REQUEST_SUPPORTED (1 << 5) 92 # define ATIF_SET_TV_STANDARD_IN_CMOS_SUPPORTED (1 << 5) 102 * WORD - structure size in bytes (includes size field) 103 * DWORD - valid flags mask 104 * DWORD - flags 108 * WORD - structure size in bytes (includes size field) [all …]
|
| /linux/sound/soc/sof/ |
| H A D | sof-utils.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 6 // Copyright(c) 2018-2022 Intel Corporation 12 #include <linux/io-64-nonatomic-lo-hi.h> 16 #include "sof-utils.h" 34 dmab->area, size, pages); in snd_sof_create_page_table() 39 * idx determines the byte position within page_table in snd_sof_create_page_table() 44 u32 idx = (5 * i) >> 1; in snd_sof_create_page_table() 52 * byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 in snd_sof_create_page_table() 57 * 2. put pfn[i] at current location in Little Endian byte order in snd_sof_create_page_table() 60 * 4. put x at offset (current location + 2) in LE byte order in snd_sof_create_page_table() [all …]
|
| /linux/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-pkt-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2013-2014, Intel Corporation. 15 #include "intel-pt-pkt-decoder.h" 84 for (count = 47; count; count--) { in intel_pt_get_long_tnt() 90 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 91 packet->count = count; in intel_pt_get_long_tnt() 92 packet->payload = payload << 1; in intel_pt_get_long_tnt() 104 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 106 packet->payload = payload; in intel_pt_get_pip() 113 packet->type = INTEL_PT_TRACESTOP; in intel_pt_get_tracestop() [all …]
|
| /linux/include/sound/ |
| H A D | ak4114.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 #define AK4114_REG_RXCSB0 0x08 /* RX channel status byte 0 */ 20 #define AK4114_REG_RXCSB1 0x09 /* RX channel status byte 1 */ 21 #define AK4114_REG_RXCSB2 0x0a /* RX channel status byte 2 */ 22 #define AK4114_REG_RXCSB3 0x0b /* RX channel status byte 3 */ 23 #define AK4114_REG_RXCSB4 0x0c /* RX channel status byte 4 */ 24 #define AK4114_REG_TXCSB0 0x0d /* TX channel status byte 0 */ 25 #define AK4114_REG_TXCSB1 0x0e /* TX channel status byte 1 */ 26 #define AK4114_REG_TXCSB2 0x0f /* TX channel status byte 2 */ 27 #define AK4114_REG_TXCSB3 0x10 /* TX channel status byte 3 */ [all …]
|