Home
last modified time | relevance | path

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

12345678910>>...78

/Linux-v5.15/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.15/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-v5.15/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.15/arch/arm/boot/dts/
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.dtsi9 opp-hz = /bits/ 64 <12750000>;
15 opp-hz = /bits/ 64 <12750000>;
21 opp-hz = /bits/ 64 <12750000>;
27 opp-hz = /bits/ 64 <25500000>;
33 opp-hz = /bits/ 64 <25500000>;
39 opp-hz = /bits/ 64 <25500000>;
45 opp-hz = /bits/ 64 <27000000>;
51 opp-hz = /bits/ 64 <27000000>;
57 opp-hz = /bits/ 64 <27000000>;
63 opp-hz = /bits/ 64 <51000000>;
[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 …]
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-v5.15/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.15/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-v5.15/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-v5.15/include/linux/
Dnodemask.h98 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t;
115 return m ? m->bits : NULL; in __nodemask_pr_bits()
130 set_bit(node, dstp->bits); in __node_set()
136 clear_bit(node, dstp->bits); in __node_clear()
142 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
148 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
152 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits)
158 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
166 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
174 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
[all …]
/Linux-v5.15/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-v5.15/drivers/comedi/drivers/
Dc6xdigio.c71 unsigned int *bits, in c6xdigio_get_encoder_bits() argument
81 *bits = val; in c6xdigio_get_encoder_bits()
90 unsigned int bits; in c6xdigio_pwm_write() local
97 bits = (val >> 0) & 0x03; in c6xdigio_pwm_write()
98 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write()
99 bits = (val >> 2) & 0x03; in c6xdigio_pwm_write()
100 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80); in c6xdigio_pwm_write()
101 bits = (val >> 4) & 0x03; in c6xdigio_pwm_write()
102 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write()
103 bits = (val >> 6) & 0x03; in c6xdigio_pwm_write()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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 …]
/Linux-v5.15/tools/lib/
Dbitmap.c8 int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() argument
10 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight()
15 if (bits % BITS_PER_LONG) in __bitmap_weight()
16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
22 const unsigned long *bitmap2, int bits) in __bitmap_or() argument
25 int nr = BITS_TO_LONGS(bits); in __bitmap_or()
61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument
64 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and()
69 if (bits % BITS_PER_LONG) in __bitmap_and()
71 BITMAP_LAST_WORD_MASK(bits)); in __bitmap_and()
[all …]
/Linux-v5.15/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.15/kernel/kcsan/
Dcore.c953 #define DEFINE_TSAN_ATOMIC_LOAD_STORE(bits) \ argument
954 u##bits __tsan_atomic##bits##_load(const u##bits *ptr, int memorder); \
955 u##bits __tsan_atomic##bits##_load(const u##bits *ptr, int memorder) \
958 check_access(ptr, bits / BITS_PER_BYTE, KCSAN_ACCESS_ATOMIC); \
962 EXPORT_SYMBOL(__tsan_atomic##bits##_load); \
963 void __tsan_atomic##bits##_store(u##bits *ptr, u##bits v, int memorder); \
964 void __tsan_atomic##bits##_store(u##bits *ptr, u##bits v, int memorder) \
967 check_access(ptr, bits / BITS_PER_BYTE, \
972 EXPORT_SYMBOL(__tsan_atomic##bits##_store)
974 #define DEFINE_TSAN_ATOMIC_RMW(op, bits, suffix) \ argument
[all …]
/Linux-v5.15/fs/btrfs/
Dstruct-funcs.c55 #define DEFINE_BTRFS_SETGET_BITS(bits) \ argument
56 u##bits btrfs_get_token_##bits(struct btrfs_map_token *token, \
63 const int size = sizeof(u##bits); \
64 u8 lebytes[sizeof(u##bits)]; \
72 return get_unaligned_le##bits(token->kaddr + oip); \
77 return get_unaligned_le##bits(token->kaddr + oip); \
83 return get_unaligned_le##bits(lebytes); \
85 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \
92 const int size = sizeof(u##bits); \
94 u8 lebytes[sizeof(u##bits)]; \
[all …]

12345678910>>...78