Home
last modified time | relevance | path

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

12345678910>>...45

/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
36 .balign 4
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
114 .rept 4
[all …]
/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 Dsentelic.rst8 :Copyright: |copy| 2002-2011 Sentelic Corporation.
10 :Last update: Dec-07-2011
12 Finger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons)
15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
21 4. Issuing the "Get device ID" command (0xF2) and waits for the response;
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
[all …]
/linux/drivers/scsi/
H A Dmyrb.h1 /* 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 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 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 Darcmsr_spec.rst11 ------------
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/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 */
61 l32i a7, a2, 4
76 addi a2, a2, 4*8
[all …]
H A Dstrnlen_user.S50 addi a4, a2, -4 # because we overincrement at the end;
51 # we compensate with load offsets of 4
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.
63 srli a10, a3, 2 # number of loop iterations with 4B per loop
[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
63 srli a10, a4, 2 # number of loop iterations with 4B per loop
69 EX(11f) l8ui a9, a3, 0 # get byte 0
[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 */
67 .align 4
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
[all …]
H A Dmemcopy.S2 * 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
36 * 8, 4, 2, and 1 byte copies conditional on the length;
39 * This code tries to use fall-through branches for the common
41 * of 4 (or 8) length.
61 * Byte by byte copy
63 .align 4
64 .byte 0 # 1 mod 4 alignment for LOOPNEZ
65 # (0 mod 4 alignment for LBEG)
[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
22 4:4:4 Subsampling
28 The next table lists the packed YUV 4:4:4 formats with less than 8 bits per
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`].
[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 …]
/linux/tools/testing/selftests/bpf/verifier/
H A Dctx_sk_lookup.c2 "valid 1,2,4,8-byte reads from bpf_sk_lookup",
4 /* 1-byte read from family field */
13 /* 2-byte read from family field */
18 /* 4-byte read from family field */
22 /* 1-byte read from protocol field */
31 /* 2-byte read from protocol field */
36 /* 4-byte read from protocol field */
40 /* 1-byte read from remote_ip4 field */
49 /* 2-byte read from remote_ip4 field */
54 /* 4-byte read from remote_ip4 field */
[all …]
/linux/lib/zstd/compress/
H A Dzstd_double_fast.c1 // 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.
22 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTableForCDict()
23 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCDict()
24 U32 const hBitsL = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict()
25 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTableForCDict()
26 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCDict()
27 U32 const hBitsS = cParams->chainLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillDoubleHashTableForCDict()
28 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTableForCDict()
[all …]
H A Dzstd_lazy.c1 // 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.
24 /*-*************************************
31 const BYTE* ip, const BYTE* iend, in ZSTD_updateDUBT()
34 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT()
35 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT()
36 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT()
38 U32* const bt = ms->chainTable; in ZSTD_updateDUBT()
39 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT()
[all …]
H A Dzstd_fast.c1 // 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.
21 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTableForCDict()
22 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict()
23 U32 const hBits = cParams->hashLog + ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_fillHashTableForCDict()
24 U32 const mls = cParams->minMatch; in ZSTD_fillHashTableForCDict()
25 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCDict()
26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCDict()
27 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTableForCDict()
[all …]
H A Dhist.c1 // 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/arch/powerpc/kernel/vdso/
H A Dsigtramp32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
23 .Lsig_start = . - 4
39 /* Register r1 can be found at offset 4 of a pt_regs structure.
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 */ \
[all …]
/linux/drivers/scsi/isci/
H A Dsas.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
90 u8 task_prio:4;
107 u8 _r_b[4];
114 * struct smp_req_phy_id - This structure defines the contents of
123 u8 _r_a[4]; /* bytes 4-7 */
125 u8 ign_zone_grp:1; /* byte 8 */
128 u8 phy_id; /* byte 9 */
129 u8 _r_c; /* byte 10 */
[all …]
/linux/arch/powerpc/perf/
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 */
35 #define PM_IDU 4
70 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8)
80 * T0 - TTM0 constraint
81 * 54-55: TTM0SEL value (0=FPU, 2=IFU, 3=ISU1) 0xc0_0000_0000_0000
83 * T1 - TTM1 constraint
84 * 52-53: TTM1SEL value (0=IDU, 3=GRS) 0x30_0000_0000_0000
[all …]
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 */
23 #define PM_BYTE_SH 4 /* Byte number of event bus to use */
32 #define PM_IFU 4
91 * SP - SPCSEL constraint
92 * 48-49: SPCSEL value 0x3_0000_0000_0000
94 * T0 - TTM0 constraint
[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 */
35 #define PM_IDU 4
70 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8)
80 * NC - number of counters
82 * 48-50: number of events needing PMC1-4 0x0007_0000_0000_0000
84 * G0..G3 - GRS mux constraints
85 * 46-47: GRS_L2SEL value
[all …]
/linux/lib/crypto/x86/
H A Dblake2s-core.S1 /* 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/fs/nfsd/
H A Dnfsfh.h1 /* 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 …]

12345678910>>...45