/Linux-v4.19/include/sound/ |
D | cs8403.h | 39 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE() argument 41 if (bits & 0x01) { /* consumer */ in SND_CS8403_DECODE() 42 if (!(bits & 0x02)) in SND_CS8403_DECODE() 44 if (!(bits & 0x08)) in SND_CS8403_DECODE() 46 switch (bits & 0x10) { in SND_CS8403_DECODE() 50 if (!(bits & 0x80)) in SND_CS8403_DECODE() 52 switch (bits & 0x60) { in SND_CS8403_DECODE() 58 switch (bits & 0x06) { in SND_CS8403_DECODE() 65 switch (bits & 0x18) { in SND_CS8403_DECODE() 71 switch (bits & 0x60) { in SND_CS8403_DECODE() [all …]
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | pixfmt-srggb10-ipu3.rst | 18 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 …]
|
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. 57 - G\ :sub:`01low bits 1--0`\ (bits 7--6) 58 B\ :sub:`00low bits 5--0`\ (bits 5--0) 60 - R\ :sub:`02low bits 3--0`\ (bits 7--4) 61 G\ :sub:`01low bits 5--2`\ (bits 3--0) 63 - G\ :sub:`03low bits 5--0`\ (bits 7--2) 64 R\ :sub:`02low bits 5--4`\ (bits 1--0) 78 - R\ :sub:`01low bits 1--0`\ (bits 7--6) [all …]
|
D | pixfmt-srggb12p.rst | 20 bits per colour. Every two consecutive samples are packed into three 21 bytes. Each of the first two bytes contain the 8 high order bits of 23 bits of each pixel, in the same order. 45 - G\ :sub:`01low`\ (bits 7--4) 47 B\ :sub:`00low`\ (bits 3--0) 50 - G\ :sub:`03low`\ (bits 7--4) 52 B\ :sub:`02low`\ (bits 3--0) 57 - R\ :sub:`11low`\ (bits 7--4) 59 G\ :sub:`10low`\ (bits 3--0) 62 - R\ :sub:`13low`\ (bits 3--2) [all …]
|
D | pixfmt-srggb10p.rst | 23 bits per sample. Every four consecutive samples are packed into 5 24 bytes. Each of the first 4 bytes contain the 8 high order bits 26 bits of each pixel, in the same order. 48 - G\ :sub:`03low`\ (bits 7--6) B\ :sub:`02low`\ (bits 5--4) 50 G\ :sub:`01low`\ (bits 3--2) B\ :sub:`00low`\ (bits 1--0) 56 - R\ :sub:`13low`\ (bits 7--6) G\ :sub:`12low`\ (bits 5--4) 58 R\ :sub:`11low`\ (bits 3--2) G\ :sub:`10low`\ (bits 1--0) 64 - G\ :sub:`23low`\ (bits 7--6) B\ :sub:`22low`\ (bits 5--4) 66 G\ :sub:`21low`\ (bits 3--2) B\ :sub:`20low`\ (bits 1--0) 72 - R\ :sub:`33low`\ (bits 7--6) G\ :sub:`32low`\ (bits 5--4) [all …]
|
/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_rf_rf2959.c | 44 static int bits(u32 rw, int from, int to) 53 return bits(rw, bit, bit); 58 int reg = bits(rw, 18, 22); 59 int rw_flag = bits(rw, 23, 23); 66 bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1), 75 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0, 3)); 79 bits(rw, 6, 17), bits(rw, 0, 5)); 82 PDEBUG("reg3 IFPLL3 num %d", bits(rw, 0, 17)); 86 bits(rw, 8, 16), bits(rw, 4, 7), bits(rw, 0, 3)); 94 bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0,3)); [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/leds/ |
D | leds-lp55xx.txt | 41 clock-mode = /bits/ 8 <2>; 44 led-cur = /bits/ 8 <0x2f>; 45 max-cur = /bits/ 8 <0x5f>; 50 led-cur = /bits/ 8 <0x2f>; 51 max-cur = /bits/ 8 <0x5f>; 55 led-cur = /bits/ 8 <0x2f>; 56 max-cur = /bits/ 8 <0x5f>; 75 clock-mode = /bits/ 8 <1>; 79 led-cur = /bits/ 8 <0x14>; 80 max-cur = /bits/ 8 <0x20>; [all …]
|
/Linux-v4.19/arch/arm64/boot/dts/rockchip/ |
D | rk3399-op1-opp.dtsi | 12 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 …]
|
D | rk3399-opp.dtsi | 12 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-v4.19/drivers/video/fbdev/core/ |
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 …]
|
D | cfbcopyarea.c | 47 const unsigned long __iomem *src, unsigned src_idx, int bits, in bitcpy() argument 58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy() 59 (char *)src + ((src_idx & (bits - 1))) / 8, n / 8); in bitcpy() 64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy() 69 if (dst_idx+n <= bits) { in bitcpy() 82 n -= bits - dst_idx; in bitcpy() 86 n /= bits; in bitcpy() 110 int const left = shift & (bits - 1); in bitcpy() 111 int const right = -shift & (bits - 1); in bitcpy() 113 if (dst_idx+n <= bits) { in bitcpy() [all …]
|
D | sysfillrect.c | 26 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() 48 n -= bits - dst_idx; in bitfill_aligned() 52 n /= 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() 104 n -= bits - dst_idx; in bitfill_unaligned() 108 n /= bits; in bitfill_unaligned() [all …]
|
/Linux-v4.19/include/linux/ |
D | nodemask.h | 98 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-v4.19/drivers/iio/adc/ |
D | ti-ads7950.c | 49 #define TI_ADS7950_EXTRACT(val, dec, bits) \ argument 50 (((val) >> (dec)) & ((1 << (bits)) - 1)) 96 #define TI_ADS7950_V_CHAN(index, bits) \ argument 108 .realbits = bits, \ 110 .shift = 12 - (bits), \ 115 #define DECLARE_TI_ADS7950_4_CHANNELS(name, bits) \ argument 117 TI_ADS7950_V_CHAN(0, bits), \ 118 TI_ADS7950_V_CHAN(1, bits), \ 119 TI_ADS7950_V_CHAN(2, bits), \ 120 TI_ADS7950_V_CHAN(3, bits), \ [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/opp/ |
D | kryo-cpufreq.txt | 135 opp-hz = /bits/ 64 <307200000>; 141 opp-hz = /bits/ 64 <384000000>; 147 opp-hz = /bits/ 64 <422400000>; 153 opp-hz = /bits/ 64 <460800000>; 159 opp-hz = /bits/ 64 <480000000>; 165 opp-hz = /bits/ 64 <537600000>; 171 opp-hz = /bits/ 64 <556800000>; 177 opp-hz = /bits/ 64 <614400000>; 183 opp-hz = /bits/ 64 <652800000>; 189 opp-hz = /bits/ 64 <691200000>; [all …]
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | c6xdigio.c | 71 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-v4.19/drivers/block/drbd/ |
D | drbd_vli.h | 219 static inline void bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) in bitstream_cursor_advance() argument 221 bits += cur->bit; in bitstream_cursor_advance() 222 cur->b = cur->b + (bits >> 3); in bitstream_cursor_advance() 223 cur->bit = bits & 7; in bitstream_cursor_advance() 260 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits() argument 265 if (bits == 0) in bitstream_put_bits() 268 if ((bs->cur.b + ((bs->cur.bit + bits -1) >> 3)) - bs->buf >= bs->buf_len) in bitstream_put_bits() 272 if (bits < 64) in bitstream_put_bits() 273 val &= ~0ULL >> (64 - bits); in bitstream_put_bits() 277 for (tmp = 8 - bs->cur.bit; tmp < bits; tmp += 8) in bitstream_put_bits() [all …]
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | word-at-a-time.h | 22 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-v4.19/lib/zlib_inflate/ |
D | inffast.c | 104 unsigned bits; /* local strm->bits */ in inflate_fast() local 131 bits = state->bits; in inflate_fast() 140 if (bits < 15) { in inflate_fast() 141 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 142 bits += 8; in inflate_fast() 143 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 144 bits += 8; in inflate_fast() 148 op = (unsigned)(this.bits); in inflate_fast() 150 bits -= op; in inflate_fast() 159 if (bits < op) { in inflate_fast() [all …]
|
/Linux-v4.19/fs/jffs2/ |
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-v4.19/arch/arm64/boot/dts/exynos/ |
D | exynos5433-bus.dtsi | 95 opp-hz = /bits/ 64 <400000000>; 99 opp-hz = /bits/ 64 <267000000>; 103 opp-hz = /bits/ 64 <200000000>; 107 opp-hz = /bits/ 64 <160000000>; 111 opp-hz = /bits/ 64 <134000000>; 115 opp-hz = /bits/ 64 <100000000>; 124 opp-hz = /bits/ 64 <267000000>; 127 opp-hz = /bits/ 64 <200000000>; 130 opp-hz = /bits/ 64 <160000000>; 133 opp-hz = /bits/ 64 <134000000>; [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dc_dp_types.h | 112 } bits; member 122 } bits; member 132 } bits; member 140 } bits; member 150 } bits; member 164 } bits; member 178 } bits; member 187 } bits; member 198 } bits; member 207 } bits; member [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | word-at-a-time.h | 60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 66 *bits = ret; in has_zero() 71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 73 return bits; in prep_zero_mask() 77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 86 : "b" (bits)); in create_zero_mask() 127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 129 bits = (bits - 1) & ~bits; in create_zero_mask() 130 return bits >> 7; in create_zero_mask() 139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/primitives/ |
D | word-at-a-time.h | 60 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 66 *bits = ret; in has_zero() 71 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 73 return bits; in prep_zero_mask() 77 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 86 : "b" (bits)); in create_zero_mask() 127 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 129 bits = (bits - 1) & ~bits; in create_zero_mask() 130 return bits >> 7; in create_zero_mask() 139 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument [all …]
|
/Linux-v4.19/fs/ocfs2/cluster/ |
D | masklog.h | 134 #define __mlog_test_u64(mask, bits) \ argument 135 ( (u32)(mask & 0xffffffff) & bits.words[0] || \ 136 ((u64)(mask) >> 32) & bits.words[1] ) 137 #define __mlog_set_u64(mask, bits) do { \ argument 138 bits.words[0] |= (u32)(mask & 0xffffffff); \ 139 bits.words[1] |= (u64)(mask) >> 32; \ 141 #define __mlog_clear_u64(mask, bits) do { \ argument 142 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \ 143 bits.words[1] &= ~((u64)(mask) >> 32); \ 154 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument [all …]
|