Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/drivers/crypto/hisilicon/sec2/
Dsec_crypto.h1 /* SPDX-License-Identifier: GPL-2.0 */
99 * mac_len: 0~4 bits
100 * a_key_len: 5~10 bits
101 * a_alg: 11~16 bits
106 * c_icv_len: 0~5 bits
107 * c_width: 6~8 bits
108 * c_key_len: 9~11 bits
109 * c_mode: 12~15 bits
113 /* c_alg: 0~3 bits */
118 * a_len: 0~23 bits
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dpixfmt-srggb10-ipu3.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-pix-fmt-ipu3-sbggr10:
4 .. _v4l2-pix-fmt-ipu3-sgbrg10:
5 .. _v4l2-pix-fmt-ipu3-sgrbg10:
6 .. _v4l2-pix-fmt-ipu3-srggb10:
13 10-bit Bayer formats
20 sRGB / Bayer formats with 10 bits per sample with every 25 pixels packed
21 to 32 bytes leaving 6 most significant bits padding in the last byte.
24 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`.
36 .. flat-table::
[all …]
Dpixfmt-srggb14p.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB14P:
4 .. _v4l2-pix-fmt-sbggr14p:
5 .. _v4l2-pix-fmt-sgbrg14p:
6 .. _v4l2-pix-fmt-sgrbg14p:
17 14-bit packed Bayer formats
24 bits per colour. Every four consecutive samples are packed into seven
25 bytes. Each of the first four bytes contain the eight high order bits
27 significants bits of each pixel, in the same order.
29 Each n-pixel row contains n/2 green samples and n/2 blue or red samples,
[all …]
Dpixfmt-srggb12p.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB12P:
4 .. _v4l2-pix-fmt-sbggr12p:
5 .. _v4l2-pix-fmt-sgbrg12p:
6 .. _v4l2-pix-fmt-sgrbg12p:
13 12-bit packed Bayer formats
14 ---------------------------
21 bits per colour. Every two consecutive samples are packed into three
22 bytes. Each of the first two bytes contain the 8 high order bits of
24 bits of each pixel, in the same order.
[all …]
/Linux-v6.1/include/rdma/
Dib_smi.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
71 u8 linkspeed_portstate; /* 4 bits, 4 bits */
72 u8 portphysstate_linkdown; /* 4 bits, 4 bits */
73 u8 mkeyprot_resv_lmc; /* 2 bits, 3, 3 */
74 u8 linkspeedactive_enabled; /* 4 bits, 4 bits */
75 u8 neighbormtu_mastersmsl; /* 4 bits, 4 bits */
76 u8 vlcap_inittype; /* 4 bits, 4 bits */
80 u8 inittypereply_mtucap; /* 4 bits, 4 bits */
81 u8 vlstallcnt_hoqlife; /* 3 bits, 5 bits */
82 u8 operationalvl_pei_peo_fpi_fpo; /* 4 bits, 1, 1, 1, 1 */
[all …]
Dopa_port_info.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
3 * Copyright (c) 2014-2020 Intel Corporation. All rights reserved.
12 #define OPA_PORT_LINK_MODE_OPA 4 /* Port mode is OPA */
17 #define OPA_PORT_PACKET_FORMAT_10B 4 /* Format 10B */
21 #define OPA_PORT_LTP_CRC_MODE_14 1 /* 14-bit LTP CRC mode (optional) */
22 #define OPA_PORT_LTP_CRC_MODE_16 2 /* 16-bit LTP CRC mode */
23 #define OPA_PORT_LTP_CRC_MODE_48 4 /* 48-bit LTP CRC mode (optional) */
24 #define OPA_PORT_LTP_CRC_MODE_PER_LANE 8 /* 12/16-bit per lane LTP CRC mode */
31 #define OPA_LINKDOWN_REASON_PKT_TOO_SHORT 4
61 /* 34 -reserved */
[all …]
/Linux-v6.1/drivers/pci/
Dpci-bridge-emul.c1 // SPDX-License-Identifier: GPL-2.0
21 #include "pci-bridge-emul.h"
28 * struct pci_bridge_reg_behavior - register bits behaviors
29 * @ro: Read-Only bits
30 * @rw: Read-Write bits
31 * @w1c: Write-1-to-Clear bits
33 * Reads and Writes will be filtered by specified behavior. All other bits not
36 * multi-bit fields) when read".
39 /* Read-only bits */
42 /* Read-write bits */
[all …]
/Linux-v6.1/tools/edid/
Dedid.S18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
36 /* Provide defaults for the timing bits */
48 ((((v1-'@')&0x1f)<<10)+(((v2-'@')&0x1f)<<5)+((v3-'@')&0x1f))
50 #define lsbs2(v1,v2) (((v1&0x0f)<<4)+(v2&0x0f))
51 #define msbs2(v1,v2) ((((v1>>8)&0x0f)<<4)+((v2>>8)&0x0f))
53 ((((v1>>8)&0x03)<<6)+(((v2>>8)&0x03)<<4)+\
54 (((v3>>4)&0x03)<<2)+((v4>>4)&0x03))
68 /* Serial number. 32 bits, little endian. */
74 /* Year of manufacture, less 1990. (1990-2245)
76 year: .byte YEAR-1990
[all …]
/Linux-v6.1/drivers/gpu/drm/gma500/
Doaktrail.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2007-2011, Intel Corporation.
16 u8 hblank_hi:4;
17 u8 hactive_hi:4;
20 u8 vblank_hi:4;
21 u8 vactive_hi:4;
24 u8 vsync_pulse_width_lo:4;
25 u8 vsync_offset_lo:4;
32 u8 height_mm_hi:4;
33 u8 width_mm_hi:4;
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h35 LANE_COUNT_FOUR = 4,
49 LINK_RATE_LOW = 0x06, // Rate_1 (RBR) - 1.62 Gbps/Lane
50 LINK_RATE_RATE_2 = 0x08, // Rate_2 - 2.16 Gbps/Lane
51 LINK_RATE_RATE_3 = 0x09, // Rate_3 - 2.43 Gbps/Lane
52 LINK_RATE_HIGH = 0x0A, // Rate_4 (HBR) - 2.70 Gbps/Lane
53 LINK_RATE_RBR2 = 0x0C, // Rate_5 (RBR2)- 3.24 Gbps/Lane
54 LINK_RATE_RATE_6 = 0x10, // Rate_6 - 4.32 Gbps/Lane
55 LINK_RATE_HIGH2 = 0x14, // Rate_7 (HBR2)- 5.40 Gbps/Lane
56 LINK_RATE_HIGH3 = 0x1E, // Rate_8 (HBR3)- 8.10 Gbps/Lane
60 LINK_RATE_UHBR10 = 1000, // UHBR10 - 10.0 Gbps/Lane
[all …]
/Linux-v6.1/include/drm/display/
Ddrm_dsc.h1 /* SPDX-License-Identifier: MIT
28 #define DSC_PPS_VERSION_MAJOR_SHIFT 4
29 #define DSC_PPS_BPC_SHIFT 4
35 #define DSC_PPS_CONVERT_RGB_SHIFT 4
39 #define DSC_PPS_RC_TGT_OFFSET_HI_SHIFT 4
48 * struct drm_dsc_rc_range_parameters - DSC Rate Control range parameters
64 * Bits/group offset to apply to target for this group
70 * struct drm_dsc_config - Parameters required to configure DSC
78 * Bits per component for previous reconstructed line buffer
82 * @bits_per_component: Bits per component to code (8/10/12)
[all …]
/Linux-v6.1/include/linux/irqchip/
Dirq-bcm2836.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * The low 2 bits identify the CPU that the GPU IRQ goes to, and the
13 * next 2 bits identify the CPU that the GPU FIQ goes to.
16 /* When setting bits 0-3, enables PMU interrupts on that CPU. */
18 /* When setting bits 0-3, disables PMU interrupts on that CPU. */
21 * The low 4 bits of this are the CPU's timer IRQ enables, and the
22 * next 4 bits are the CPU's timer FIQ enables (which override the IRQ
23 * bits).
27 * The low 4 bits of this are the CPU's per-mailbox IRQ enables, and
28 * the next 4 bits are the CPU's per-mailbox FIQ enables (which
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/nvmem/
Dsocionext,uniphier-efuse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Keiji Hayashibara <hayashibara.keiji@socionext.com>
11 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
14 - $ref: "nvmem.yaml#"
17 "#address-cells": true
18 "#size-cells": true
21 const: socionext,uniphier-efuse
[all …]
/Linux-v6.1/drivers/iio/dac/
Dad5686.c1 // SPDX-License-Identifier: GPL-2.0
33 return ((st->pwr_down_mode >> (chan->channel * 2)) & 0x3) - 1; in ad5686_get_powerdown_mode()
42 st->pwr_down_mode &= ~(0x3 << (chan->channel * 2)); in ad5686_set_powerdown_mode()
43 st->pwr_down_mode |= ((mode + 1) << (chan->channel * 2)); in ad5686_set_powerdown_mode()
60 return sysfs_emit(buf, "%d\n", !!(st->pwr_down_mask & in ad5686_read_dac_powerdown()
61 (0x3 << (chan->channel * 2)))); in ad5686_read_dac_powerdown()
81 st->pwr_down_mask |= (0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown()
83 st->pwr_down_mask &= ~(0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown()
85 switch (st->chip_info->regmap_type) { in ad5686_write_dac_powerdown()
98 if (chan->channel > 0x7) in ad5686_write_dac_powerdown()
[all …]
/Linux-v6.1/lib/xz/
Dxz_lzma2.h5 * Igor Pavlov <https://7-zip.org/>
24 * number of bits of the current uncompressed offset. In some places there
27 #define POS_STATES_MAX (1 << 4)
34 * - Literal: One 8-bit byte
35 * - Match: Repeat a chunk of data at some distance
36 * - Long repeat: Multi-byte match at a recently seen distance
37 * - Short repeat: One-byte repeat at a recently seen distance
40 * either short or long repeated match, and NONLIT means any non-literal.
69 *state -= 3; in lzma_state_literal()
71 *state -= 6; in lzma_state_literal()
[all …]
/Linux-v6.1/drivers/net/ipa/reg/
Dipa_reg-v3.5.1.c1 // SPDX-License-Identifier: GPL-2.0
15 [IPA_DCMP_FAST_CLK_EN] = BIT(4),
16 /* Bits 5-31 reserved */
26 [RAM_ARB] = BIT(4),
44 /* Bits 22-31 reserved */
55 /* Bits 22-23 reserved */
57 /* Bits 25-31 reserved */
71 [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4),
72 /* Bits 8-31 reserved */
79 [GEN_QMB_1_MAX_READS] = GENMASK(7, 4),
[all …]
Dipa_reg-v4.2.c1 // SPDX-License-Identifier: GPL-2.0
15 [IPA_DCMP_FAST_CLK_EN] = BIT(4),
29 /* Bits 21-31 reserved */
39 [RAM_ARB] = BIT(4),
65 /* Bits 30-31 reserved */
76 /* Bits 22-23 reserved */
78 /* Bits 25-31 reserved */
92 [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4),
93 /* Bits 8-31 reserved */
100 [GEN_QMB_1_MAX_READS] = GENMASK(7, 4),
[all …]
Dipa_reg-v4.11.c1 // SPDX-License-Identifier: GPL-2.0
15 /* Bit 4 reserved */
34 /* Bits 24-29 reserved */
46 [RAM_ARB] = BIT(4),
84 /* Bits 22-23 reserved */
86 /* Bits 25-31 reserved */
100 [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4),
101 /* Bits 8-31 reserved */
108 [GEN_QMB_1_MAX_READS] = GENMASK(7, 4),
109 /* Bits 8-15 reserved */
[all …]
Dipa_reg-v4.9.c1 // SPDX-License-Identifier: GPL-2.0
15 /* Bit 4 reserved */
33 /* Bits 25-29 reserved */
45 [RAM_ARB] = BIT(4),
83 /* Bits 22-23 reserved */
85 /* Bits 25-31 reserved */
99 [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4),
100 /* Bits 8-31 reserved */
107 [GEN_QMB_1_MAX_READS] = GENMASK(7, 4),
108 /* Bits 8-15 reserved */
[all …]
Dipa_reg-v4.5.c1 // SPDX-License-Identifier: GPL-2.0
15 /* Bit 4 reserved */
30 /* Bits 22-31 reserved */
40 [RAM_ARB] = BIT(4),
78 /* Bits 22-23 reserved */
80 /* Bits 25-31 reserved */
94 [GEN_QMB_1_MAX_WRITES] = GENMASK(7, 4),
95 /* Bits 8-31 reserved */
102 [GEN_QMB_1_MAX_READS] = GENMASK(7, 4),
103 /* Bits 8-15 reserved */
[all …]
/Linux-v6.1/drivers/dma/idxd/
Dregisters.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 #define GET_IDXD_VER_MAJOR(x) (((x) & IDXD_VER_MAJOR_MASK) >> 4)
36 u64 max_batch_shift:4;
41 u64 bits; member
49 u64 wqcfg_size:4;
60 u64 bits; member
74 u64 bits; member
83 u64 bits; member
92 u64 bits[4]; member
109 u64 bits[2]; member
[all …]
/Linux-v6.1/drivers/net/ieee802154/
Dmcr20a.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Driver for NXP MCR20A 802.15.4 Wireless-PAN Networking controller
50 /*------------------ 0x27 */
69 /*----------------------- 0x3A */
118 /*-------------------- 0x29 */
124 /*------------------ 0x2F */
128 /*------------------- 0x33 */
147 /*-------------------- 0x46 */
163 /*------------------- 0x56 */
164 /*------------------- 0x57 */
[all …]
/Linux-v6.1/include/linux/mfd/
Drohm-bd71815.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * Author: yanglsh@embest-tech.com
32 /* LDO for Low-Power State Retention */
229 /* BD71815_REG_BUCK1_MODE bits */
236 #define BD71815_BUCK_PWM_FIXED BIT(4)
242 /* BD71815_REG_BUCK1_VOLT_H bits */
249 /* BD71815_REG_BUCK2_VOLT_H bits */
256 /* LED enable bits at LED_CTRL reg */
257 #define LED_CHGDONE_EN BIT(4)
262 /* BD71815_REG_LDO1_CTRL bits */
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/
Dtda1997x.txt1 Device-Tree bindings for the NXP TDA1997x HDMI receiver
6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4]
7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4]
8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4]
9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2]
10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0]
11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles)
12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles)
13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles)
16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0]
[all …]
/Linux-v6.1/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf_rf2959.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* ZD1211 USB-WLAN driver for Linux
4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
18 RF_CHANNEL( 4) = { 0x1819a9, 0x1e6666 },
32 static int bits(u32 rw, int from, int to)
41 return bits(rw, bit, bit);
46 int reg = bits(rw, 18, 22);
47 int rw_flag = bits(rw, 23, 23);
54 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1),
[all …]

12345678910>>...43