Home
last modified time | relevance | path

Searched full:bits (Results 1 – 25 of 6385) sorted by relevance

12345678910>>...256

/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-srggb10-ipu3.rst25 sRGB / Bayer formats with 10 bits per sample with every 25 pixels packed
26 to 32 bytes leaving 6 most significant bits padding in the last byte.
41 - G\ :sub:`0001low`\ (bits 7--2)
43 B\ :sub:`0000high`\ (bits 1--0)
44 - B\ :sub:`0002low`\ (bits 7--4)
46 G\ :sub:`0001high`\ (bits 3--0)
47 - G\ :sub:`0003low`\ (bits 7--6)
49 B\ :sub:`0002high`\ (bits 5--0)
53 - G\ :sub:`0005low`\ (bits 7--2)
55 B\ :sub:`0004high`\ (bits 1--0)
[all …]
Dpixfmt-srggb14p.rst31 bits per colour. Every four consecutive samples are packed into seven
32 bytes. Each of the first four bytes contain the eight high order bits
34 significants bits of each pixel, in the same order.
68 - G\ :sub:`01low bits 1--0`\ (bits 7--6)
70 B\ :sub:`00low bits 5--0`\ (bits 5--0)
72 - R\ :sub:`02low bits 3--0`\ (bits 7--4)
74 G\ :sub:`01low bits 5--2`\ (bits 3--0)
76 - G\ :sub:`03low bits 5--0`\ (bits 7--2)
78 R\ :sub:`02low bits 5--4`\ (bits 1--0)
92 - R\ :sub:`01low bits 1--0`\ (bits 7--6)
[all …]
/Linux-v5.4/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.4/arch/sparc/include/asm/
Dpcic.h50 #define PCI_DIAGNOSTIC_0 0x40 /* 32 bits */
51 #define PCI_SIZE_0 0x44 /* 32 bits */
52 #define PCI_SIZE_1 0x48 /* 32 bits */
53 #define PCI_SIZE_2 0x4c /* 32 bits */
54 #define PCI_SIZE_3 0x50 /* 32 bits */
55 #define PCI_SIZE_4 0x54 /* 32 bits */
56 #define PCI_SIZE_5 0x58 /* 32 bits */
57 #define PCI_PIO_CONTROL 0x60 /* 8 bits */
58 #define PCI_DVMA_CONTROL 0x62 /* 8 bits */
63 #define PCI_INTERRUPT_CONTROL 0x63 /* 8 bits */
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.txt41 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-v5.4/arch/parisc/include/asm/
Delf.h61 #define R_PARISC_DIR21L 2 /* Left 21 bits of eff. address. */
62 #define R_PARISC_DIR17R 3 /* Right 17 bits of eff. address. */
63 #define R_PARISC_DIR17F 4 /* 17 bits of eff. address. */
64 #define R_PARISC_DIR14R 6 /* Right 14 bits of eff. address. */
66 #define R_PARISC_PCREL21L 10 /* Left 21 bits of rel. address. */
67 #define R_PARISC_PCREL17R 11 /* Right 17 bits of rel. address. */
68 #define R_PARISC_PCREL17F 12 /* 17 bits of rel. address. */
69 #define R_PARISC_PCREL14R 14 /* Right 14 bits of rel. address. */
70 #define R_PARISC_DPREL21L 18 /* Left 21 bits of rel. address. */
71 #define R_PARISC_DPREL14R 22 /* Right 14 bits of rel. address. */
[all …]
/Linux-v5.4/include/linux/mfd/da9052/
Dreg.h178 /* STATUS REGISTER A BITS */
188 /* STATUS REGISTER B BITS */
198 /* STATUS REGISTER C BITS */
208 /* STATUS REGISTER D BITS */
218 /* EVENT REGISTER A BITS */
228 /* EVENT REGISTER B BITS */
238 /* EVENT REGISTER C BITS */
248 /* EVENT REGISTER D BITS */
258 /* IRQ MASK REGISTERS BITS */
261 /* TSI EVENT REGISTERS BITS */
[all …]
/Linux-v5.4/arch/arc/include/asm/
Ddisasm.h32 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) macro
34 #define MAJOR_OPCODE(word) (BITS((word), 27, 31))
35 #define MINOR_OPCODE(word) (BITS((word), 16, 21))
36 #define FIELD_A(word) (BITS((word), 0, 5))
37 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \
38 (BITS((word), 24, 26)))
39 #define FIELD_C(word) (BITS((word), 6, 11))
41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \
42 BITS((word), 6, 11)), 12)
46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \
[all …]
/Linux-v5.4/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.4/fs/btrfs/
Dstruct-funcs.c25 * which are wrappers of btrfs_set_token_#bits functions and
26 * btrfs_get_token_#bits functions, which are defined in this file.
40 #define DEFINE_BTRFS_SETGET_BITS(bits) \ argument
41 u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \
52 int size = sizeof(u##bits); \
53 u##bits res; \
62 res = get_unaligned_le##bits(p + off); \
68 __le##bits leres; \
71 return le##bits##_to_cpu(leres); \
74 res = get_unaligned_le##bits(p + off); \
[all …]
/Linux-v5.4/Documentation/media/uapi/rc/
Drc-protos.rst34 This IR protocol uses manchester encoding to encode 14 bits. There is a
40 .. flat-table:: rc5 bits scancode mapping
83 done to keep it compatible with plain rc-5 where there are two start bits.
90 .. flat-table:: rc-5-sz bits scancode mapping
93 * - rc-5-sz bits
132 This rc-5 extended to encoded 20 bits. The is a 3555 microseconds space
135 .. flat-table:: rc-5x-20 bits scancode mapping
138 * - rc-5-sz bits
187 The scancode is a 16 bits value, where the address is the lower 8 bits
188 and the command the higher 8 bits; this is reversed from IR order.
[all …]
/Linux-v5.4/drivers/media/radio/si470x/
Dradio-si470x.h41 #define DEVICEID_PN 0xf000 /* bits 15..12: Part Number */
42 #define DEVICEID_MFGID 0x0fff /* bits 11..00: Manufacturer ID */
45 #define SI_CHIPID_REV 0xfc00 /* bits 15..10: Chip Version */
46 #define SI_CHIPID_DEV 0x0200 /* bits 09..09: Device */
47 #define SI_CHIPID_FIRMWARE 0x01ff /* bits 08..00: Firmware Version */
50 #define POWERCFG_DSMUTE 0x8000 /* bits 15..15: Softmute Disable */
51 #define POWERCFG_DMUTE 0x4000 /* bits 14..14: Mute Disable */
52 #define POWERCFG_MONO 0x2000 /* bits 13..13: Mono Select */
53 #define POWERCFG_RDSM 0x0800 /* bits 11..11: RDS Mode (Si4701 only) */
54 #define POWERCFG_SKMODE 0x0400 /* bits 10..10: Seek Mode */
[all …]
/Linux-v5.4/lib/
Dbitmap.c26 * bitmaps provide an array of bits, implemented using an an
27 * array of unsigned longs. The number of valid bits in a
31 * The possible unused bits in the last, partially used word
37 * carefully filter out these unused bits from impacting their
47 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument
49 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal()
54 if (bits % BITS_PER_LONG) in __bitmap_equal()
55 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
65 unsigned int bits) in __bitmap_or_equal() argument
67 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal()
[all …]
/Linux-v5.4/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.4/drivers/block/drbd/
Ddrbd_vli.h29 * gives the number of set or unset bits.
35 * Still, there may be areas where the polarity flips every few bits,
44 * For some cases, we produce more code bits than plaintext input.
76 * Number of data bits follow fibonacci sequence, with the exception of the
78 * encoding bit polarity runlength is 1 plain bits => 2 code bits.
79 prefix data bits max val Nº data bits
107 #................. s ........................... plain bits ..........
112 /* LEVEL: (total bits, prefix bits, prefix value),
113 * sorted ascending by number of total bits.
131 * returns number of bits consumed.
[all …]
/Linux-v5.4/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()
47 /* Leading bits */ in bitcpy()
52 n -= bits - dst_idx; in bitcpy()
56 n /= bits; in bitcpy()
71 /* Trailing 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()
[all …]
Dsysfillrect.c26 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()
44 /* Leading bits */ in bitfill_aligned()
48 n -= bits - dst_idx; in bitfill_aligned()
52 n /= bits; in bitfill_aligned()
66 /* Trailing 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()
[all …]
Dcfbcopyarea.c47 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()
77 // Leading bits in bitcpy()
82 n -= bits - dst_idx; in bitcpy()
86 n /= bits; in bitcpy()
101 // Trailing bits in bitcpy()
110 int const left = shift & (bits - 1); in bitcpy()
[all …]
/Linux-v5.4/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.4/Documentation/devicetree/bindings/opp/
Dqcom-nvmem-cpufreq.txt148 opp-hz = /bits/ 64 <307200000>;
154 opp-hz = /bits/ 64 <384000000>;
160 opp-hz = /bits/ 64 <422400000>;
166 opp-hz = /bits/ 64 <460800000>;
172 opp-hz = /bits/ 64 <480000000>;
178 opp-hz = /bits/ 64 <537600000>;
184 opp-hz = /bits/ 64 <556800000>;
190 opp-hz = /bits/ 64 <614400000>;
196 opp-hz = /bits/ 64 <652800000>;
202 opp-hz = /bits/ 64 <691200000>;
[all …]
/Linux-v5.4/include/rdma/
Dib_smi.h98 u8 linkspeed_portstate; /* 4 bits, 4 bits */
99 u8 portphysstate_linkdown; /* 4 bits, 4 bits */
100 u8 mkeyprot_resv_lmc; /* 2 bits, 3, 3 */
101 u8 linkspeedactive_enabled; /* 4 bits, 4 bits */
102 u8 neighbormtu_mastersmsl; /* 4 bits, 4 bits */
103 u8 vlcap_inittype; /* 4 bits, 4 bits */
107 u8 inittypereply_mtucap; /* 4 bits, 4 bits */
108 u8 vlstallcnt_hoqlife; /* 3 bits, 5 bits */
109 u8 operationalvl_pei_peo_fpi_fpo; /* 4 bits, 1, 1, 1, 1 */
114 u8 clientrereg_resv_subnetto; /* 1 bit, 2 bits, 5 */
[all …]
/Linux-v5.4/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
171 * First, work out how many bits we need from the input stream. in __do_decode()
176 bits++; in __do_decode()
185 rs->bit_number += bits; in __do_decode()
188 * Now get the bits. We really want this to be "get n bits". in __do_decode()
[all …]
/Linux-v5.4/include/linux/
Dnodemask.h24 * void nodes_setall(mask) set all bits
25 * void nodes_clear(mask) clear all bits
38 * int nodes_empty(mask) Is mask empty (no bits sets)?
39 * int nodes_full(mask) Is mask full (all bits sets)?
40 * int nodes_weight(mask) Hamming weight - number of set bits
53 * NODE_MASK_ALL Initializer - all bits set
54 * NODE_MASK_NONE Initializer - no bits set
62 * void nodes_fold(dst, orig, sz) dst bits = orig bits mod sz
98 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t;
115 return m ? m->bits : NULL; in __nodemask_pr_bits()
[all …]

12345678910>>...256