/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-srggb10-ipu3.rst | 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. 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 D | pixfmt-srggb14p.rst | 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. 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 D | cs8403.h | 24 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 D | tegra124-peripherals-opp.dtsi | 9 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 D | tegra30-peripherals-opp.dtsi | 59 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 D | tegra20-peripherals-opp.dtsi | 49 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 D | tegra30-cpu-opp.dtsi | 11 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 D | tegra20-cpu-opp.dtsi | 11 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 D | zd_rf_rf2959.c | 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), 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 D | tegra132-peripherals-opp.dtsi | 10 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 D | word-at-a-time.h | 15 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 D | base64.c | 35 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/qcom/ |
H A D | sa8540p.dtsi | 18 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 D | msm8996pro.dtsi | 24 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/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-op1.dtsi | 14 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 D | rk3588-opp.dtsi | 9 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 D | rk3399.dtsi | 14 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/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 29 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/lib/zlib_inflate/ |
H A D | inffast.c | 83 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/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 148 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/include/linux/ |
H A D | nodemask.h | 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() 183 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | c6xdigio.c | 70 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 D | drbd_vli.h | 207 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/fs/jffs2/ |
H A D | compr_rubin.c | 44 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 D | meson-g12b-a311d.dtsi | 15 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 …]
|