Home
last modified time | relevance | path

Searched +full:3 +full:- +full:byte (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/linux/Documentation/input/devices/
H A Dalps.rst1 ----------------------
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 Delantech.rst4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net>
17 3. Differentiating hardware versions
20 4.2 Native relative mode 4 byte packet format
21 4.3 Native absolute mode 4 byte packet format
24 5.2 Native absolute mode 6 byte packet format
25 5.2.1 Parity checking and packet re-synchronization
27 5.2.3 Two finger touch
28 6. Hardware version 3
30 6.2 Native absolute mode 6 byte packet format
35 7.2 Native absolute mode 6 byte packet format
[all …]
H A Dsentelic.rst8 :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 DBusLogic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
12 Special thanks to Wayne Yen, Jin-Lon Hon, and Alex Win of BusLogic, whose
61 #define BLOGIC_TAG_DEPTH_BB 3
62 #define BLOGIC_UNTAG_DEPTH 3
110 BLOGIC_WARN_LEVEL = 3,
150 static int blogic_adapter_addr_count[3] = { 0, BLOGIC_MULTIMASTER_ADDR_COUNT, BLOGIC_FLASHPOINT_ADD…
160 (adapter->adapter_type == BLOGIC_MULTIMASTER)
163 (adapter->adapter_type == BLOGIC_FLASHPOINT)
181 BLOGIC_PCI_BUS = 3,
[all …]
H A Dmyrb.h1 /* 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-13
[all...]
H A Dmyrs.h1 /* 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
[all...]
/linux/Documentation/scsi/
H A Darcmsr_spec.rst11 ------------
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 Dudivsi3_i4i.S1 /* 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 Dtda18218_priv.h1 /* 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 Dtda18250_priv.h1 /* 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 Dchecksum.S1 /* 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 Dmodsi3.S1 /* 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 Dstrnlen_user.S50 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 Dstrncpy_user.S8 * 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 Dpixfmt-packed-yuv.rst1 .. 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 Dpixfmt-rgb.rst1 .. 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 Dcciss_defs.h1 /* 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 Dppc970-pmu.c1 // 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 Dpower5-pmu.c1 // 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 Dhid-elan.c1 // 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/drivers/gpu/drm/amd/include/
H A Damd_acpi.h48 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */
52 u8 backlight_level; /* panel backlight level (0-255) */
64 u8 ipnut_signal; /* input signal in range 0-255 */
73 u8 min_input_signal; /* max input signal in range 0-255 */
74 u8 max_input_signal; /* min input signal in range 0-255 */
94 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */
108 u16 dgpu_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */
109 u8 dev_acpi_state; /* D0 = 0, D3 hot = 3 */
135 * 3. ATRM
154 * WORD - structure size in bytes (includes size field)
[all …]
/linux/Documentation/staging/
H A Dlzo.rst26 - 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/lib/zstd/compress/
H A Dzstd_compress_superblock.c5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
11 /*-*************************************
23 * Compresses literals section for a sub-block.
32 * hufMetadata->hType has literals block type info.
33 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block.
34 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block.
35 …* If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Blo…
36 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block
37 * and the following sub-blocks' literals sections will be Treeless_Literals_Block.
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.h52 * 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 Dlpfc_scsi.h4 * 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 …]

12345678910>>...42