Home
last modified time | relevance | path

Searched full:bits (Results 1 – 25 of 5138) sorted by relevance

12345678910>>...206

/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-srggb10-ipu3.rst18 sRGB / Bayer formats with 10 bits per sample with every 25 pixels packed
19 to 32 bytes leaving 6 most significant bits padding in the last byte.
34 - G\ :sub:`0001low`\ (bits 7--2)
36 B\ :sub:`0000high`\ (bits 1--0)
37 - B\ :sub:`0002low`\ (bits 7--4)
39 G\ :sub:`0001high`\ (bits 3--0)
40 - G\ :sub:`0003low`\ (bits 7--6)
42 B\ :sub:`0002high`\ (bits 5--0)
46 - G\ :sub:`0005low`\ (bits 7--2)
48 B\ :sub:`0004high`\ (bits 1--0)
[all …]
Dpixfmt-srggb14p.rst24 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.
61 - G\ :sub:`01low bits 1--0`\ (bits 7--6)
63 B\ :sub:`00low bits 5--0`\ (bits 5--0)
65 - B\ :sub:`02low bits 3--0`\ (bits 7--4)
67 G\ :sub:`01low bits 5--2`\ (bits 3--0)
69 - G\ :sub:`03low bits 5--0`\ (bits 7--2)
71 B\ :sub:`02low bits 5--4`\ (bits 1--0)
85 - R\ :sub:`11low bits 1--0`\ (bits 7--6)
[all …]
/Linux-v5.10/include/sound/
Dcs8403.h24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE() argument
26 if (bits & 0x01) { /* consumer */ in SND_CS8403_DECODE()
27 if (!(bits & 0x02)) in SND_CS8403_DECODE()
29 if (!(bits & 0x08)) in SND_CS8403_DECODE()
31 switch (bits & 0x10) { in SND_CS8403_DECODE()
35 if (!(bits & 0x80)) in SND_CS8403_DECODE()
37 switch (bits & 0x60) { in SND_CS8403_DECODE()
43 switch (bits & 0x06) { in SND_CS8403_DECODE()
50 switch (bits & 0x18) { in SND_CS8403_DECODE()
56 switch (bits & 0x60) { in SND_CS8403_DECODE()
[all …]
/Linux-v5.10/arch/sparc/include/asm/
Dpcic.h50 #define PCI_DIAGNOSTIC_0 0x40 /* 32 bits */
51 #define PCI_SIZE_0 0x44 /* 32 bits */
52 #define PCI_SIZE_1 0x48 /* 32 bits */
53 #define PCI_SIZE_2 0x4c /* 32 bits */
54 #define PCI_SIZE_3 0x50 /* 32 bits */
55 #define PCI_SIZE_4 0x54 /* 32 bits */
56 #define PCI_SIZE_5 0x58 /* 32 bits */
57 #define PCI_PIO_CONTROL 0x60 /* 8 bits */
58 #define PCI_DVMA_CONTROL 0x62 /* 8 bits */
63 #define PCI_INTERRUPT_CONTROL 0x63 /* 8 bits */
[all …]
/Linux-v5.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.h69 * mac_len: 0~4 bits
70 * a_key_len: 5~10 bits
71 * a_alg: 11~16 bits
76 * c_icv_len: 0~5 bits
77 * c_width: 6~8 bits
78 * c_key_len: 9~11 bits
79 * c_mode: 12~15 bits
83 /* c_alg: 0~3 bits */
88 * a_len: 0~23 bits
89 * iv_offset_l: 24~31 bits
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Domap3-echo.dts106 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
110 led-cur = /bits/ 8 <12>;
111 max-cur = /bits/ 8 <15>;
114 led-cur = /bits/ 8 <12>;
115 max-cur = /bits/ 8 <15>;
118 led-cur = /bits/ 8 <12>;
119 max-cur = /bits/ 8 <15>;
122 led-cur = /bits/ 8 <12>;
123 max-cur = /bits/ 8 <15>;
126 led-cur = /bits/ 8 <12>;
[all …]
Dtegra30-cpu-opp.dtsi11 opp-hz = /bits/ 64 <51000000>;
17 opp-hz = /bits/ 64 <51000000>;
23 opp-hz = /bits/ 64 <51000000>;
29 opp-hz = /bits/ 64 <102000000>;
35 opp-hz = /bits/ 64 <102000000>;
41 opp-hz = /bits/ 64 <102000000>;
47 opp-hz = /bits/ 64 <204000000>;
53 opp-hz = /bits/ 64 <204000000>;
59 opp-hz = /bits/ 64 <204000000>;
65 opp-hz = /bits/ 64 <312000000>;
[all …]
Dtegra20-cpu-opp.dtsi11 opp-hz = /bits/ 64 <216000000>;
17 opp-hz = /bits/ 64 <216000000>;
23 opp-hz = /bits/ 64 <312000000>;
29 opp-hz = /bits/ 64 <312000000>;
35 opp-hz = /bits/ 64 <456000000>;
42 opp-hz = /bits/ 64 <456000000>;
48 opp-hz = /bits/ 64 <456000000>;
54 opp-hz = /bits/ 64 <608000000>;
60 opp-hz = /bits/ 64 <608000000>;
66 opp-hz = /bits/ 64 <608000000>;
[all …]
/Linux-v5.10/arch/parisc/include/asm/
Delf.h61 #define R_PARISC_DIR21L 2 /* Left 21 bits of eff. address. */
62 #define R_PARISC_DIR17R 3 /* Right 17 bits of eff. address. */
63 #define R_PARISC_DIR17F 4 /* 17 bits of eff. address. */
64 #define R_PARISC_DIR14R 6 /* Right 14 bits of eff. address. */
66 #define R_PARISC_PCREL21L 10 /* Left 21 bits of rel. address. */
67 #define R_PARISC_PCREL17R 11 /* Right 17 bits of rel. address. */
68 #define R_PARISC_PCREL17F 12 /* 17 bits of rel. address. */
69 #define R_PARISC_PCREL14R 14 /* Right 14 bits of rel. address. */
70 #define R_PARISC_DPREL21L 18 /* Left 21 bits of rel. address. */
71 #define R_PARISC_DPREL14R 22 /* Right 14 bits of rel. address. */
[all …]
/Linux-v5.10/include/linux/mfd/da9052/
Dreg.h178 /* STATUS REGISTER A BITS */
188 /* STATUS REGISTER B BITS */
198 /* STATUS REGISTER C BITS */
208 /* STATUS REGISTER D BITS */
218 /* EVENT REGISTER A BITS */
228 /* EVENT REGISTER B BITS */
238 /* EVENT REGISTER C BITS */
248 /* EVENT REGISTER D BITS */
258 /* IRQ MASK REGISTERS BITS */
261 /* TSI EVENT REGISTERS BITS */
[all …]
/Linux-v5.10/arch/arc/include/asm/
Ddisasm.h32 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) macro
34 #define MAJOR_OPCODE(word) (BITS((word), 27, 31))
35 #define MINOR_OPCODE(word) (BITS((word), 16, 21))
36 #define FIELD_A(word) (BITS((word), 0, 5))
37 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \
38 (BITS((word), 24, 26)))
39 #define FIELD_C(word) (BITS((word), 6, 11))
41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \
42 BITS((word), 6, 11)), 12)
46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \
[all …]
/Linux-v5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-a311d.dtsi15 opp-hz = /bits/ 64 <100000000>;
20 opp-hz = /bits/ 64 <250000000>;
25 opp-hz = /bits/ 64 <500000000>;
30 opp-hz = /bits/ 64 <667000000>;
35 opp-hz = /bits/ 64 <1000000000>;
40 opp-hz = /bits/ 64 <1200000000>;
45 opp-hz = /bits/ 64 <1398000000>;
50 opp-hz = /bits/ 64 <1512000000>;
55 opp-hz = /bits/ 64 <1608000000>;
60 opp-hz = /bits/ 64 <1704000000>;
[all …]
Dmeson-g12b-s922x.dtsi15 opp-hz = /bits/ 64 <100000000>;
20 opp-hz = /bits/ 64 <250000000>;
25 opp-hz = /bits/ 64 <500000000>;
30 opp-hz = /bits/ 64 <667000000>;
35 opp-hz = /bits/ 64 <1000000000>;
40 opp-hz = /bits/ 64 <1200000000>;
45 opp-hz = /bits/ 64 <1398000000>;
50 opp-hz = /bits/ 64 <1512000000>;
55 opp-hz = /bits/ 64 <1608000000>;
60 opp-hz = /bits/ 64 <1704000000>;
[all …]
/Linux-v5.10/Documentation/userspace-api/media/rc/
Drc-protos.rst32 This IR protocol uses manchester encoding to encode 14 bits. There is a
38 .. flat-table:: rc5 bits scancode mapping
81 done to keep it compatible with plain rc-5 where there are two start bits.
88 .. flat-table:: rc-5-sz bits scancode mapping
91 * - rc-5-sz bits
130 This rc-5 extended to encoded 20 bits. The is a 3555 microseconds space
133 .. flat-table:: rc-5x-20 bits scancode mapping
136 * - rc-5-sz bits
185 The scancode is a 16 bits value, where the address is the lower 8 bits
186 and the command the higher 8 bits; this is reversed from IR order.
[all …]
/Linux-v5.10/drivers/media/radio/si470x/
Dradio-si470x.h41 #define DEVICEID_PN 0xf000 /* bits 15..12: Part Number */
42 #define DEVICEID_MFGID 0x0fff /* bits 11..00: Manufacturer ID */
45 #define SI_CHIPID_REV 0xfc00 /* bits 15..10: Chip Version */
46 #define SI_CHIPID_DEV 0x0200 /* bits 09..09: Device */
47 #define SI_CHIPID_FIRMWARE 0x01ff /* bits 08..00: Firmware Version */
50 #define POWERCFG_DSMUTE 0x8000 /* bits 15..15: Softmute Disable */
51 #define POWERCFG_DMUTE 0x4000 /* bits 14..14: Mute Disable */
52 #define POWERCFG_MONO 0x2000 /* bits 13..13: Mono Select */
53 #define POWERCFG_RDSM 0x0800 /* bits 11..11: RDS Mode (Si4701 only) */
54 #define POWERCFG_SKMODE 0x0400 /* bits 10..10: Seek Mode */
[all …]
/Linux-v5.10/include/rdma/
Dib_smi.h71 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 */
87 u8 clientrereg_resv_subnetto; /* 1 bit, 2 bits, 5 */
[all …]
/Linux-v5.10/lib/
Dbitmap.c26 * bitmaps provide an array of bits, implemented using an
27 * array of unsigned longs. The number of valid bits in a
31 * The possible unused bits in the last, partially used word
37 * carefully filter out these unused bits from impacting their
47 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument
49 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal()
54 if (bits % BITS_PER_LONG) in __bitmap_equal()
55 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
65 unsigned int bits) in __bitmap_or_equal() argument
67 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal()
[all …]
/Linux-v5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf_rf2959.c32 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),
63 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0, 3));
67 bits(rw, 6, 17), bits(rw, 0, 5));
70 PDEBUG("reg3 IFPLL3 num %d", bits(rw, 0, 17));
74 bits(rw, 8, 16), bits(rw, 4, 7), bits(rw, 0, 3));
82 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0,3));
[all …]
/Linux-v5.10/drivers/block/drbd/
Ddrbd_vli.h29 * gives the number of set or unset bits.
35 * Still, there may be areas where the polarity flips every few bits,
44 * For some cases, we produce more code bits than plaintext input.
76 * Number of data bits follow fibonacci sequence, with the exception of the
78 * encoding bit polarity runlength is 1 plain bits => 2 code bits.
79 prefix data bits max val Nº data bits
107 #................. s ........................... plain bits ..........
112 /* LEVEL: (total bits, prefix bits, prefix value),
113 * sorted ascending by number of total bits.
131 * returns number of bits consumed.
[all …]
/Linux-v5.10/drivers/video/fbdev/core/
Dsyscopyarea.c29 const unsigned long *src, unsigned src_idx, int bits, unsigned n) in bitcpy() argument
36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy()
40 if (dst_idx+n <= bits) { in bitcpy()
47 /* Leading bits */ in bitcpy()
52 n -= bits - dst_idx; in bitcpy()
56 n /= bits; in bitcpy()
71 /* Trailing bits */ in bitcpy()
80 right = shift & (bits - 1); in bitcpy()
81 left = -shift & (bits - 1); in bitcpy()
83 if (dst_idx+n <= bits) { in bitcpy()
[all …]
Dsysfillrect.c26 unsigned long pat, unsigned n, int bits) in bitfill_aligned() argument
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
36 if (dst_idx+n <= bits) { in bitfill_aligned()
44 /* Leading bits */ in bitfill_aligned()
48 n -= bits - dst_idx; in bitfill_aligned()
52 n /= bits; in bitfill_aligned()
66 /* Trailing bits */ in bitfill_aligned()
82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
92 if (dst_idx+n <= bits) { in bitfill_unaligned()
[all …]
/Linux-v5.10/lib/zlib_inflate/
Dinffast.c44 state->bits < 8
54 - The maximum input bits used by a length/distance pair is 15 bits for the
55 length code, 5 bits for the length extra, 15 bits for the distance code,
56 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
83 unsigned bits; /* local strm->bits */ in inflate_fast() local
89 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast()
110 bits = state->bits; in inflate_fast()
119 if (bits < 15) { in inflate_fast()
120 hold += (unsigned long)(*in++) << bits; in inflate_fast()
121 bits += 8; in inflate_fast()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/rockchip/
Drk3399-op1-opp.dtsi12 opp-hz = /bits/ 64 <408000000>;
17 opp-hz = /bits/ 64 <600000000>;
21 opp-hz = /bits/ 64 <816000000>;
25 opp-hz = /bits/ 64 <1008000000>;
29 opp-hz = /bits/ 64 <1200000000>;
33 opp-hz = /bits/ 64 <1416000000>;
37 opp-hz = /bits/ 64 <1512000000>;
47 opp-hz = /bits/ 64 <408000000>;
52 opp-hz = /bits/ 64 <600000000>;
56 opp-hz = /bits/ 64 <816000000>;
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/opp/
Dqcom-nvmem-cpufreq.txt149 opp-hz = /bits/ 64 <307200000>;
155 opp-hz = /bits/ 64 <384000000>;
161 opp-hz = /bits/ 64 <422400000>;
167 opp-hz = /bits/ 64 <460800000>;
173 opp-hz = /bits/ 64 <480000000>;
179 opp-hz = /bits/ 64 <537600000>;
185 opp-hz = /bits/ 64 <556800000>;
191 opp-hz = /bits/ 64 <614400000>;
197 opp-hz = /bits/ 64 <652800000>;
203 opp-hz = /bits/ 64 <691200000>;
[all …]
/Linux-v5.10/fs/jffs2/
Dcompr_rubin.c44 int bits[8]; member
88 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin() argument
98 rs->bits[c] = bits[c]; in init_rubin()
151 static void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode() argument
153 init_rubin(rs, div, bits); in init_decode()
168 int c, bits = 0; in __do_decode() local
171 * First, work out how many bits we need from the input stream. in __do_decode()
176 bits++; in __do_decode()
185 rs->bit_number += bits; in __do_decode()
188 * Now get the bits. We really want this to be "get n bits". in __do_decode()
[all …]

12345678910>>...206