Home
last modified time | relevance | path

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

12345678910>>...91

/linux-6.6.21/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-6.6.21/Documentation/userspace-api/media/v4l/
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 …]
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.
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-6.6.21/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-6.6.21/arch/arm/boot/dts/nvidia/
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 …]
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 …]
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 …]
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 …]
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-6.6.21/arch/arm64/boot/dts/nvidia/
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-6.6.21/lib/
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-6.6.21/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 …]
Drk3399-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>;
43 opp-hz = /bits/ 64 <408000000>;
48 opp-hz = /bits/ 64 <600000000>;
52 opp-hz = /bits/ 64 <816000000>;
56 opp-hz = /bits/ 64 <1008000000>;
[all …]
/linux-6.6.21/arch/arm64/boot/dts/qcom/
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 …]
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-6.6.21/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()
52 n -= bits - dst_idx; in bitcpy()
56 n /= 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()
90 } else if (src_idx+n <= bits) { in bitcpy()
114 n -= bits - dst_idx; in bitcpy()
[all …]
/linux-6.6.21/lib/zlib_inflate/
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-6.6.21/include/linux/
Dnodemask.h99 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t;
116 return m ? m->bits : NULL; in __nodemask_pr_bits()
131 set_bit(node, dstp->bits); in __node_set()
137 clear_bit(node, dstp->bits); in __node_clear()
143 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
149 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
153 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits)
159 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
167 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
175 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
[all …]
/linux-6.6.21/drivers/comedi/drivers/
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-6.6.21/arch/arm/boot/dts/ti/omap/
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-6.6.21/drivers/staging/media/atomisp/pci/runtime/isys/src/
Drx.c26 hrt_data bits = receiver_port_reg_load(RX0_ID, in ia_css_isys_rx_enable_all_interrupts() local
30 bits |= (1U << _HRT_CSS_RECEIVER_IRQ_OVERRUN_BIT) | in ia_css_isys_rx_enable_all_interrupts()
50 _HRT_CSS_RECEIVER_IRQ_ENABLE_REG_IDX, bits); in ia_css_isys_rx_enable_all_interrupts()
104 unsigned int bits; in ia_css_isys_rx_get_irq_info() local
107 bits = ia_css_isys_rx_get_interrupt_reg(port); in ia_css_isys_rx_get_irq_info()
108 *irq_infos = ia_css_isys_rx_translate_irq_infos(bits); in ia_css_isys_rx_get_irq_info()
112 unsigned int ia_css_isys_rx_translate_irq_infos(unsigned int bits) in ia_css_isys_rx_translate_irq_infos() argument
116 if (bits & (1U << _HRT_CSS_RECEIVER_IRQ_OVERRUN_BIT)) in ia_css_isys_rx_translate_irq_infos()
118 if (bits & (1U << _HRT_CSS_RECEIVER_IRQ_INIT_TIMEOUT_BIT)) in ia_css_isys_rx_translate_irq_infos()
120 if (bits & (1U << _HRT_CSS_RECEIVER_IRQ_SLEEP_MODE_ENTRY_BIT)) in ia_css_isys_rx_translate_irq_infos()
[all …]
/linux-6.6.21/drivers/block/drbd/
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-6.6.21/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-a311d.dtsi15 opp-hz = /bits/ 64 <1000000000>;
20 opp-hz = /bits/ 64 <1200000000>;
25 opp-hz = /bits/ 64 <1398000000>;
30 opp-hz = /bits/ 64 <1512000000>;
35 opp-hz = /bits/ 64 <1608000000>;
40 opp-hz = /bits/ 64 <1704000000>;
45 opp-hz = /bits/ 64 <1800000000>;
55 opp-hz = /bits/ 64 <1000000000>;
60 opp-hz = /bits/ 64 <1200000000>;
65 opp-hz = /bits/ 64 <1398000000>;
[all …]
/linux-6.6.21/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
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-6.6.21/arch/alpha/include/asm/
Dword-at-a-time.h22 static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a… in has_zero() argument
25 *bits = zero_locations; in has_zero()
29 static inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word… in prep_zero_mask() argument
31 return bits; in prep_zero_mask()
34 #define create_zero_mask(bits) (bits) argument
36 static inline unsigned long find_zero(unsigned long bits) in find_zero() argument
40 return __kernel_cttz(bits); in find_zero()
44 bits &= -bits; in find_zero()
46 t1 = bits & 0xf0; in find_zero()
47 t2 = bits & 0xcc; in find_zero()
[all …]

12345678910>>...91