Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 2777) sorted by relevance

12345678910>>...112

/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-srggb10-ipu3.rst20 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.
40 - G\ :sub:`0001low`\ (bits 7--2)
42 B\ :sub:`0000high`\ (bits 1--0)
43 - B\ :sub:`0002low`\ (bits 7--4)
45 G\ :sub:`0001high`\ (bits 3--0)
46 - G\ :sub:`0003low`\ (bits 7--6)
48 B\ :sub:`0002high`\ (bits 5--0)
52 - G\ :sub:`0005low`\ (bits 7--2)
54 B\ :sub:`0004high`\ (bits 1--0)
[all …]
H A 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 significant bits of each pixel, in the same order.
63 - G\ :sub:`01low bits 1--0`\ (bits 7--6)
65 B\ :sub:`00low bits 5--0`\ (bits 5--0)
67 - B\ :sub:`02low bits 3--0`\ (bits 7--4)
69 G\ :sub:`01low bits 5--2`\ (bits 3--0)
71 - G\ :sub:`03low bits 5--0`\ (bits 7--2)
73 B\ :sub:`02low bits 5--4`\ (bits 1--0)
87 - R\ :sub:`11low bits 1--0`\ (bits 7--6)
[all …]
/linux/include/sound/
H A 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/arch/arm/boot/dts/nvidia/
H A Dtegra124-peripherals-opp.dtsi9 opp-hz = /bits/ 64 <12750000>;
15 opp-hz = /bits/ 64 <12750000>;
21 opp-hz = /bits/ 64 <12750000>;
27 opp-hz = /bits/ 64 <12750000>;
33 opp-hz = /bits/ 64 <20400000>;
39 opp-hz = /bits/ 64 <20400000>;
45 opp-hz = /bits/ 64 <20400000>;
51 opp-hz = /bits/ 64 <20400000>;
57 opp-hz = /bits/ 64 <40800000>;
63 opp-hz = /bits/ 64 <40800000>;
[all …]
H A Dtegra30-peripherals-opp.dtsi59 opp-hz = /bits/ 64 <12750000>;
66 opp-hz = /bits/ 64 <12750000>;
73 opp-hz = /bits/ 64 <12750000>;
80 opp-hz = /bits/ 64 <25500000>;
87 opp-hz = /bits/ 64 <25500000>;
94 opp-hz = /bits/ 64 <25500000>;
101 opp-hz = /bits/ 64 <27000000>;
108 opp-hz = /bits/ 64 <27000000>;
115 opp-hz = /bits/ 64 <27000000>;
122 opp-hz = /bits/ 64 <51000000>;
[all …]
H A Dtegra20-peripherals-opp.dtsi49 opp-hz = /bits/ 64 <36000000>;
56 opp-hz = /bits/ 64 <47500000>;
63 opp-hz = /bits/ 64 <50000000>;
70 opp-hz = /bits/ 64 <54000000>;
77 opp-hz = /bits/ 64 <57000000>;
84 opp-hz = /bits/ 64 <100000000>;
91 opp-hz = /bits/ 64 <108000000>;
98 opp-hz = /bits/ 64 <126666000>;
105 opp-hz = /bits/ 64 <150000000>;
112 opp-hz = /bits/ 64 <190000000>;
[all …]
H A 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>;
54 opp-hz = /bits/ 64 <204000000>;
61 opp-hz = /bits/ 64 <204000000>;
68 opp-hz = /bits/ 64 <312000000>;
[all …]
H A Dtegra20-cpu-opp.dtsi11 opp-hz = /bits/ 64 <216000000>;
18 opp-hz = /bits/ 64 <216000000>;
25 opp-hz = /bits/ 64 <312000000>;
31 opp-hz = /bits/ 64 <312000000>;
37 opp-hz = /bits/ 64 <456000000>;
44 opp-hz = /bits/ 64 <456000000>;
50 opp-hz = /bits/ 64 <456000000>;
56 opp-hz = /bits/ 64 <608000000>;
62 opp-hz = /bits/ 64 <608000000>;
68 opp-hz = /bits/ 64 <608000000>;
[all …]
/linux/drivers/net/wireless/zydas/zd1211rw/
H A 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/arch/arm64/boot/dts/nvidia/
H A Dtegra132-peripherals-opp.dtsi10 opp-hz = /bits/ 64 <12750000>;
16 opp-hz = /bits/ 64 <12750000>;
22 opp-hz = /bits/ 64 <12750000>;
28 opp-hz = /bits/ 64 <12750000>;
34 opp-hz = /bits/ 64 <20400000>;
40 opp-hz = /bits/ 64 <20400000>;
46 opp-hz = /bits/ 64 <20400000>;
52 opp-hz = /bits/ 64 <20400000>;
58 opp-hz = /bits/ 64 <40800000>;
64 opp-hz = /bits/ 64 <40800000>;
[all …]
/linux/arch/x86/include/asm/
H A Dword-at-a-time.h15 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument
18 *bits = mask; in has_zero()
22 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument
24 return bits; in prep_zero_mask()
30 #define create_zero_mask(bits) (bits) argument
32 static inline unsigned long zero_bytemask(unsigned long bits) in zero_bytemask() argument
34 bits = (bits - 1) & ~bits; in zero_bytemask()
35 return bits >> 7; in zero_bytemask()
38 #define find_zero(bits) (__ffs(bits) >> 3) argument
43 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument
[all …]
/linux/lib/
H A Dbase64.c35 int bits = 0; in base64_encode() local
41 bits += 8; in base64_encode()
43 bits -= 6; in base64_encode()
44 *cp++ = base64_table[(ac >> bits) & 0x3f]; in base64_encode()
45 } while (bits >= 6); in base64_encode()
47 if (bits) { in base64_encode()
48 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; in base64_encode()
49 bits -= 6; in base64_encode()
51 while (bits < 0) { in base64_encode()
53 bits += 2; in base64_encode()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-op1.dtsi14 opp-hz = /bits/ 64 <408000000>;
19 opp-hz = /bits/ 64 <600000000>;
23 opp-hz = /bits/ 64 <816000000>;
27 opp-hz = /bits/ 64 <1008000000>;
31 opp-hz = /bits/ 64 <1200000000>;
35 opp-hz = /bits/ 64 <1416000000>;
39 opp-hz = /bits/ 64 <1512000000>;
49 opp-hz = /bits/ 64 <408000000>;
54 opp-hz = /bits/ 64 <600000000>;
58 opp-hz = /bits/ 64 <816000000>;
[all …]
H A Drk3588-opp.dtsi9 opp-hz = /bits/ 64 <1008000000>;
14 opp-hz = /bits/ 64 <1200000000>;
19 opp-hz = /bits/ 64 <1416000000>;
25 opp-hz = /bits/ 64 <1608000000>;
30 opp-hz = /bits/ 64 <1800000000>;
41 opp-hz = /bits/ 64 <1200000000>;
46 opp-hz = /bits/ 64 <1416000000>;
51 opp-hz = /bits/ 64 <1608000000>;
56 opp-hz = /bits/ 64 <1800000000>;
61 opp-hz = /bits/ 64 <2016000000>;
[all …]
H A Drk3399.dtsi14 opp-hz = /bits/ 64 <408000000>;
19 opp-hz = /bits/ 64 <600000000>;
23 opp-hz = /bits/ 64 <816000000>;
27 opp-hz = /bits/ 64 <1008000000>;
31 opp-hz = /bits/ 64 <1200000000>;
35 opp-hz = /bits/ 64 <1416000000>;
45 opp-hz = /bits/ 64 <408000000>;
50 opp-hz = /bits/ 64 <600000000>;
54 opp-hz = /bits/ 64 <816000000>;
58 opp-hz = /bits/ 64 <1008000000>;
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsa8540p.dtsi18 opp-hz = /bits/ 64 <300000000>;
22 opp-hz = /bits/ 64 <403200000>;
26 opp-hz = /bits/ 64 <499200000>;
30 opp-hz = /bits/ 64 <595200000>;
34 opp-hz = /bits/ 64 <710400000>;
38 opp-hz = /bits/ 64 <806400000>;
42 opp-hz = /bits/ 64 <902400000>;
46 opp-hz = /bits/ 64 <1017600000>;
50 opp-hz = /bits/ 64 <1113600000>;
54 opp-hz = /bits/ 64 <1209600000>;
[all …]
H A Dmsm8996pro.dtsi24 opp-hz = /bits/ 64 <307200000>;
30 opp-hz = /bits/ 64 <384000000>;
36 opp-hz = /bits/ 64 <460800000>;
42 opp-hz = /bits/ 64 <537600000>;
48 opp-hz = /bits/ 64 <614400000>;
54 opp-hz = /bits/ 64 <691200000>;
60 opp-hz = /bits/ 64 <768000000>;
66 opp-hz = /bits/ 64 <844800000>;
72 opp-hz = /bits/ 64 <902400000>;
78 opp-hz = /bits/ 64 <979200000>;
[all …]
/linux/lib/zlib_inflate/
H A Dinffast.c83 unsigned bits; /* local strm->bits */ in inflate_fast() local
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()
122 hold += (unsigned long)(*in++) << bits; in inflate_fast()
123 bits += 8; in inflate_fast()
127 op = (unsigned)(this.bits); in inflate_fast()
129 bits -= op; in inflate_fast()
138 if (bits < op) { in inflate_fast()
[all …]
/linux/fs/btrfs/
H A Daccessors.c51 #define DEFINE_BTRFS_SETGET_BITS(bits) \ argument
52 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \
61 u8 lebytes[sizeof(u##bits)]; \
63 if (unlikely(member_offset + sizeof(u##bits) > eb->len)) { \
64 report_setget_bounds(eb, ptr, off, sizeof(u##bits)); \
67 if (INLINE_EXTENT_BUFFER_PAGES == 1 || sizeof(u##bits) == 1 || \
68 likely(sizeof(u##bits) <= part)) \
69 return get_unaligned_le##bits(kaddr); \
71 if (sizeof(u##bits) == 2) { \
78 part, sizeof(u##bits)); \
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-echo.dts148 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
158 led-cur = /bits/ 8 <12>;
159 max-cur = /bits/ 8 <15>;
165 led-cur = /bits/ 8 <12>;
166 max-cur = /bits/ 8 <15>;
172 led-cur = /bits/ 8 <12>;
173 max-cur = /bits/ 8 <15>;
185 led-cur = /bits/ 8 <12>;
186 max-cur = /bits/ 8 <15>;
192 led-cur = /bits/ 8 <12>;
[all …]
/linux/drivers/comedi/drivers/
H A Dc6xdigio.c70 unsigned int *bits, in c6xdigio_get_encoder_bits() argument
80 *bits = val; in c6xdigio_get_encoder_bits()
89 unsigned int bits; in c6xdigio_pwm_write() local
96 bits = (val >> 0) & 0x03; in c6xdigio_pwm_write()
97 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write()
98 bits = (val >> 2) & 0x03; in c6xdigio_pwm_write()
99 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80); in c6xdigio_pwm_write()
100 bits = (val >> 4) & 0x03; in c6xdigio_pwm_write()
101 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write()
102 bits = (val >> 6) & 0x03; in c6xdigio_pwm_write()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_vli.h207 static inline void bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) in bitstream_cursor_advance() argument
209 bits += cur->bit; in bitstream_cursor_advance()
210 cur->b = cur->b + (bits >> 3); in bitstream_cursor_advance()
211 cur->bit = bits & 7; in bitstream_cursor_advance()
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits() argument
253 if (bits == 0) in bitstream_put_bits()
256 if ((bs->cur.b + ((bs->cur.bit + bits -1) >> 3)) - bs->buf >= bs->buf_len) in bitstream_put_bits()
260 if (bits < 64) in bitstream_put_bits()
261 val &= ~0ULL >> (64 - bits); in bitstream_put_bits()
265 for (tmp = 8 - bs->cur.bit; tmp < bits; tmp += 8) in bitstream_put_bits()
[all …]
/linux/include/linux/
H A Dnodemask.h112 return m ? m->bits : NULL; in __nodemask_pr_bits()
127 set_bit(node, dstp->bits); in __node_set()
133 clear_bit(node, dstp->bits); in __node_clear()
139 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
145 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
149 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits)
155 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
163 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
171 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
179 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
[all …]
/linux/fs/jffs2/
H A 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
176 bits++; in __do_decode()
185 rs->bit_number += bits; in __do_decode()
196 } while (--bits); in __do_decode()
237 ret = encode(rs, rs->bit_divider-rs->bits[i], in out_byte()
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-a311d.dtsi15 opp-hz = /bits/ 64 <1000000000>;
21 opp-hz = /bits/ 64 <1200000000>;
26 opp-hz = /bits/ 64 <1398000000>;
31 opp-hz = /bits/ 64 <1512000000>;
36 opp-hz = /bits/ 64 <1608000000>;
41 opp-hz = /bits/ 64 <1704000000>;
46 opp-hz = /bits/ 64 <1800000000>;
56 opp-hz = /bits/ 64 <1000000000>;
62 opp-hz = /bits/ 64 <1200000000>;
67 opp-hz = /bits/ 64 <1398000000>;
[all …]

12345678910>>...112