| /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 20 3. Set sample rate to 80; 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|---------------| 29 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|W|W|W|W| 30 |---------------| |---------------| |---------------| |---------------| 32 Byte 1: Bit7 => Y overflow 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y 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> 17 #define MYRB_MAX_CHANNELS 3 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 */ [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/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 ---------------------------------------- 34 3. Index Memory Usage 35 --------------------- 46 4. RS-232 emulation 47 ------------------- 49 Currently 128 byte buffer is used: 52 1st uint32_t Data length (1--124) [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 31 #define L_LSB 3 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 [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 …]
|
| H A D | tda18250_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 #define R00_ID1 0x00 /* ID byte 1 */ 14 #define R01_ID2 0x01 /* ID byte 2 */ 15 #define R02_ID3 0x02 /* ID byte 3 */ 16 #define R03_THERMO1 0x03 /* Thermo byte 1 */ 17 #define R04_THERMO2 0x04 /* Thermo byte 2 */ 18 #define R05_POWER1 0x05 /* Power byte 1 */ 19 #define R06_POWER2 0x06 /* Power byte 2 */ 25 #define R0C_AGC11 0x0c /* AGC1 byte 1 */ 26 #define R0D_AGC12 0x0d /* AGC1 byte 2 */ [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 */ 57 add a5, a5, a2 /* a5 = end of last 32-byte chunk */ 81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */ 83 loopgtz a5, 3f [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 …]
|
| H A D | strnlen_user.S | 50 addi a4, a2, -4 # because we overincrement at the end; 52 movi a5, MASK0 # mask for byte 0 53 movi a6, MASK1 # mask for byte 1 54 movi a7, MASK2 # mask for byte 2 55 movi a8, MASK3 # mask for byte 3 56 bbsi.l a2, 0, .L1mod2 # if only 8-bit aligned 57 bbsi.l a2, 1, .L2mod4 # if only 16-bit aligned 60 * String is word-aligned. 74 bnone a9, a5, .Lz0 # if byte 0 is zero 75 bnone a9, a6, .Lz1 # if byte 1 is zero [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 64 movi a9, 3 69 EX(11f) l8ui a9, a3, 0 # get byte 0 [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| 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-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 …]
|
| /linux/include/uapi/linux/ |
| H A D | cciss_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 44 #define BYTE __u8 macro 51 #define LEVEL2LUN 1 /* index into Target(x) structure, due to byte swapping */ 59 BYTE Dev; 60 BYTE Bus:6; 61 BYTE Mode:2; /* b00 */ 64 BYTE DevLSB; 65 BYTE DevMSB:6; 66 BYTE Mode:2; /* b01 */ 69 BYTE Dev:5; [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 */ 22 #define PM_SPCSEL_MSK 3 23 #define PM_BYTE_SH 4 /* Byte number of event bus to use */ 24 #define PM_BYTE_MSK 3 31 #define PM_ISU 3 53 #define MMCR1_TTMSEL_MSK 3 [all …]
|
| H A D | power5-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ 21 #define PM_UNIT_SH 16 /* TTMMUX number and setting - unit select */ 23 #define PM_BYTE_SH 12 /* Byte number of event bus to use */ 34 #define PM_ISU1 3 49 #define MMCR1_TTMSEL_MSK 3 55 #define MMCR1_GRS_L2SEL_MSK 3 57 #define MMCR1_GRS_L3SEL_MSK 3 61 #define MMCR1_GRS_FABSEL_MSK 3 70 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8) [all …]
|
| H A D | power5+-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ 21 #define PM_UNIT_SH 16 /* TTMMUX number and setting - unit select */ 23 #define PM_BYTE_SH 12 /* Byte number of event bus to use */ 34 #define PM_ISU1 3 49 #define MMCR1_TTMSEL_MSK 3 55 #define MMCR1_GRS_L2SEL_MSK 3 57 #define MMCR1_GRS_L3SEL_MSK 3 61 #define MMCR1_GRS_FABSEL_MSK 3 70 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8) [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-elan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include "hid-ids.h" 54 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in is_not_elan_touchpad() 56 return (intf->altsetting->desc.bInterfaceNumber != in is_not_elan_touchpad() 70 if (field->report->id == ELAN_SINGLE_FINGER || in elan_input_mapping() 71 field->report->id == ELAN_MT_FIRST_FINGER || in elan_input_mapping() 72 field->report->id == ELAN_MT_SECOND_FINGER || in elan_input_mapping() 73 field->report->id == ELAN_MT_I2C) in elan_input_mapping() 74 return -1; in elan_input_mapping() 87 dmabuf[3] = param; in elan_get_device_param() [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 51 length += constant (generally 2 or 3) [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_acpi.h | 52 * 3. ATRM 71 * WORD - structure size in bytes (includes size field) 72 * WORD - version 73 * DWORD - supported notifications mask 74 * DWORD - supported functions bit vector 80 # define ATIF_FORCED_POWER_STATE_CHANGE_REQUEST_SUPPORTED (1 << 3) 90 # define ATIF_GET_LID_STATE_SUPPORTED (1 << 3) 102 * WORD - structure size in bytes (includes size field) 103 * DWORD - valid flags mask 104 * DWORD - flags [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.h | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 33 entry = list_entry((list)->next, type, member); \ 34 list_del_init(&entry->member); \ 40 list_entry((list)->next, type, member) 42 /* per-port data that is allocated in the FC transport for us */ 63 uint32_t rspRsvd1; /* FC Word 0, byte 0:3 */ 64 uint32_t rspRsvd2; /* FC Word 1, byte 0:3 */ 66 uint8_t rspStatus0; /* FCP_STATUS byte 0 (reserved) */ [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/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 …]
|
| /linux/lib/zstd/decompress/ |
| H A D | huf_decompress.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 8 * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy 10 * This source code is licensed under both the BSD-style license (found in the 13 * You may select, at your option, one of the above-listed licenses. 79 * Byte alignment for workSpace management 81 #define HUF_ALIGN(x, a) HUF_ALIGN_MASK((x), (a) - 1) 135 /*-***************************/ 137 /*-***************************/ 138 typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc; 147 static size_t HUF_initFastDStream(BYTE const* ip) { in HUF_initFastDStream() [all …]
|