/linux-4.1.27/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 …]
|
D | pcm_params.h | 60 if (mask->bits[i]) in snd_mask_empty() 69 if (mask->bits[i]) in snd_mask_min() 70 return __ffs(mask->bits[i]) + (i << 5); in snd_mask_min() 79 if (mask->bits[i]) in snd_mask_max() 80 return __fls(mask->bits[i]) + (i << 5); in snd_mask_max() 87 mask->bits[MASK_OFS(val)] |= MASK_BIT(val); in snd_mask_set() 92 mask->bits[MASK_OFS(val)] &= ~MASK_BIT(val); in snd_mask_reset() 100 mask->bits[MASK_OFS(i)] |= MASK_BIT(i); in snd_mask_set_range() 108 mask->bits[MASK_OFS(i)] &= ~MASK_BIT(i); in snd_mask_reset_range() 114 v = mask->bits[MASK_OFS(val)] & MASK_BIT(val); in snd_mask_leave() [all …]
|
/linux-4.1.27/drivers/net/wireless/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-4.1.27/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-4.1.27/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 …]
|
D | cfbfillrect.c | 36 unsigned long pat, unsigned n, int bits, u32 bswapmask) in bitfill_aligned() argument 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned() 46 if (dst_idx+n <= bits) { in bitfill_aligned() 58 n -= bits - dst_idx; in bitfill_aligned() 62 n /= bits; in bitfill_aligned() 93 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument 101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned() 103 if (dst_idx+n <= bits) { in bitfill_unaligned() 115 n -= bits - dst_idx; in bitfill_unaligned() 119 n /= bits; in bitfill_unaligned() [all …]
|
/linux-4.1.27/include/linux/ |
D | nodemask.h | 95 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; 104 #define nodemask_pr_args(maskp) MAX_NUMNODES, (maskp)->bits 118 set_bit(node, dstp->bits); in __node_set() 124 clear_bit(node, dstp->bits); in __node_clear() 130 bitmap_fill(dstp->bits, nbits); in __nodes_setall() 136 bitmap_zero(dstp->bits, nbits); in __nodes_clear() 140 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) 146 return test_and_set_bit(node, addr->bits); in __node_test_and_set() 154 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and() 162 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or() [all …]
|
D | hash.h | 27 #define hash_long(val, bits) hash_32(val, bits) argument 29 #define hash_long(val, bits) hash_64(val, bits) argument 51 static __always_inline u64 hash_64(u64 val, unsigned int bits) in hash_64() argument 75 return hash >> (64 - bits); in hash_64() 78 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() argument 84 return hash >> (32 - bits); in hash_32() 87 static inline unsigned long hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() argument 89 return hash_long((unsigned long)ptr, bits); in hash_ptr()
|
D | hashtable.h | 15 #define DEFINE_HASHTABLE(name, bits) \ argument 16 struct hlist_head name[1 << (bits)] = \ 17 { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } 19 #define DECLARE_HASHTABLE(name, bits) \ argument 20 struct hlist_head name[1 << (bits)] 26 #define hash_min(val, bits) \ argument 27 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
D | timecounter.h | 23 #define CYCLECOUNTER_MASK(bits) (cycle_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) argument
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | word-at-a-time.h | 21 static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a… in has_zero() argument 24 *bits = zero_locations; in has_zero() 28 static inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word… in prep_zero_mask() argument 30 return bits; in prep_zero_mask() 33 #define create_zero_mask(bits) (bits) argument 35 static inline unsigned long find_zero(unsigned long bits) in find_zero() argument 39 return __kernel_cttz(bits); in find_zero() 43 bits &= -bits; in find_zero() 45 t1 = bits & 0xf0; in find_zero() 46 t2 = bits & 0xcc; in find_zero() [all …]
|
D | bitops.h | 319 unsigned long bits, qofs, bofs; in ffz() 321 bits = __kernel_cmpbge(word, ~0UL); in ffz() 322 qofs = ffz_b(bits); in ffz() 323 bits = __kernel_extbl(word, qofs); in ffz() 324 bofs = ffz_b(bits); in ffz() 339 unsigned long bits, qofs, bofs; in __ffs() 341 bits = __kernel_cmpbge(0, word); in __ffs() 342 qofs = ffz_b(bits); in __ffs() 343 bits = __kernel_extbl(word, qofs); in __ffs() 344 bofs = ffz_b(~bits); in __ffs()
|
/linux-4.1.27/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-4.1.27/drivers/staging/comedi/drivers/ |
D | c6xdigio.c | 80 unsigned int *bits, in c6xdigio_get_encoder_bits() argument 90 *bits = val; in c6xdigio_get_encoder_bits() 99 unsigned int bits; in c6xdigio_pwm_write() local 106 bits = (val >> 0) & 0x03; in c6xdigio_pwm_write() 107 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write() 108 bits = (val >> 2) & 0x03; in c6xdigio_pwm_write() 109 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80); in c6xdigio_pwm_write() 110 bits = (val >> 4) & 0x03; in c6xdigio_pwm_write() 111 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); in c6xdigio_pwm_write() 112 bits = (val >> 6) & 0x03; in c6xdigio_pwm_write() [all …]
|
D | gsc_hpdi.c | 309 uint32_t bits; in gsc_hpdi_cmd() local 331 bits = devpriv->dma_desc_phys_addr | PLX_DESC_IN_PCI_BIT | in gsc_hpdi_cmd() 333 writel(bits, devpriv->plx9080_mmio + PLX_DMA0_DESCRIPTOR_REG); in gsc_hpdi_cmd() 565 uint32_t bits; in gsc_hpdi_init_plx9080() local 569 bits = BIGEND_DMA0 | BIGEND_DMA1; in gsc_hpdi_init_plx9080() 571 bits = 0; in gsc_hpdi_init_plx9080() 573 writel(bits, devpriv->plx9080_mmio + PLX_BIGEND_REG); in gsc_hpdi_init_plx9080() 581 bits = 0; in gsc_hpdi_init_plx9080() 583 bits |= PLX_DMA_EN_READYIN_BIT; in gsc_hpdi_init_plx9080() 585 bits |= PLX_EN_CHAIN_BIT; in gsc_hpdi_init_plx9080() [all …]
|
D | cb_pcidas64.c | 1196 uint16_t *bits, unsigned int channel, in set_dac_range_bits() argument 1207 *bits &= ~(0x3 << (2 * channel)); in set_dac_range_bits() 1208 *bits |= code << (2 * channel); in set_dac_range_bits() 1258 uint32_t bits; in enable_ai_interrupts() local 1261 bits = EN_ADC_OVERRUN_BIT | EN_ADC_DONE_INTR_BIT | in enable_ai_interrupts() 1268 bits |= ADC_INTR_EOSCAN_BITS | EN_ADC_INTR_SRC_BIT; in enable_ai_interrupts() 1271 devpriv->intr_enable_bits |= bits; in enable_ai_interrupts() 1282 uint32_t bits; in init_plx9080() local 1289 bits = BIGEND_DMA0 | BIGEND_DMA1; in init_plx9080() 1291 bits = 0; in init_plx9080() [all …]
|
D | ni_tio.c | 237 unsigned bits = 0; in ni_tio_clock_src_modifiers() local 241 bits |= NI_GPCT_INVERT_CLOCK_SRC_BIT; in ni_tio_clock_src_modifiers() 243 bits |= NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS; in ni_tio_clock_src_modifiers() 245 bits |= NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS; in ni_tio_clock_src_modifiers() 246 return bits; in ni_tio_clock_src_modifiers() 461 unsigned bits = 0; in ni_tio_set_counter_mode() local 463 bits |= GI_CNT_MODE(mode >> NI_GPCT_COUNTING_MODE_SHIFT); in ni_tio_set_counter_mode() 464 bits |= GI_INDEX_PHASE((mode >> NI_GPCT_INDEX_PHASE_BITSHIFT)); in ni_tio_set_counter_mode() 466 bits |= GI_INDEX_MODE; in ni_tio_set_counter_mode() 469 GI_INDEX_MODE, bits); in ni_tio_set_counter_mode() [all …]
|
D | ni_tiocmd.c | 56 unsigned bits; in ni_tio_configure_dma() local 59 bits = 0; in ni_tio_configure_dma() 63 bits |= GI_READ_ACKS_IRQ; in ni_tio_configure_dma() 65 bits |= GI_WRITE_ACKS_IRQ; in ni_tio_configure_dma() 67 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(cidx), mask, bits); in ni_tio_configure_dma() 75 bits = 0; in ni_tio_configure_dma() 78 bits |= GI_DMA_ENABLE | GI_DMA_INT_ENA; in ni_tio_configure_dma() 80 bits |= GI_DMA_WRITE; in ni_tio_configure_dma() 81 ni_tio_set_bits(counter, NITIO_DMA_CFG_REG(cidx), mask, bits); in ni_tio_configure_dma()
|
/linux-4.1.27/scripts/ |
D | .docproc.cmd | 10 /usr/include/i386-linux-gnu/bits/wordsize.h \ 14 /usr/include/i386-linux-gnu/bits/types.h \ 15 /usr/include/i386-linux-gnu/bits/typesizes.h \ 20 /usr/include/i386-linux-gnu/bits/stdio_lim.h \ 21 /usr/include/i386-linux-gnu/bits/sys_errlist.h \ 22 /usr/include/i386-linux-gnu/bits/stdio.h \ 23 /usr/include/i386-linux-gnu/bits/stdio2.h \ 25 /usr/include/i386-linux-gnu/bits/waitflags.h \ 26 /usr/include/i386-linux-gnu/bits/waitstatus.h \ 28 /usr/include/i386-linux-gnu/bits/endian.h \ [all …]
|
D | recordmcount.pl | 122 my ($arch, $endian, $bits, $objdump, $objcopy, $cc, 202 if ($bits == 64) { 244 } elsif ($arch eq "s390" && $bits == 64) { 270 if ($bits == 64) { 350 $ld .= " -melf".$bits."btsmip"; 353 $ld .= " -melf".$bits."ltsmip"; 356 $cc .= " -mno-abicalls -fno-pic -mabi=" . $bits . $endian; 359 if ($bits == 64) {
|
/linux-4.1.27/scripts/basic/ |
D | .fixdep.cmd | 15 /usr/include/i386-linux-gnu/bits/wordsize.h \ 18 /usr/include/i386-linux-gnu/bits/types.h \ 19 /usr/include/i386-linux-gnu/bits/typesizes.h \ 23 /usr/include/i386-linux-gnu/bits/endian.h \ 24 /usr/include/i386-linux-gnu/bits/byteswap.h \ 25 /usr/include/i386-linux-gnu/bits/byteswap-16.h \ 27 /usr/include/i386-linux-gnu/bits/select.h \ 28 /usr/include/i386-linux-gnu/bits/sigset.h \ 29 /usr/include/i386-linux-gnu/bits/time.h \ 30 /usr/include/i386-linux-gnu/bits/select2.h \ [all …]
|
/linux-4.1.27/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 …]
|
D | inflate.c | 37 state->bits = 0; in zlib_inflateReset() 153 if (state->mode == STORED && state->bits == 0) { in zlib_inflateSyncPacket() 173 bits = state->bits; \ 184 state->bits = bits; \ 191 bits = 0; \ 200 hold += (unsigned long)(*next++) << bits; \ 201 bits += 8; \ 208 while (bits < (unsigned)(n)) \ 220 bits -= (unsigned)(n); \ 226 hold >>= bits & 7; \ [all …]
|
D | inftrees.c | 24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table() argument 99 root = *bits; in zlib_inflate_table() 105 this.bits = (unsigned char)1; in zlib_inflate_table() 109 *bits = 1; in zlib_inflate_table() 204 this.bits = (unsigned char)(len - drop); in zlib_inflate_table() 272 (*table)[low].bits = (unsigned char)root; in zlib_inflate_table() 285 this.bits = (unsigned char)(len - drop); in zlib_inflate_table() 293 this.bits = (unsigned char)len; in zlib_inflate_table() 313 *bits = root; in zlib_inflate_table()
|
/linux-4.1.27/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-4.1.27/Documentation/video4linux/cx2341x/ |
D | fw-decoder-regs.txt | 26 bits 0:31 30 bits 0:31 34 bits 0:31 38 bits 0:31 42 bits 0:31 46 bits 0:31 60 bits 0:31 64 bits 0:31 68 bits 0:31 72 bits 0:31 [all …]
|
/linux-4.1.27/scripts/kconfig/ |
D | .zconf.tab.o.cmd | 10 /usr/include/i386-linux-gnu/bits/wordsize.h \ 13 /usr/include/i386-linux-gnu/bits/types.h \ 14 /usr/include/i386-linux-gnu/bits/typesizes.h \ 16 /usr/include/i386-linux-gnu/bits/endian.h \ 17 /usr/include/i386-linux-gnu/bits/byteswap.h \ 18 /usr/include/i386-linux-gnu/bits/byteswap-16.h \ 26 /usr/include/i386-linux-gnu/bits/stdio_lim.h \ 27 /usr/include/i386-linux-gnu/bits/sys_errlist.h \ 28 /usr/include/i386-linux-gnu/bits/stdio.h \ 29 /usr/include/i386-linux-gnu/bits/stdio2.h \ [all …]
|
D | .conf.o.cmd | 14 /usr/include/i386-linux-gnu/bits/wordsize.h \ 18 /usr/include/i386-linux-gnu/bits/locale.h \ 21 /usr/include/i386-linux-gnu/bits/types.h \ 22 /usr/include/i386-linux-gnu/bits/typesizes.h \ 24 /usr/include/i386-linux-gnu/bits/endian.h \ 25 /usr/include/i386-linux-gnu/bits/byteswap.h \ 26 /usr/include/i386-linux-gnu/bits/byteswap-16.h \ 32 /usr/include/i386-linux-gnu/bits/stdio_lim.h \ 33 /usr/include/i386-linux-gnu/bits/sys_errlist.h \ 34 /usr/include/i386-linux-gnu/bits/stdio.h \ [all …]
|
/linux-4.1.27/tools/testing/selftests/powerpc/primitives/ |
D | word-at-a-time.h | 54 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 60 *bits = ret; in has_zero() 65 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 67 return bits; in prep_zero_mask() 71 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 80 : "b" (bits)); in create_zero_mask() 121 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 123 bits = (bits - 1) & ~bits; in create_zero_mask() 124 return bits >> 7; in create_zero_mask() 133 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | word-at-a-time.h | 54 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 60 *bits = ret; in has_zero() 65 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 67 return bits; in prep_zero_mask() 71 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 80 : "b" (bits)); in create_zero_mask() 121 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 123 bits = (bits - 1) & ~bits; in create_zero_mask() 124 return bits >> 7; in create_zero_mask() 133 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument [all …]
|
/linux-4.1.27/net/irda/ |
D | qos.c | 285 qos->baud_rate.bits &= new->baud_rate.bits; in irda_qos_compute_intersection() 286 qos->window_size.bits &= new->window_size.bits; in irda_qos_compute_intersection() 287 qos->min_turn_time.bits &= new->min_turn_time.bits; in irda_qos_compute_intersection() 288 qos->max_turn_time.bits &= new->max_turn_time.bits; in irda_qos_compute_intersection() 289 qos->data_size.bits &= new->data_size.bits; in irda_qos_compute_intersection() 290 qos->link_disc_time.bits &= new->link_disc_time.bits; in irda_qos_compute_intersection() 291 qos->additional_bofs.bits &= new->additional_bofs.bits; in irda_qos_compute_intersection() 314 &qos->baud_rate.bits); in irda_init_max_qos_capabilies() 319 &qos->link_disc_time.bits); in irda_init_max_qos_capabilies() 323 qos->baud_rate.bits &= 0x03ff; in irda_init_max_qos_capabilies() [all …]
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/drivers/iio/adc/ |
D | max1363.c | 142 u8 bits; member 389 if (st->chip_info->bits != 8) { in max1363_read_single_chan() 397 ((1 << st->chip_info->bits) - 1); in max1363_read_single_chan() 431 *val2 = st->chip_info->bits; in max1363_read_raw() 461 #define MAX1363_CHAN_U(num, addr, si, bits, ev_spec, num_ev_spec) \ argument 472 .realbits = bits, \ 473 .storagebits = (bits > 8) ? 16 : 8, \ 482 #define MAX1363_CHAN_B(num, num2, addr, si, bits, ev_spec, num_ev_spec) \ argument 495 .realbits = bits, \ 496 .storagebits = (bits > 8) ? 16 : 8, \ [all …]
|
D | ad7476.c | 136 #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ argument 144 .realbits = (bits), \ 151 #define AD7476_CHAN(bits) _AD7476_CHAN((bits), 13 - (bits), \ argument 153 #define AD7940_CHAN(bits) _AD7476_CHAN((bits), 15 - (bits), \ argument 155 #define AD7091R_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), 0) argument
|
D | ad7923.c | 52 #define EXTRACT(val, dec, bits) ((val >> dec) & ((1 << bits) - 1)) argument 84 #define AD7923_V_CHAN(index, bits) \ argument 95 .realbits = (bits), \ 101 #define DECLARE_AD7923_CHANNELS(name, bits) \ argument 103 AD7923_V_CHAN(0, bits), \ 104 AD7923_V_CHAN(1, bits), \ 105 AD7923_V_CHAN(2, bits), \ 106 AD7923_V_CHAN(3, bits), \
|
D | ad7791.c | 68 #define DECLARE_AD7787_CHANNELS(name, bits, storagebits) \ argument 71 (bits), (storagebits), 0), \ 72 AD_SD_CHANNEL(1, 1, AD7791_CH_AIN2, (bits), (storagebits), 0), \ 74 (bits), (storagebits), 0), \ 76 (bits), (storagebits), 0), \ 80 #define DECLARE_AD7791_CHANNELS(name, bits, storagebits) \ argument 83 (bits), (storagebits), 0), \ 85 (bits), (storagebits), 0), \ 87 (bits), (storagebits), 0), \
|
/linux-4.1.27/fs/btrfs/ |
D | struct-funcs.c | 52 #define DEFINE_BTRFS_SETGET_BITS(bits) \ argument 53 u##bits btrfs_get_token_##bits(struct extent_buffer *eb, void *ptr, \ 64 int size = sizeof(u##bits); \ 65 u##bits res; \ 72 res = get_unaligned_le##bits(p + off); \ 78 __le##bits leres; \ 81 return le##bits##_to_cpu(leres); \ 84 res = get_unaligned_le##bits(p + off); \ 92 void btrfs_set_token_##bits(struct extent_buffer *eb, \ 93 void *ptr, unsigned long off, u##bits val, \ [all …]
|
D | extent_io.h | 84 unsigned *bits); 86 unsigned *bits); 191 unsigned bits, struct extent_state **cached); 205 u64 max_bytes, unsigned bits, int contig); 209 unsigned bits, int filled, 212 unsigned bits, gfp_t mask); 214 unsigned bits, int wake, int delete, 217 unsigned bits, gfp_t mask); 219 unsigned bits, u64 *failed_start, 232 unsigned bits, unsigned clear_bits, [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | btext.c | 22 static void draw_byte_32(unsigned char *bits, unsigned int *base, int rb); 23 static void draw_byte_16(unsigned char *bits, unsigned int *base, int rb); 24 static void draw_byte_8(unsigned char *bits, unsigned int *base, int rb); 243 int l, bits; in draw_byte_32() local 249 bits = *font++; in draw_byte_32() 250 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 251 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 252 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 253 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 254 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() [all …]
|
/linux-4.1.27/arch/mips/lantiq/falcon/ |
D | sysctrl.c | 88 & clk->bits) != test)); in sysctl_wait() 91 clk->module, clk->bits, test, in sysctl_wait() 92 sysctl_r32(clk->module, reg) & clk->bits); in sysctl_wait() 97 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_activate() 98 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_activate() 99 sysctl_wait(clk, clk->bits, SYSCTL_ACTS); in sysctl_activate() 105 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); in sysctl_deactivate() 106 sysctl_w32(clk->module, clk->bits, SYSCTL_DEACT); in sysctl_deactivate() 112 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_clken() 113 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_clken() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | word-at-a-time.h | 26 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 29 *bits = mask; in has_zero() 33 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 35 return bits; in prep_zero_mask() 38 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 40 bits = (bits - 1) & ~bits; in create_zero_mask() 41 return bits >> 7; in create_zero_mask()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | word-at-a-time.h | 29 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero() argument 33 *bits = mask; in has_zero() 37 #define prep_zero_mask(a, bits, c) (bits) argument 39 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 41 bits = (bits - 1) & ~bits; in create_zero_mask() 42 return bits >> 7; in create_zero_mask()
|
/linux-4.1.27/drivers/spi/ |
D | spi-bitbang-txrx.h | 48 u32 word, u8 bits) in bitbang_txrx_be_cpha0() argument 52 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() 54 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha0() 80 u32 word, u8 bits) in bitbang_txrx_be_cpha1() argument 84 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha1() 86 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha1()
|
D | spi-sh-sci.c | 43 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) in setbits() argument 54 sp->val |= bits; in setbits() 56 sp->val &= ~bits; in setbits() 83 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode0() argument 85 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in sh_sci_spi_txrx_mode0() 89 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode1() argument 91 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); in sh_sci_spi_txrx_mode1() 95 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode2() argument 97 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); in sh_sci_spi_txrx_mode2() 101 unsigned nsecs, u32 word, u8 bits) in sh_sci_spi_txrx_mode3() argument [all …]
|
D | spi-gpio.c | 153 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode0() argument 155 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); in spi_gpio_txrx_word_mode0() 159 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode1() argument 161 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); in spi_gpio_txrx_word_mode1() 165 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode2() argument 167 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); in spi_gpio_txrx_word_mode2() 171 unsigned nsecs, u32 word, u8 bits) in spi_gpio_txrx_word_mode3() argument 173 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); in spi_gpio_txrx_word_mode3() 187 unsigned nsecs, u32 word, u8 bits) in spi_gpio_spec_txrx_word_mode0() argument 190 return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); in spi_gpio_spec_txrx_word_mode0() [all …]
|
D | spi-bitbang.c | 50 u32 word, u8 bits); 55 u32 word, u8 bits), 63 u32 word, u8 bits), in bitbang_txrx_8() argument 67 unsigned bits = t->bits_per_word; in bitbang_txrx_8() local 77 word = txrx_word(spi, ns, word, bits); in bitbang_txrx_8() 89 u32 word, u8 bits), in bitbang_txrx_16() argument 93 unsigned bits = t->bits_per_word; in bitbang_txrx_16() local 103 word = txrx_word(spi, ns, word, bits); in bitbang_txrx_16() 115 u32 word, u8 bits), in bitbang_txrx_32() argument 119 unsigned bits = t->bits_per_word; in bitbang_txrx_32() local [all …]
|
D | spi-omap-uwire.c | 208 unsigned bits = t->bits_per_word ? : spi->bits_per_word; in uwire_txrx() local 230 if (bits > 8) { in uwire_txrx() 235 val <<= 16 - bits; in uwire_txrx() 239 dev_name(&spi->dev), bits, val); in uwire_txrx() 247 val = START | w | (bits << 5); in uwire_txrx() 271 if (bits > 8) { in uwire_txrx() 277 val = START | w | (bits << 0); in uwire_txrx() 292 val &= (1 << bits) - 1; in uwire_txrx() 299 dev_name(&spi->dev), bits, val); in uwire_txrx()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | word-at-a-time.h | 18 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, in has_zero() argument 22 *bits = mask; in has_zero() 26 #define prep_zero_mask(a, bits, c) (bits) argument 28 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 30 bits = (bits - 1) & ~bits; in create_zero_mask() 31 return bits >> 7; in create_zero_mask()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | word-at-a-time.h | 46 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 49 *bits = mask; in has_zero() 53 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 55 return bits; in prep_zero_mask() 58 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 60 bits = (bits - 1) & ~bits; in create_zero_mask() 61 return bits >> 7; in create_zero_mask()
|
/linux-4.1.27/lib/ |
D | bitmap.c | 46 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument 48 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() 53 if (bits % BITS_PER_LONG) in __bitmap_equal() 54 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal() 61 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) in __bitmap_complement() argument 63 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_complement() 67 if (bits % BITS_PER_LONG) in __bitmap_complement() 154 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument 157 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() 162 if (bits % BITS_PER_LONG) in __bitmap_and() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | pmu.y | 26 %type <bits> bit_term 27 %type <bits> bits 32 DECLARE_BITMAP(bits, PERF_PMU_FORMAT_BITS); 43 PP_CONFIG ':' bits 50 PP_CONFIG1 ':' bits 57 PP_CONFIG2 ':' bits 64 bits: 65 bits ',' bit_term
|
D | bitmap.c | 10 int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() argument 12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() 17 if (bits % BITS_PER_LONG) in __bitmap_weight() 18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 24 const unsigned long *bitmap2, int bits) in __bitmap_or() argument 27 int nr = BITS_TO_LONGS(bits); in __bitmap_or()
|
/linux-4.1.27/Documentation/devicetree/bindings/video/backlight/ |
D | lp855x.txt | 24 dev-ctrl = /bits/ 8 <0x00>; 29 rom-addr = /bits/ 8 <0x14>; 30 rom-val = /bits/ 8 <0xcf>; 35 rom-addr = /bits/ 8 <0x15>; 36 rom-val = /bits/ 8 <0xc7>; 41 rom-addr = /bits/ 8 <0x19>; 42 rom-val = /bits/ 8 <0x0f>; 52 dev-ctrl = /bits/ 8 <0x85>; 53 init-brt = /bits/ 8 <0x10>; 62 dev-ctrl = /bits/ 8 <0x41>; [all …]
|
/linux-4.1.27/include/linux/iio/imu/ |
D | adis.h | 160 #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ argument 172 .realbits = (bits), \ 178 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument 179 ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) 181 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument 182 ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) 184 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument 196 .realbits = (bits), \ 202 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument 214 .realbits = (bits), \ [all …]
|
/linux-4.1.27/sound/oss/ |
D | sb_audio.c | 133 if (!devc->fullduplex || devc->bits == AFMT_S16_LE) in sb_set_output_parms() 153 if (!devc->fullduplex || devc->bits != AFMT_S16_LE) in sb_set_input_parms() 230 static void sb1_audio_trigger(int dev, int bits) in sb1_audio_trigger() argument 234 bits &= devc->irq_mode; in sb1_audio_trigger() 236 if (!bits) in sb1_audio_trigger() 253 devc->trigger_bits = bits; in sb1_audio_trigger() 317 static unsigned int sb1_audio_set_bits(int dev, unsigned int bits) in sb1_audio_set_bits() argument 320 return devc->bits = 8; in sb1_audio_set_bits() 412 static void sb20_audio_trigger(int dev, int bits) in sb20_audio_trigger() argument 415 bits &= devc->irq_mode; in sb20_audio_trigger() [all …]
|
D | sb_common.c | 280 int bits; in sb16_set_dma_hw() local 287 bits = (1 << devc->dma8); in sb16_set_dma_hw() 290 bits |= (1 << devc->dma16); in sb16_set_dma_hw() 292 sb_setmixer(devc, DMA_NR, bits); in sb16_set_dma_hw() 301 unsigned char bits = sb_getmixer(devc, 0x84) & ~0x06; in sb16_set_mpu_port() local 306 sb_setmixer(devc, 0x84, bits | 0x04); in sb16_set_mpu_port() 310 sb_setmixer(devc, 0x84, bits | 0x00); in sb16_set_mpu_port() 314 sb_setmixer(devc, 0x84, bits | 0x02); /* Disable MPU */ in sb16_set_mpu_port() 347 unsigned char bits = 0; in relocate_Jazz16() local 356 bits = 1; in relocate_Jazz16() [all …]
|
D | pas2_mixer.c | 77 mixer_output(int right_vol, int left_vol, int div, int bits, in mixer_output() argument 84 if (bits & 0x10) in mixer_output() 89 if (bits == 0x03 || bits == 0x04) in mixer_output() 91 mix_write(0x80 | bits, 0x078B); in mixer_output() 96 mix_write(0x80 | 0x20 | bits, 0x078B); in mixer_output() 98 mix_write(0x80 | 0x40 | bits, 0x078B); in mixer_output()
|
D | trix.c | 132 u8 config, bits; in init_trix_wss() local 137 bits = 8; in init_trix_wss() 140 bits = 0x10; in init_trix_wss() 143 bits = 0x18; in init_trix_wss() 146 bits = 0x20; in init_trix_wss() 228 outb((bits | 0x40), config_port); in init_trix_wss() 232 bits |= dma_bits[dma1]; in init_trix_wss() 246 outb((bits), config_port); /* Write IRQ+DMA setup */ in init_trix_wss()
|
D | sb_ess.c | 268 cmd = cmdtab [ ((devc->channels != 1) << 1) + (devc->bits != AFMT_U8) ]; in ess_exec_commands() 483 unsigned char bits; in ess_audio_prepare_for_output_audio2() local 499 bits = ess_getmixer (devc, 0x7a) & 0x18; in ess_audio_prepare_for_output_audio2() 502 if (devc->channels != 1) bits |= 0x02; in ess_audio_prepare_for_output_audio2() 505 if (devc->bits != AFMT_U8) bits |= 0x05; /* 16 bit */ in ess_audio_prepare_for_output_audio2() 508 bits |= 0x60; in ess_audio_prepare_for_output_audio2() 510 ess_setmixer (devc, 0x7a, bits); in ess_audio_prepare_for_output_audio2() 626 static void ess_audio_trigger(int dev, int bits) in ess_audio_trigger() argument 630 int bits_16 = bits & devc->irq_mode_16; in ess_audio_trigger() 631 bits &= devc->irq_mode; in ess_audio_trigger() [all …]
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
D | vxge-reg.h | 31 #define vxge_bVALn(bits, loc, n) \ argument 32 ((((u64)bits) >> (64-(loc+n))) & ((0x1ULL << n) - 1)) 34 #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_DEVICE_ID(bits) \ argument 35 vxge_bVALn(bits, 0, 16) 36 #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MAJOR_REVISION(bits) \ argument 37 vxge_bVALn(bits, 48, 8) 38 #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MINOR_REVISION(bits) \ argument 39 vxge_bVALn(bits, 56, 8) 41 #define VXGE_HW_VPATH_TO_FUNC_MAP_CFG1_GET_VPATH_TO_FUNC_MAP_CFG1(bits) \ argument 42 vxge_bVALn(bits, 3, 5) [all …]
|
/linux-4.1.27/drivers/usb/serial/ |
D | cp210x.c | 523 unsigned int bits; in cp210x_get_termios_port() local 532 cp210x_get_config(port, CP210X_GET_LINE_CTL, &bits, 2); in cp210x_get_termios_port() 534 switch (bits & BITS_DATA_MASK) { in cp210x_get_termios_port() 554 bits &= ~BITS_DATA_MASK; in cp210x_get_termios_port() 555 bits |= BITS_DATA_8; in cp210x_get_termios_port() 556 cp210x_set_config(port, CP210X_SET_LINE_CTL, &bits, 2); in cp210x_get_termios_port() 561 bits &= ~BITS_DATA_MASK; in cp210x_get_termios_port() 562 bits |= BITS_DATA_8; in cp210x_get_termios_port() 563 cp210x_set_config(port, CP210X_SET_LINE_CTL, &bits, 2); in cp210x_get_termios_port() 567 switch (bits & BITS_PARITY_MASK) { in cp210x_get_termios_port() [all …]
|
/linux-4.1.27/drivers/leds/ |
D | leds-pca955x.c | 67 int bits; member 74 .bits = 2, 79 .bits = 8, 84 .bits = 16, 89 .bits = 4, 121 static inline int pca95xx_num_input_regs(int bits) in pca95xx_num_input_regs() argument 123 return (bits + 7) / 8; in pca95xx_num_input_regs() 127 static inline int pca95xx_num_led_regs(int bits) in pca95xx_num_led_regs() argument 129 return (bits + 3) / 4; in pca95xx_num_led_regs() 151 pca95xx_num_input_regs(pca955x->chipdef->bits) + 2*n, in pca955x_write_psc() [all …]
|
/linux-4.1.27/drivers/media/rc/ |
D | ir-rc5-decoder.c | 95 data->bits <<= 1; in ir_rc5_decode() 97 data->bits |= 1; in ir_rc5_decode() 134 xdata = (data->bits & 0x0003F) >> 0; in ir_rc5_decode() 135 command = (data->bits & 0x00FC0) >> 6; in ir_rc5_decode() 136 system = (data->bits & 0x1F000) >> 12; in ir_rc5_decode() 137 toggle = (data->bits & 0x20000) ? 1 : 0; in ir_rc5_decode() 138 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode() 149 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode() 150 system = (data->bits & 0x007C0) >> 6; in ir_rc5_decode() 151 toggle = (data->bits & 0x00800) ? 1 : 0; in ir_rc5_decode() [all …]
|
D | ir-sony-decoder.c | 92 data->bits <<= 1; in ir_sony_decode() 94 data->bits |= 1; in ir_sony_decode() 132 device = bitrev8((data->bits << 3) & 0xF8); in ir_sony_decode() 134 function = bitrev8((data->bits >> 4) & 0xFE); in ir_sony_decode() 142 device = bitrev8((data->bits >> 0) & 0xFF); in ir_sony_decode() 144 function = bitrev8((data->bits >> 7) & 0xFE); in ir_sony_decode() 152 device = bitrev8((data->bits >> 5) & 0xF8); in ir_sony_decode() 153 subdevice = bitrev8((data->bits >> 0) & 0xFF); in ir_sony_decode() 154 function = bitrev8((data->bits >> 12) & 0xFE); in ir_sony_decode()
|
D | ir-nec-decoder.c | 130 data->bits <<= 1; in ir_nec_decode() 132 data->bits |= 1; in ir_nec_decode() 161 address = bitrev8((data->bits >> 24) & 0xff); in ir_nec_decode() 162 not_address = bitrev8((data->bits >> 16) & 0xff); in ir_nec_decode() 163 command = bitrev8((data->bits >> 8) & 0xff); in ir_nec_decode() 164 not_command = bitrev8((data->bits >> 0) & 0xff); in ir_nec_decode() 168 data->bits); in ir_nec_decode() 175 scancode = data->bits; in ir_nec_decode()
|
D | ir-sanyo-decoder.c | 125 data->bits <<= 1; in ir_sanyo_decode() 127 data->bits |= 1; in ir_sanyo_decode() 156 address = bitrev16((data->bits >> 29) & 0x1fff) >> 3; in ir_sanyo_decode() 158 command = bitrev8((data->bits >> 8) & 0xff); in ir_sanyo_decode() 159 not_command = bitrev8((data->bits >> 0) & 0xff); in ir_sanyo_decode() 163 data->bits); in ir_sanyo_decode()
|
D | ir-jvc-decoder.c | 105 data->bits <<= 1; in ir_jvc_decode() 107 data->bits |= 1; in ir_jvc_decode() 140 scancode = (bitrev8((data->bits >> 8) & 0xff) << 8) | in ir_jvc_decode() 141 (bitrev8((data->bits >> 0) & 0xff) << 0); in ir_jvc_decode() 145 data->old_bits = data->bits; in ir_jvc_decode() 146 } else if (data->bits == data->old_bits) { in ir_jvc_decode()
|
D | rc-core-priv.h | 49 u32 bits; member 55 u32 bits; member 69 u32 bits; member 74 u16 bits; member 83 u64 bits; member 88 u32 bits; member
|
D | ir-sharp-decoder.c | 94 data->bits <<= 1; in ir_sharp_decode() 97 data->bits |= 1; in ir_sharp_decode() 121 if ((data->bits & 0x3) != 0x2) in ir_sharp_decode() 150 msg = (data->bits >> 15) & 0x7fff; in ir_sharp_decode() 151 echo = data->bits & 0x7fff; in ir_sharp_decode()
|
/linux-4.1.27/arch/um/include/asm/ |
D | page.h | 41 #define pte_get_bits(pte, bits) ((pte).pte_low & (bits)) argument 42 #define pte_set_bits(pte, bits) ((pte).pte_low |= (bits)) argument 43 #define pte_clear_bits(pte, bits) ((pte).pte_low &= ~(bits)) argument 72 #define pte_get_bits(p, bits) ((p).pte & (bits)) argument 73 #define pte_set_bits(p, bits) ((p).pte |= (bits)) argument 74 #define pte_clear_bits(p, bits) ((p).pte &= ~(bits)) argument
|
/linux-4.1.27/arch/mips/math-emu/ |
D | dp_sqrt.c | 97 yh = y.bits >> 32; in ieee754dp_sqrt() 100 y.bits = ((u64) yh << 32) | (y.bits & 0xffffffff); in ieee754dp_sqrt() 106 y.bits -= 0x0010000600000000LL; in ieee754dp_sqrt() 107 y.bits &= 0xffffffff00000000LL; in ieee754dp_sqrt() 130 if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { in ieee754dp_sqrt() 134 t.bits -= 1; in ieee754dp_sqrt() 142 y.bits += 1; in ieee754dp_sqrt() 145 t.bits += 1; in ieee754dp_sqrt()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_bt829.c | 229 unsigned char bits; in do_i2c_stop() local 231 bits = do_get_bits() & 0xFD; in do_i2c_stop() 232 do_set_bits(bits); in do_i2c_stop() 235 bits |= 1; in do_i2c_stop() 236 do_set_bits(bits); in do_i2c_stop() 239 bits |= 2; in do_i2c_stop() 240 do_set_bits(bits); in do_i2c_stop() 241 bits = 3; in do_i2c_stop() 242 do_set_bits(bits); in do_i2c_stop() 359 unsigned char bits; in do_get_bits() local [all …]
|
/linux-4.1.27/arch/x86/vdso/ |
D | vdso2c.c | 123 #define GLE(x, bits, ifnot) \ argument 125 (sizeof(*(x)) == bits/8), \ 126 (__typeof__(*(x)))get_unaligned_le##bits(x), ifnot) 135 #define PLE(x, val, bits, ifnot) \ argument 137 (sizeof(*(x)) == bits/8), \ 138 put_unaligned_le##bits((val), (x)), ifnot) 150 #define BITSFUNC3(name, bits, suffix) name##bits##suffix argument 151 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) argument 156 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument 157 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bna_hw_defs.h | 96 (_bna)->bits.mbox_status_bits = (__HFN_INT_MBOX_LPU0 | \ 98 (_bna)->bits.mbox_mask_bits = (__HFN_INT_MBOX_LPU0 | \ 100 (_bna)->bits.error_status_bits = (__HFN_INT_ERR_MASK); \ 101 (_bna)->bits.error_mask_bits = (__HFN_INT_ERR_MASK); \ 102 (_bna)->bits.halt_status_bits = __HFN_INT_LL_HALT; \ 103 (_bna)->bits.halt_mask_bits = __HFN_INT_LL_HALT; \ 116 (_bna)->bits.mbox_status_bits = (__HFN_INT_MBOX_LPU0_CT2 | \ 118 (_bna)->bits.mbox_mask_bits = (__HFN_INT_MBOX_LPU0_CT2 | \ 120 (_bna)->bits.error_status_bits = (__HFN_INT_ERR_MASK_CT2); \ 121 (_bna)->bits.error_mask_bits = (__HFN_INT_ERR_MASK_CT2); \ [all …]
|
/linux-4.1.27/scripts/dtc/ |
D | dtc-parser.y | 36 static unsigned long long eval_literal(const char *s, int base, int bits); 50 int bits; member 278 $$.bits = eval_literal($2, 0, 7); 280 if (($$.bits != 8) && 281 ($$.bits != 16) && 282 ($$.bits != 32) && 283 ($$.bits != 64)) 287 $$.bits = 32; 293 $$.bits = 32; 297 if ($1.bits < 64) { [all …]
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 28 #define BITMASK(bits) (BIT(bits) - 1) argument 54 static inline int cpsw_ale_get_field(u32 *ale_entry, u32 start, u32 bits) in cpsw_ale_get_field() argument 61 return (ale_entry[idx] >> start) & BITMASK(bits); in cpsw_ale_get_field() 64 static inline void cpsw_ale_set_field(u32 *ale_entry, u32 start, u32 bits, in cpsw_ale_set_field() argument 69 value &= BITMASK(bits); in cpsw_ale_set_field() 73 ale_entry[idx] &= ~(BITMASK(bits) << start); in cpsw_ale_set_field() 77 #define DEFINE_ALE_FIELD(name, start, bits) \ argument 80 return cpsw_ale_get_field(ale_entry, start, bits); \ 84 cpsw_ale_set_field(ale_entry, start, bits, value); \ 497 int bits; member [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_wc_x86_64.c | 57 unsigned bits; in qib_enable_wc() local 94 for (bits = 0; !(piolen & (1ULL << bits)); bits++) in qib_enable_wc() 97 if (piolen != (1ULL << bits)) { in qib_enable_wc() 98 piolen >>= bits; in qib_enable_wc() 100 bits++; in qib_enable_wc() 101 piolen = 1ULL << (bits + 1); in qib_enable_wc()
|
/linux-4.1.27/Documentation/x86/x86_64/ |
D | mm.txt | 6 0000000000000000 - 00007fffffffffff (=47 bits) user space, different per mm 8 ffff800000000000 - ffff87ffffffffff (=43 bits) guard hole, reserved for hypervisor 10 ffffc80000000000 - ffffc8ffffffffff (=40 bits) hole 11 ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space 12 ffffe90000000000 - ffffe9ffffffffff (=40 bits) hole 13 ffffea0000000000 - ffffeaffffffffff (=40 bits) virtual memory map (1TB) 15 ffffec0000000000 - fffffc0000000000 (=44 bits) kasan shadow memory (16TB) 17 ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks 32 Current X86-64 implementations only support 40 bits of address space, 33 but we support up to 46 bits. This expands into MBZ space in the page tables.
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon_default_smpl.c | 197 arg->ovfl_ctrl.bits.notify_user = 0; in default_handler() 198 arg->ovfl_ctrl.bits.block_task = 0; in default_handler() 199 arg->ovfl_ctrl.bits.mask_monitoring = 0; in default_handler() 200 arg->ovfl_ctrl.bits.reset_ovfl_pmds = 1; /* reset before returning from interrupt handler */ in default_handler() 216 arg->ovfl_ctrl.bits.notify_user = 0; in default_handler() 217 arg->ovfl_ctrl.bits.block_task = 0; in default_handler() 218 arg->ovfl_ctrl.bits.mask_monitoring = 1; in default_handler() 219 arg->ovfl_ctrl.bits.reset_ovfl_pmds = 0; in default_handler() 221 arg->ovfl_ctrl.bits.notify_user = 1; in default_handler() 222 arg->ovfl_ctrl.bits.block_task = 1; /* ignored for non-blocking context */ in default_handler() [all …]
|
D | process.c | 119 regs->f6.u.bits[1], regs->f6.u.bits[0], in show_regs() 120 regs->f7.u.bits[1], regs->f7.u.bits[0]); in show_regs() 122 regs->f8.u.bits[1], regs->f8.u.bits[0], in show_regs() 123 regs->f9.u.bits[1], regs->f9.u.bits[0]); in show_regs() 125 regs->f10.u.bits[1], regs->f10.u.bits[0], in show_regs() 126 regs->f11.u.bits[1], regs->f11.u.bits[0]); in show_regs()
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-jtag.c | 87 uint32_t cvmx_helper_qlm_jtag_shift(int qlm, int bits, uint32_t data) in cvmx_helper_qlm_jtag_shift() argument 92 jtgd.s.shft_cnt = bits - 1; in cvmx_helper_qlm_jtag_shift() 100 return jtgd.s.shft_reg >> (32 - bits); in cvmx_helper_qlm_jtag_shift() 113 void cvmx_helper_qlm_jtag_shift_zeros(int qlm, int bits) in cvmx_helper_qlm_jtag_shift_zeros() argument 115 while (bits > 0) { in cvmx_helper_qlm_jtag_shift_zeros() 116 int n = bits; in cvmx_helper_qlm_jtag_shift_zeros() 120 bits -= n; in cvmx_helper_qlm_jtag_shift_zeros()
|
/linux-4.1.27/arch/ia64/sn/pci/pcibr/ |
D | pcibr_reg.c | 26 void pcireg_control_bit_clr(struct pcibus_info *pcibus_info, u64 bits) in pcireg_control_bit_clr() argument 33 __sn_clrq_relaxed(&ptr->tio.cp_control, bits); in pcireg_control_bit_clr() 36 __sn_clrq_relaxed(&ptr->pic.p_wid_control, bits); in pcireg_control_bit_clr() 46 void pcireg_control_bit_set(struct pcibus_info *pcibus_info, u64 bits) in pcireg_control_bit_set() argument 53 __sn_setq_relaxed(&ptr->tio.cp_control, bits); in pcireg_control_bit_set() 56 __sn_setq_relaxed(&ptr->pic.p_wid_control, bits); in pcireg_control_bit_set() 124 void pcireg_intr_enable_bit_clr(struct pcibus_info *pcibus_info, u64 bits) in pcireg_intr_enable_bit_clr() argument 131 __sn_clrq_relaxed(&ptr->tio.cp_int_enable, bits); in pcireg_intr_enable_bit_clr() 134 __sn_clrq_relaxed(&ptr->pic.p_int_enable, bits); in pcireg_intr_enable_bit_clr() 144 void pcireg_intr_enable_bit_set(struct pcibus_info *pcibus_info, u64 bits) in pcireg_intr_enable_bit_set() argument [all …]
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_wc_x86_64.c | 56 unsigned bits; in ipath_enable_wc() local 90 for (bits = 0; !(piolen & (1ULL << bits)); bits++) in ipath_enable_wc() 93 if (piolen != (1ULL << bits)) { in ipath_enable_wc() 94 piolen >>= bits; in ipath_enable_wc() 96 bits++; in ipath_enable_wc() 97 piolen = 1ULL << (bits + 1); in ipath_enable_wc()
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | micrel.txt | 10 bits that are currently supported: 12 KSZ8001: register 0x1e, bits 15..14 13 KSZ8041: register 0x1e, bits 15..14 14 KSZ8021: register 0x1f, bits 5..4 15 KSZ8031: register 0x1f, bits 5..4 16 KSZ8051: register 0x1f, bits 5..4 17 KSZ8081: register 0x1f, bits 5..4 18 KSZ8091: register 0x1f, bits 5..4
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | btext.c | 427 int l, bits; in draw_byte_32() local 433 bits = *font++; in draw_byte_32() 434 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 435 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 436 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 437 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 438 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 439 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 440 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 441 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() [all …]
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
D | gptu.c | 98 int ret = request_irq(irqres[clk->bits].start, timer_irq_handler, in gptu_enable() 106 GPTU_CON(clk->bits)); in gptu_enable() 107 gptu_w32(1, GPTU_RLD(clk->bits)); in gptu_enable() 108 gptu_w32(gptu_r32(GPTU_IRNEN) | BIT(clk->bits), GPTU_IRNEN); in gptu_enable() 109 gptu_w32(RUN_SEN | RUN_RL, GPTU_RUN(clk->bits)); in gptu_enable() 115 gptu_w32(0, GPTU_RUN(clk->bits)); in gptu_disable() 116 gptu_w32(0, GPTU_CON(clk->bits)); in gptu_disable() 117 gptu_w32(0, GPTU_RLD(clk->bits)); in gptu_disable() 118 gptu_w32(gptu_r32(GPTU_IRNEN) & ~BIT(clk->bits), GPTU_IRNEN); in gptu_disable() 119 free_irq(irqres[clk->bits].start, NULL); in gptu_disable() [all …]
|
D | sysctrl.c | 111 ltq_cgu_w32(ltq_cgu_r32(ifccr) | clk->bits, ifccr); in cgu_enable() 118 ltq_cgu_w32(ltq_cgu_r32(ifccr) & ~clk->bits, ifccr); in cgu_disable() 126 pmu_w32(pmu_r32(PWDCR(clk->module)) & ~clk->bits, in pmu_enable() 128 do {} while (--retry && (pmu_r32(PWDSR(clk->module)) & clk->bits)); in pmu_enable() 139 pmu_w32(pmu_r32(PWDCR(clk->module)) | clk->bits, in pmu_disable() 206 unsigned int module, unsigned int bits) in clkdev_add_pmu() argument 216 clk->bits = bits; in clkdev_add_pmu() 222 unsigned int bits) in clkdev_add_cgu() argument 231 clk->bits = bits; in clkdev_add_cgu() 252 clk->bits = PMU_PCI; in clkdev_add_pci()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | cm2xxx_3xxx.h | 64 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits() argument 71 v |= bits; in omap2_cm_rmw_mod_reg_bits() 89 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits() argument 91 return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_cm_set_mod_reg_bits() 94 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits() argument 96 return omap2_cm_rmw_mod_reg_bits(bits, 0x0, module, idx); in omap2_cm_clear_mod_reg_bits()
|
D | prm2xxx_3xxx.h | 67 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits() argument 74 v |= bits; in omap2_prm_rmw_mod_reg_bits() 92 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits() argument 94 return omap2_prm_rmw_mod_reg_bits(bits, bits, module, idx); in omap2_prm_set_mod_reg_bits() 97 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits() argument 99 return omap2_prm_rmw_mod_reg_bits(bits, 0x0, module, idx); in omap2_prm_clear_mod_reg_bits()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
D | adis16240_core.c | 32 unsigned bits) in adis16240_spi_read_signed() argument 38 unsigned shift = 16 - bits; in adis16240_spi_read_signed() 87 int bits; in adis16240_read_raw() local 124 bits = 10; in adis16240_read_raw() 132 val16 &= (1 << bits) - 1; in adis16240_read_raw() 133 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16240_read_raw() 138 bits = 10; in adis16240_read_raw() 146 val16 &= (1 << bits) - 1; in adis16240_read_raw() 147 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16240_read_raw() 162 int bits = 10; in adis16240_write_raw() local [all …]
|
D | adis16201_core.c | 39 int bits; in adis16201_read_raw() local 80 bits = 12; in adis16201_read_raw() 83 bits = 9; in adis16201_read_raw() 95 val16 &= (1 << bits) - 1; in adis16201_read_raw() 96 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16201_read_raw() 111 int bits; in adis16201_write_raw() local 119 bits = 12; in adis16201_write_raw() 122 bits = 9; in adis16201_write_raw() 127 val16 = val & ((1 << bits) - 1); in adis16201_write_raw()
|
D | adis16204_core.c | 43 int bits; in adis16204_read_raw() local 90 bits = 12; in adis16204_read_raw() 93 bits = 14; in adis16204_read_raw() 103 val16 &= (1 << bits) - 1; in adis16204_read_raw() 104 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16204_read_raw() 119 int bits; in adis16204_write_raw() local 127 bits = 12; in adis16204_write_raw() 132 val16 = val & ((1 << bits) - 1); in adis16204_write_raw()
|
D | adis16209_core.c | 44 int bits; in adis16209_write_raw() local 53 bits = 14; in adis16209_write_raw() 58 val16 = val & ((1 << bits) - 1); in adis16209_write_raw() 72 int bits; in adis16209_read_raw() local 112 bits = 14; in adis16209_read_raw() 124 val16 &= (1 << bits) - 1; in adis16209_read_raw() 125 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16209_read_raw()
|
D | adis16203_core.c | 51 int bits; in adis16203_read_raw() local 85 bits = 14; in adis16203_read_raw() 93 val16 &= (1 << bits) - 1; in adis16203_read_raw() 94 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); in adis16203_read_raw()
|
D | adis16220_core.c | 242 u8 bits; member 272 u8 bits; in adis16220_read_raw() local 317 bits = addr->bits; in adis16220_read_raw() 318 sval &= (1 << bits) - 1; in adis16220_read_raw() 319 sval = (s16)(sval << (16 - bits)) >> (16 - bits); in adis16220_read_raw() 326 bits = addr->bits; in adis16220_read_raw() 327 uval &= (1 << bits) - 1; in adis16220_read_raw()
|
/linux-4.1.27/arch/arm64/mm/ |
D | dump.c | 144 const struct prot_bits *bits; member 152 .bits = pte_bits, 155 .bits = pte_bits, 158 .bits = pte_bits, 161 .bits = pte_bits, 166 static void dump_prot(struct pg_state *st, const struct prot_bits *bits, in dump_prot() argument 171 for (i = 0; i < num; i++, bits++) { in dump_prot() 174 if ((st->current_prot & bits->mask) == bits->val) in dump_prot() 175 s = bits->set; in dump_prot() 177 s = bits->clear; in dump_prot() [all …]
|
/linux-4.1.27/drivers/cpufreq/ |
D | powernow-k7.c | 65 } bits; member 225 if (fidvidctl.bits.FID != fid) { in change_FID() 226 fidvidctl.bits.SGTC = latency; in change_FID() 227 fidvidctl.bits.FID = fid; in change_FID() 228 fidvidctl.bits.VIDC = 0; in change_FID() 229 fidvidctl.bits.FIDC = 1; in change_FID() 240 if (fidvidctl.bits.VID != vid) { in change_VID() 241 fidvidctl.bits.SGTC = latency; in change_VID() 242 fidvidctl.bits.VID = vid; in change_VID() 243 fidvidctl.bits.FIDC = 0; in change_VID() [all …]
|
D | longhaul.c | 141 bcr2.bits.ESOFTBF = 1; in do_longhaul1() 142 bcr2.bits.CLOCKMUL = mults_index & 0xff; in do_longhaul1() 155 bcr2.bits.ESOFTBF = 0; in do_longhaul1() 170 longhaul.bits.RevisionKey = longhaul.bits.RevisionID; in do_powersaver() 172 longhaul.bits.RevisionKey = 0; in do_powersaver() 173 longhaul.bits.SoftBusRatio = mults_index & 0xf; in do_powersaver() 174 longhaul.bits.SoftBusRatio4 = (mults_index & 0x10) >> 4; in do_powersaver() 177 longhaul.bits.SoftVID = (mults_index >> 8) & 0x1f; in do_powersaver() 182 longhaul.bits.EnableSoftVID = 1; in do_powersaver() 196 longhaul.bits.EnableSoftVID = 0; in do_powersaver() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | at91sam9261ek.dts | 53 bits-per-pixel = <16>; 139 ti,x-min = /bits/ 16 <150>; 140 ti,x-max = /bits/ 16 <3830>; 141 ti,y-min = /bits/ 16 <190>; 142 ti,y-max = /bits/ 16 <3830>; 143 ti,vref-delay-usecs = /bits/ 16 <450>; 144 ti,x-plate-ohms = /bits/ 16 <450>; 145 ti,y-plate-ohms = /bits/ 16 <250>; 146 ti,pressure-max = /bits/ 16 <15000>; 147 ti,debounce-rep = /bits/ 16 <0>; [all …]
|
D | ste-href.dtsi | 69 clock-mode = /bits/ 8 <2>; 71 led-cur = /bits/ 8 <0x2f>; 72 max-cur = /bits/ 8 <0x5f>; 76 led-cur = /bits/ 8 <0x2f>; 77 max-cur = /bits/ 8 <0x5f>; 80 led-cur = /bits/ 8 <0x2f>; 81 max-cur = /bits/ 8 <0x5f>; 88 clock-mode = /bits/ 8 <2>; 90 led-cur = /bits/ 8 <0x2f>; 91 max-cur = /bits/ 8 <0x5f>; [all …]
|
D | omap3-panel-sharp-ls037v7dw01.dtsi | 62 ti,x-min = /bits/ 16 <0>; 63 ti,x-max = /bits/ 16 <8000>; 64 ti,y-min = /bits/ 16 <0>; 65 ti,y-max = /bits/ 16 <4800>; 66 ti,x-plate-ohms = /bits/ 16 <40>; 67 ti,pressure-max = /bits/ 16 <255>;
|
D | da850.dtsi | 45 pinctrl-single,bits = < 61 pinctrl-single,bits = < 67 pinctrl-single,bits = < 76 pinctrl-single,bits = < 82 pinctrl-single,bits = < 88 pinctrl-single,bits = < 94 pinctrl-single,bits = < 100 pinctrl-single,bits = < 106 pinctrl-single,bits = < 112 pinctrl-single,bits = < [all …]
|
/linux-4.1.27/drivers/parport/ |
D | parport_sunbpp.c | 88 unsigned char bits = 0; in status_sunbpp_to_pc() local 93 bits |= PARPORT_STATUS_ERROR; in status_sunbpp_to_pc() 95 bits |= PARPORT_STATUS_SELECT; in status_sunbpp_to_pc() 97 bits |= PARPORT_STATUS_PAPEROUT; in status_sunbpp_to_pc() 99 bits |= PARPORT_STATUS_ACK; in status_sunbpp_to_pc() 101 bits |= PARPORT_STATUS_BUSY; in status_sunbpp_to_pc() 104 dprintk((KERN_DEBUG "read status 0x%x\n", bits)); in status_sunbpp_to_pc() 105 return bits; in status_sunbpp_to_pc() 111 unsigned char bits = 0; in control_sunbpp_to_pc() local 116 bits |= PARPORT_CONTROL_STROBE; in control_sunbpp_to_pc() [all …]
|
/linux-4.1.27/arch/cris/arch-v32/mach-fs/ |
D | Kconfig | 53 for 32 MB organized as two 16 bits chips (e.g. Axis 90 Configures the direction of general port A bits. 1 is out, 0 is in. 93 connected to port PA, then they are usually connected to bits 2-4 95 LED's at the general ports, these bits are used for all kinds of 104 Configures the initial data for the general port A bits. Most 112 Configures the direction of general port B bits. 1 is out, 0 is in. 115 connected to port PA, then they are usually connected to bits 2-4 117 LED's at the general ports, these bits are used for all kinds of 126 Configures the initial data for the general port B bits. Most 134 Configures the direction of general port C bits. 1 is out, 0 is in. [all …]
|
/linux-4.1.27/drivers/media/radio/ |
D | radio-maxiradio.c | 86 u8 bits = 0; in maxiradio_tea575x_set_pins() local 88 bits |= (pins & TEA575X_DATA) ? data : 0; in maxiradio_tea575x_set_pins() 89 bits |= (pins & TEA575X_CLK) ? clk : 0; in maxiradio_tea575x_set_pins() 90 bits |= (pins & TEA575X_WREN) ? wren : 0; in maxiradio_tea575x_set_pins() 91 bits |= power; in maxiradio_tea575x_set_pins() 93 outb(bits, dev->io); in maxiradio_tea575x_set_pins() 101 u8 bits = inb(dev->io); in maxiradio_tea575x_get_pins() local 103 return ((bits & data) ? TEA575X_DATA : 0) | in maxiradio_tea575x_get_pins() 104 ((bits & mo_st) ? TEA575X_MOST : 0); in maxiradio_tea575x_get_pins()
|
D | radio-aimslab.c | 89 u8 bits = AIMS_BIT_VOL_DN | AIMS_BIT_VOL_UP | AIMS_BIT_TUN_STRQ; in rtrack_set_pins() local 92 bits |= AIMS_BIT_VOL_CE; in rtrack_set_pins() 95 bits |= AIMS_BIT_TUN_DATA; in rtrack_set_pins() 97 bits |= AIMS_BIT_TUN_CLK; in rtrack_set_pins() 99 bits |= AIMS_BIT_TUN_CE; in rtrack_set_pins() 101 outb_p(bits, rt->isa.io); in rtrack_set_pins()
|
D | radio-aztech.c | 71 u8 bits = az->curvol; in aztech_set_pins() local 74 bits |= AZTECH_BIT_TUN_DATA; in aztech_set_pins() 76 bits |= AZTECH_BIT_TUN_CLK; in aztech_set_pins() 78 bits |= AZTECH_BIT_TUN_CE; in aztech_set_pins() 80 outb_p(bits, az->isa.io); in aztech_set_pins()
|
D | radio-sf16fmr2.c | 62 u8 bits = 0; in fmr2_tea575x_set_pins() local 64 bits |= (pins & TEA575X_DATA) ? STR_DATA : 0; in fmr2_tea575x_set_pins() 65 bits |= (pins & TEA575X_CLK) ? STR_CLK : 0; in fmr2_tea575x_set_pins() 67 bits |= (pins & TEA575X_WREN) ? 0 : STR_WREN | STR_DATA; in fmr2_tea575x_set_pins() 69 outb(bits, fmr2->io); in fmr2_tea575x_set_pins() 75 u8 bits = inb(fmr2->io); in fmr2_tea575x_get_pins() local 77 return ((bits & STR_DATA) ? TEA575X_DATA : 0) | in fmr2_tea575x_get_pins() 78 ((bits & STR_MOST) ? TEA575X_MOST : 0); in fmr2_tea575x_get_pins()
|
/linux-4.1.27/drivers/s390/cio/ |
D | airq.c | 121 struct airq_iv *airq_iv_create(unsigned long bits, unsigned long flags) in airq_iv_create() argument 129 iv->bits = bits; in airq_iv_create() 130 size = BITS_TO_LONGS(bits) * sizeof(unsigned long); in airq_iv_create() 141 iv->end = bits; in airq_iv_create() 148 size = bits * sizeof(unsigned long); in airq_iv_create() 154 size = bits * sizeof(unsigned int); in airq_iv_create() 204 bit = find_first_bit_inv(iv->avail, iv->bits); in airq_iv_alloc() 205 while (bit + num <= iv->bits) { in airq_iv_alloc() 217 bit = find_next_bit_inv(iv->avail, iv->bits, bit + i + 1); in airq_iv_alloc() 219 if (bit + num > iv->bits) in airq_iv_alloc()
|
/linux-4.1.27/drivers/misc/altera-stapl/ |
D | altera-comp.c | 53 static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, in altera_read_packed() argument 60 while (bits > 0) { in altera_read_packed() 65 if (bits <= *bits_avail) { in altera_read_packed() 66 result &= (0xffff >> (SHORT_BITS - (bits + shift))); in altera_read_packed() 67 *bits_avail -= bits; in altera_read_packed() 68 bits = 0; in altera_read_packed() 72 bits -= *bits_avail; in altera_read_packed()
|
/linux-4.1.27/arch/arm/lib/ |
D | findbit.S | 32 eors r3, r3, #0xff @ invert bits 37 3: mov r0, r1 @ no free bits 54 movs r3, r3, lsr ip @ shift off unused bits 56 orr r2, r2, #7 @ if zero, then no bits here 78 3: mov r0, r1 @ no free bits 94 movs r3, r3, lsr ip @ shift off unused bits 96 orr r2, r2, #7 @ if zero, then no bits here 111 eors r3, r3, #0xff @ invert bits 116 3: mov r0, r1 @ no free bits 130 movs r3, r3, lsr ip @ shift off unused bits [all …]
|
/linux-4.1.27/arch/arm64/kernel/ |
D | setup.c | 154 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local 176 bits[i] = ls - fs[i]; in smp_build_mpidr_hash() 189 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash() 191 (bits[1] + bits[0]); in smp_build_mpidr_hash() 193 fs[3] - (bits[2] + bits[1] + bits[0]); in smp_build_mpidr_hash() 195 mpidr_hash.bits = bits[3] + bits[2] + bits[1] + bits[0]; in smp_build_mpidr_hash() 202 mpidr_hash.bits); in smp_build_mpidr_hash()
|
/linux-4.1.27/arch/cris/arch-v32/mach-a3/ |
D | Kconfig | 52 Configures the direction of general port A bits. 1 is out, 0 is in. 55 connected to port PA, then they are usually connected to bits 2-4 57 LED's at the general ports, these bits are used for all kinds of 65 Configures the initial data for the general port A bits. Most 72 Configures the direction of general port B bits. 1 is out, 0 is in. 75 connected to port PA, then they are usually connected to bits 2-4 77 LED's at the general ports, these bits are used for all kinds of 85 Configures the initial data for the general port B bits. Most 92 Configures the direction of general port C bits. 1 is out, 0 is in. 95 connected to port PA, then they are usually connected to bits 2-4 [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-bfin.c | 186 u16 rtc_istat, rtc_istat_clear, rtc_ictl, bits; in bfin_rtc_interrupt() local 194 bits = RTC_ISTAT_WRITE_COMPLETE; in bfin_rtc_interrupt() 195 if (rtc_istat & bits) { in bfin_rtc_interrupt() 196 rtc_istat_clear |= bits; in bfin_rtc_interrupt() 201 bits = (RTC_ISTAT_ALARM | RTC_ISTAT_ALARM_DAY); in bfin_rtc_interrupt() 202 if (rtc_ictl & bits) { in bfin_rtc_interrupt() 203 if (rtc_istat & bits) { in bfin_rtc_interrupt() 204 rtc_istat_clear |= bits; in bfin_rtc_interrupt() 209 bits = RTC_ISTAT_SEC; in bfin_rtc_interrupt() 210 if (rtc_ictl & bits) { in bfin_rtc_interrupt() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | mxs-dma.c | 100 u16 bits; member 534 ccw->bits |= CCW_CHAIN; in mxs_dma_prep_slave_sg() 535 ccw->bits &= ~CCW_IRQ; in mxs_dma_prep_slave_sg() 536 ccw->bits &= ~CCW_DEC_SEM; in mxs_dma_prep_slave_sg() 548 ccw->bits = 0; in mxs_dma_prep_slave_sg() 549 ccw->bits |= CCW_IRQ; in mxs_dma_prep_slave_sg() 550 ccw->bits |= CCW_DEC_SEM; in mxs_dma_prep_slave_sg() 552 ccw->bits |= CCW_WAIT4END; in mxs_dma_prep_slave_sg() 553 ccw->bits |= CCW_HALT_ON_TERM; in mxs_dma_prep_slave_sg() 554 ccw->bits |= CCW_TERM_FLUSH; in mxs_dma_prep_slave_sg() [all …]
|
/linux-4.1.27/drivers/misc/eeprom/ |
D | eeprom_93xx46.c | 45 int bits, ret; in eeprom_93xx46_bin_read() local 62 bits = 10; in eeprom_93xx46_bin_read() 65 bits = 9; in eeprom_93xx46_bin_read() 76 t[0].bits_per_word = bits; in eeprom_93xx46_bin_read() 108 int bits, ret; in eeprom_93xx46_ew() local 114 bits = 10; in eeprom_93xx46_ew() 117 bits = 9; in eeprom_93xx46_ew() 127 t.bits_per_word = bits; in eeprom_93xx46_ew() 155 int bits, data_len, ret; in eeprom_93xx46_write_word() local 162 bits = 10; in eeprom_93xx46_write_word() [all …]
|
/linux-4.1.27/lib/zlib_deflate/ |
D | deftree.c | 229 int bits; /* bit counter */ in tr_static_init() local 272 for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; in tr_static_init() 420 int bits; /* bit length */ in gen_bitlen() local 425 for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; in gen_bitlen() 434 bits = tree[tree[n].Dad].Len + 1; in gen_bitlen() 435 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen() 436 tree[n].Len = (ush)bits; in gen_bitlen() 441 s->bl_count[bits]++; in gen_bitlen() 445 s->opt_len += (ulg)f * (bits + xbits); in gen_bitlen() 455 bits = max_length-1; in gen_bitlen() [all …]
|
/linux-4.1.27/arch/mips/mti-sead3/ |
D | sead3-init.c | 25 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 40 bits = *s++; in console_config() 50 if (bits != '7' && bits != '8') in console_config() 51 bits = '8'; in console_config() 55 parity, bits, flow); in console_config()
|
/linux-4.1.27/sound/pci/ice1712/ |
D | psc724.c | 122 u32 st, bits; in psc724_wm8766_write() local 130 bits = snd_ice1712_gpio_read(ice) & ~PSC724_SPI_MASK; in psc724_wm8766_write() 131 snd_ice1712_gpio_write(ice, bits); in psc724_wm8766_write() 135 bits &= ~PSC724_SPI_CLK; in psc724_wm8766_write() 139 bits |= PSC724_SPI_DATA; in psc724_wm8766_write() 141 bits &= ~PSC724_SPI_DATA; in psc724_wm8766_write() 142 snd_ice1712_gpio_write(ice, bits); in psc724_wm8766_write() 145 bits |= PSC724_SPI_CLK; in psc724_wm8766_write() 146 snd_ice1712_gpio_write(ice, bits); in psc724_wm8766_write() 150 bits |= PSC724_SPI_LOAD; in psc724_wm8766_write() [all …]
|
D | se.c | 137 unsigned int bits; in se200pci_WM8766_write() local 149 bits = snd_ice1712_gpio_read(ice) & ~ALL_MASK; in se200pci_WM8766_write() 151 snd_ice1712_gpio_write(ice, bits); in se200pci_WM8766_write() 154 bits &= ~CLOCK; in se200pci_WM8766_write() 157 bits |= DATA; in se200pci_WM8766_write() 159 bits &= ~DATA; in se200pci_WM8766_write() 161 snd_ice1712_gpio_write(ice, bits); in se200pci_WM8766_write() 164 bits |= CLOCK; in se200pci_WM8766_write() 165 snd_ice1712_gpio_write(ice, bits); in se200pci_WM8766_write() 169 bits |= LOAD; in se200pci_WM8766_write() [all …]
|
/linux-4.1.27/scripts/gdb/linux/ |
D | cpus.py | 79 bits = 0 82 while bits == 0: 86 bits = mask[entry] 87 if bits != 0: 91 while bits & 1 == 0: 92 bits >>= 1 97 bits >>= 1
|
/linux-4.1.27/drivers/atm/ |
D | horizon.h | 71 #define PRINTDB(bits,format,args...) \ argument 72 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) 73 #define PRINTDM(bits,format,args...) \ argument 74 ( (debug & (bits)) ? printk (format , ## args) : 1 ) 75 #define PRINTDE(bits,format,args...) \ argument 76 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) 77 #define PRINTD(bits,format,args...) \ argument 78 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) 82 #define PRINTD(bits,format,args...) argument 83 #define PRINTDB(bits,format,args...) argument [all …]
|
D | ambassador.h | 70 #define PRINTDB(bits,format,args...) \ argument 71 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) 72 #define PRINTDM(bits,format,args...) \ argument 73 ( (debug & (bits)) ? printk (format , ## args) : 1 ) 74 #define PRINTDE(bits,format,args...) \ argument 75 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) 76 #define PRINTD(bits,format,args...) \ argument 77 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) 81 #define PRINTD(bits,format,args...) argument 82 #define PRINTDB(bits,format,args...) argument [all …]
|
/linux-4.1.27/arch/arm/mm/ |
D | dump.c | 183 const struct prot_bits *bits; member 193 .bits = section_bits, 196 .bits = pte_bits, 201 static void dump_prot(struct pg_state *st, const struct prot_bits *bits, size_t num) in dump_prot() argument 205 for (i = 0; i < num; i++, bits++) { in dump_prot() 208 if ((st->current_prot & bits->mask) == bits->val) in dump_prot() 209 s = bits->set; in dump_prot() 211 s = bits->clear; in dump_prot() 242 if (pg_level[st->level].bits) in note_page() 243 dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); in note_page() [all …]
|
D | proc-v7-3level.S | 61 orr rpgdh, rpgdh, r2, lsl #(48 - 32) @ upper 32-bits of pgd 146 mov \tmp, \ttbr1, lsr #(32 - ARCH_PGD_SHIFT) @ upper bits 147 mov \ttbr1, \ttbr1, lsl #ARCH_PGD_SHIFT @ lower bits 150 mov \tmp, \ttbr0, lsr #(32 - ARCH_PGD_SHIFT) @ upper bits 151 mov \ttbr0, \ttbr0, lsl #ARCH_PGD_SHIFT @ lower bits
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_inodebits.c | 66 lpolicy->l_inodebits.bits = wpolicy->l_inodebits.bits; in ldlm_ibits_policy_wire_to_local() 73 wpolicy->l_inodebits.bits = lpolicy->l_inodebits.bits; in ldlm_ibits_policy_local_to_wire()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | interrupt.c | 62 static irq_hw_number_t iic_pending_to_hwnum(struct cbe_iic_pending_bits bits) in iic_pending_to_hwnum() argument 64 unsigned char unit = bits.source & 0xf; in iic_pending_to_hwnum() 65 unsigned char node = bits.source >> 4; in iic_pending_to_hwnum() 66 unsigned char class = bits.class & 3; in iic_pending_to_hwnum() 69 if (bits.flags & CBE_IIC_IRQ_IPI) in iic_pending_to_hwnum() 70 return IIC_IRQ_TYPE_IPI | (bits.prio >> 4); in iic_pending_to_hwnum() 108 unsigned long bits, ack; in iic_ioexc_cascade() local 112 bits = in_be64(&node_iic->iic_is); in iic_ioexc_cascade() 113 if (bits == 0) in iic_ioexc_cascade() 116 ack = bits & IIC_ISR_EDGE_MASK; in iic_ioexc_cascade() [all …]
|
/linux-4.1.27/drivers/net/caif/ |
D | caif_hsi.c | 77 if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_inactivity_tout() 157 if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_abort_tx() 185 set_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); in cfhsi_flush_fifo() 189 clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); in cfhsi_flush_fifo() 198 !test_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits), ret); in cfhsi_flush_fifo() 338 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_start_tx() 371 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done() 407 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done_cb() 629 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_rx_done() 693 if (test_bit(CFHSI_AWAKE, &cfhsi->bits)) { in cfhsi_rx_done() [all …]
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | cpm2.c | 147 int i, bits = 0; in cpm2_clk_setup() local 249 bits = clk_map[i][2]; in cpm2_clk_setup() 256 bits <<= shift; in cpm2_clk_setup() 260 bits |= bits << 3; in cpm2_clk_setup() 263 bits <<= 3; in cpm2_clk_setup() 267 out_be32(reg, (in_be32(reg) & ~mask) | bits); in cpm2_clk_setup() 277 int i, bits = 0; in cpm2_smc_clk_setup() local 313 bits = clk_map[i][2]; in cpm2_smc_clk_setup() 320 bits <<= shift; in cpm2_smc_clk_setup() 323 out_8(reg, (in_8(reg) & ~mask) | bits); in cpm2_smc_clk_setup()
|
/linux-4.1.27/include/math-emu/ |
D | op-1.h | 79 X##_f = _flo.bits.frac; \ 80 X##_e = _flo.bits.exp; \ 81 X##_s = _flo.bits.sign; \ 89 X##_f = _flo->bits.frac; \ 90 X##_e = _flo->bits.exp; \ 91 X##_s = _flo->bits.sign; \ 102 _flo.bits.frac = X##_f; \ 103 _flo.bits.exp = X##_e; \ 104 _flo.bits.sign = X##_s; \ 114 _flo->bits.frac = X##_f; \ [all …]
|
D | op-4.h | 187 X##_f[0] = _flo.bits.frac0; \ 188 X##_f[1] = _flo.bits.frac1; \ 189 X##_f[2] = _flo.bits.frac2; \ 190 X##_f[3] = _flo.bits.frac3; \ 191 X##_e = _flo.bits.exp; \ 192 X##_s = _flo.bits.sign; \ 200 X##_f[0] = _flo->bits.frac0; \ 201 X##_f[1] = _flo->bits.frac1; \ 202 X##_f[2] = _flo->bits.frac2; \ 203 X##_f[3] = _flo->bits.frac3; \ [all …]
|
D | op-2.h | 189 X##_f0 = _flo.bits.frac0; \ 190 X##_f1 = _flo.bits.frac1; \ 191 X##_e = _flo.bits.exp; \ 192 X##_s = _flo.bits.sign; \ 200 X##_f0 = _flo->bits.frac0; \ 201 X##_f1 = _flo->bits.frac1; \ 202 X##_e = _flo->bits.exp; \ 203 X##_s = _flo->bits.sign; \ 215 _flo.bits.frac0 = X##_f0; \ 216 _flo.bits.frac1 = X##_f1; \ [all …]
|
/linux-4.1.27/arch/unicore32/lib/ |
D | findbit.S | 25 xor.a r3, r3, #0xff @ invert bits 30 3: mov r0, r1 @ no free bits 46 mov.a r3, r3 >> ip @ shift off unused bits 48 or r2, r2, #7 @ if zero, then no bits here 68 3: mov r0, r1 @ no free bits 83 mov.a r3, r3 >> ip @ shift off unused bits 85 or r2, r2, #7 @ if zero, then no bits here
|
/linux-4.1.27/arch/mips/kernel/ |
D | early_printk_8250.c | 49 int status, bits; in prom_putchar() local 55 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar() 62 } while ((status & bits) != bits); in prom_putchar()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | nettel.h | 56 static __inline__ void mcf_setppdata(unsigned int mask, unsigned int bits) in mcf_setppdata() argument 60 ppdata = (ppdata & ~mask) | bits; in mcf_setppdata() 93 static __inline__ void mcf_setppdata(unsigned int mask, unsigned int bits) in mcf_setppdata() argument 95 write((readw(MCFSIM_PBDAT) & ~mask) | bits, MCFSIM_PBDAT); in mcf_setppdata()
|
/linux-4.1.27/net/ipv6/ |
D | ipv6_sockglue.c | 267 np->rxopt.bits.rxinfo = valbool; in do_ipv6_setsockopt() 274 np->rxopt.bits.rxoinfo = valbool; in do_ipv6_setsockopt() 281 np->rxopt.bits.rxhlim = valbool; in do_ipv6_setsockopt() 288 np->rxopt.bits.rxohlim = valbool; in do_ipv6_setsockopt() 295 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt() 302 np->rxopt.bits.osrcrt = valbool; in do_ipv6_setsockopt() 309 np->rxopt.bits.hopopts = valbool; in do_ipv6_setsockopt() 316 np->rxopt.bits.ohopopts = valbool; in do_ipv6_setsockopt() 323 np->rxopt.bits.dstopts = valbool; in do_ipv6_setsockopt() 330 np->rxopt.bits.odstopts = valbool; in do_ipv6_setsockopt() [all …]
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
D | tx4927.h | 216 static inline void txx9_clear64(__u64 __iomem *adr, __u64 bits) in txx9_clear64() argument 222 ____raw_writeq(____raw_readq(adr) & ~bits, adr); in txx9_clear64() 227 static inline void txx9_set64(__u64 __iomem *adr, __u64 bits) in txx9_set64() argument 233 ____raw_writeq(____raw_readq(adr) | bits, adr); in txx9_set64() 240 static inline void tx4927_ccfg_clear(__u64 bits) in tx4927_ccfg_clear() argument 243 & ~(TX4927_CCFG_W1CBITS | bits), in tx4927_ccfg_clear() 246 static inline void tx4927_ccfg_set(__u64 bits) in tx4927_ccfg_set() argument 249 & ~TX4927_CCFG_W1CBITS) | bits, in tx4927_ccfg_set()
|
/linux-4.1.27/Documentation/virtual/kvm/devices/ |
D | xics.txt | 19 64 bits of state which can be read and written using the 24 * Unused, 16 bits 26 * Pending interrupt priority, 8 bits 29 * Pending IPI (inter-processor interrupt) priority, 8 bits 32 * Pending interrupt source number, 24 bits 35 * Current processor priority, 8 bits 39 Each source has 64 bits of state that can be read and written using 45 * Destination (server number), 32 bits 49 * Priority, 8 bits
|
/linux-4.1.27/drivers/xen/ |
D | acpi.c | 42 unsigned int bits = extended ? 8 : 16; in xen_acpi_notify_hypervisor_state() local 55 if (WARN((val_a & (~0 << bits)) || (val_b & (~0 << bits)), in xen_acpi_notify_hypervisor_state() 58 bits, val_a, val_b)) in xen_acpi_notify_hypervisor_state()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | Kconfig | 175 You can use this driver to access the general port bits. It supports 205 This is a bitmask (8 bits) with information of what bits in PA that a 211 hex "PA user changeable bits mask" 216 This is a bitmask (8 bits) with information of what bits in PA 226 This is a bitmask (18 bits) with information of what bits in PB 232 hex "PB user changeable bits mask" 237 This is a bitmask (18 bits) with information of what bits in PB 247 This is a bitmask (18 bits) with information of what bits in PC 253 hex "PC user changeable bits mask" 258 This is a bitmask (18 bits) with information of what bits in PC [all …]
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-generic.c | 135 return 1 << (bgc->bits - 1 - pin); in bgpio_pin2mask_be() 194 unsigned long *mask, unsigned long *bits, in bgpio_multiple_get_masks() argument 203 for (i = 0; i < bgc->bits; i++) { in bgpio_multiple_get_masks() 207 if (test_bit(i, bits)) in bgpio_multiple_get_masks() 217 unsigned long *bits, in bgpio_set_multiple_single_reg() argument 225 bgpio_multiple_get_masks(bgc, mask, bits, &set_mask, &clear_mask); in bgpio_set_multiple_single_reg() 236 unsigned long *bits) in bgpio_set_multiple() argument 240 bgpio_set_multiple_single_reg(bgc, mask, bits, bgc->reg_dat); in bgpio_set_multiple() 244 unsigned long *bits) in bgpio_set_multiple_set() argument 248 bgpio_set_multiple_single_reg(bgc, mask, bits, bgc->reg_set); in bgpio_set_multiple_set() [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | srmcons.c | 41 } bits; member 54 if (result.bits.status < 2) { in srmcons_do_receive_chars() 55 tty_insert_flip_char(port, (char)result.bits.c, 0); in srmcons_do_receive_chars() 58 } while((result.bits.status & 1) && (++loops < 10)); in srmcons_do_receive_chars() 111 c -= result.bits.c; in srmcons_do_write() 112 remaining -= result.bits.c; in srmcons_do_write() 113 cur += result.bits.c; in srmcons_do_write() 124 if (result.bits.c > 0) in srmcons_do_write()
|
/linux-4.1.27/arch/mips/mti-malta/ |
D | malta-init.c | 46 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 60 bits = *s++; in console_config() 70 if (bits != '7' && bits != '8') in console_config() 71 bits = '8'; in console_config() 77 parity, bits); in console_config() 83 parity, bits, flow); in console_config()
|
/linux-4.1.27/arch/alpha/lib/ |
D | ev67-strchr.S | 48 cmpbge zero, t0, t2 # E : bits set iff byte == zero 49 cmpbge zero, t4, t4 # E : bits set iff byte is garbage 54 cmpbge zero, t1, t3 # E : bits set iff byte == c 55 or t2, t3, t0 # E : bits set iff char match or zero match 57 andnot t0, t4, t0 # E : clear garbage bits 71 cmpbge zero, t0, t2 # E : bits set iff byte == 0 73 cmpbge zero, t1, t3 # E : bits set iff byte == c
|
D | strchr.S | 28 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero 32 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage 35 cmpbge zero, t1, t3 # e0 : bits set iff byte == c 36 or t2, t3, t0 # e1 : bits set iff char match or zero match 37 andnot t0, t4, t0 # e0 : clear garbage bits 44 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0 45 cmpbge zero, t1, t3 # .. e1 : bits set iff byte == c
|
/linux-4.1.27/arch/mips/ar7/ |
D | prom.c | 203 char parity = '\0', bits = '\0', flow = '\0'; in console_config() local 220 bits = *s++; in console_config() 231 if (bits != '7' && bits != '8') in console_config() 232 bits = '8'; in console_config() 236 parity, bits, flow); in console_config() 239 bits); in console_config()
|
/linux-4.1.27/drivers/iio/dac/ |
D | ad5064.c | 294 #define AD5064_CHANNEL(chan, addr, bits) { \ argument 304 .realbits = (bits), \ 306 .shift = 20 - bits, \ 311 #define DECLARE_AD5064_CHANNELS(name, bits) \ argument 313 AD5064_CHANNEL(0, 0, bits), \ 314 AD5064_CHANNEL(1, 1, bits), \ 315 AD5064_CHANNEL(2, 2, bits), \ 316 AD5064_CHANNEL(3, 3, bits), \ 317 AD5064_CHANNEL(4, 4, bits), \ 318 AD5064_CHANNEL(5, 5, bits), \ [all …]
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_cmd_parser.c | 129 .bits = {{ 136 .bits = {{ 159 .bits = {{ 166 .bits = {{ 172 .bits = {{ 178 .bits = {{ 186 .bits = {{ 195 .bits = {{ 236 .bits = {{ 243 .bits = {{ [all …]
|
/linux-4.1.27/tools/perf/util/include/linux/ |
D | bitmap.h | 7 #define DECLARE_BITMAP(name,bits) \ argument 8 unsigned long name[BITS_TO_LONGS(bits)] 10 int __bitmap_weight(const unsigned long *bitmap, int bits); 12 const unsigned long *bitmap2, int bits);
|
/linux-4.1.27/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 452 int dir, channels, bits; in atmel_ssc_hw_params() local 476 bits = 8; in atmel_ssc_hw_params() 480 bits = 16; in atmel_ssc_hw_params() 484 bits = 24; in atmel_ssc_hw_params() 488 bits = 32; in atmel_ssc_hw_params() 511 if (bits > 16 && !ssc->pdata->has_fslen_ext) { in atmel_ssc_hw_params() 514 bits); in atmel_ssc_hw_params() 518 fslen_ext = (bits - 1) / 16; in atmel_ssc_hw_params() 519 fslen = (bits - 1) % 16; in atmel_ssc_hw_params() 535 | SSC_BF(RFMR_DATLEN, (bits - 1)); in atmel_ssc_hw_params() [all …]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | irq_64.h | 66 static inline void set_softint(unsigned long bits) in set_softint() argument 70 : "r" (bits)); in set_softint() 73 static inline void clear_softint(unsigned long bits) in clear_softint() argument 77 : "r" (bits)); in clear_softint()
|
/linux-4.1.27/arch/cris/arch-v32/ |
D | Kconfig | 157 for 32 MB organized as two 16 bits chips (e.g. Axis 194 Configures the direction of general port A bits. 1 is out, 0 is in. 197 connected to port PA, then they are usually connected to bits 2-4 199 LED's at the general ports, these bits are used for all kinds of 208 Configures the initial data for the general port A bits. Most 216 Configures the direction of general port B bits. 1 is out, 0 is in. 219 connected to port PA, then they are usually connected to bits 2-4 221 LED's at the general ports, these bits are used for all kinds of 230 Configures the initial data for the general port B bits. Most 238 Configures the direction of general port C bits. 1 is out, 0 is in. [all …]
|
/linux-4.1.27/sound/soc/sh/ |
D | ssi.c | 137 unsigned int bits, channels, swl, recv, i; in ssi_hw_params() local 140 bits = params->msbits; in ssi_hw_params() 144 pr_debug("bits: %u channels: %u\n", bits, channels); in ssi_hw_params() 162 switch (bits) { in ssi_hw_params() 185 if ((bits > 16) && (bits <= 24)) { in ssi_hw_params() 186 bits = 24; /* these are padded by the SSI */ in ssi_hw_params() 190 swl = (bits * channels) / 2; in ssi_hw_params()
|
/linux-4.1.27/sound/core/ |
D | pcm_dmaengine.c | 66 int bits; in snd_hwparams_to_dma_slave_config() local 68 bits = params_physical_width(params); in snd_hwparams_to_dma_slave_config() 69 if (bits < 8 || bits > 64) in snd_hwparams_to_dma_slave_config() 71 else if (bits == 8) in snd_hwparams_to_dma_slave_config() 73 else if (bits == 16) in snd_hwparams_to_dma_slave_config() 75 else if (bits == 24) in snd_hwparams_to_dma_slave_config() 77 else if (bits <= 32) in snd_hwparams_to_dma_slave_config()
|
/linux-4.1.27/drivers/clocksource/ |
D | mmio.c | 53 unsigned long hz, int rating, unsigned bits, in clocksource_mmio_init() argument 58 if (bits > 32 || bits < 16) in clocksource_mmio_init() 69 cs->clksrc.mask = CLOCKSOURCE_MASK(bits); in clocksource_mmio_init()
|
D | samsung_pwm_timer.c | 109 u8 bits; in samsung_timer_set_divisor() local 111 bits = (fls(divisor) - 1) - pwm.variant.div_base; in samsung_timer_set_divisor() 117 reg |= bits << shift; in samsung_timer_set_divisor() 361 pwm.variant.bits, clock_rate); in samsung_clocksource_init() 363 samsung_clocksource.mask = CLOCKSOURCE_MASK(pwm.variant.bits); in samsung_clocksource_init() 373 pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; in samsung_timer_resources() 374 if (pwm.variant.bits == 16) { in samsung_timer_resources() 458 .bits = 16, 471 .bits = 32, 484 .bits = 32, [all …]
|
/linux-4.1.27/include/linux/netfilter/ipset/ |
D | ip_set_bitmap.h | 17 range_to_mask(u32 from, u32 to, u8 *bits) in range_to_mask() argument 21 *bits = 32; in range_to_mask() 22 while (--(*bits) > 0 && mask && (to & mask) != from) in range_to_mask()
|
/linux-4.1.27/arch/tile/lib/ |
D | strlen_32.c | 30 uint32_t bits; in strlen() local 31 while ((bits = __insn_seqb(v, 0)) == 0) in strlen() 34 return ((const char *)p) + (__insn_ctz(bits) >> 3) - s; in strlen()
|
D | strlen_64.c | 29 uint64_t bits; in strlen() local 30 while ((bits = __insn_v1cmpeqi(v, 0)) == 0) in strlen() 33 return ((const char *)p) + (CFZ(bits) >> 3) - s; in strlen()
|
D | strnlen_32.c | 26 uint32_t v, bits; in strnlen() local 35 while ((bits = __insn_seqb(v, 0)) == 0) { in strnlen() 44 len = ((const char *) p) + (__insn_ctz(bits) >> 3) - s; in strnlen()
|
D | strnlen_64.c | 27 uint64_t v, bits; in strnlen() local 36 while ((bits = __insn_v1cmpeqi(v, 0)) == 0) { in strnlen() 45 len = ((const char *) p) + (CFZ(bits) >> 3) - s; in strnlen()
|
D | memchr_64.c | 26 uint64_t goal, before_mask, v, bits; in memchr() local 53 while ((bits = __insn_v1cmpeq(v, goal)) == 0) { in memchr() 66 ret = ((char *)p) + (CFZ(bits) >> 3); in memchr()
|
D | memchr_32.c | 25 uint32_t goal, before_mask, v, bits; in memchr() local 55 while ((bits = __insn_seqb(v, goal)) == 0) { in memchr() 68 ret = ((char *)p) + (__insn_ctz(bits) >> 3); in memchr()
|
/linux-4.1.27/drivers/input/joystick/ |
D | sidewinder.c | 121 int bits; member 215 #define GB(pos,num) sw_get_bits(buf, pos, num, sw->bits) 217 static __u64 sw_get_bits(unsigned char *buf, int pos, int num, char bits) in sw_get_bits() argument 220 int tri = pos % bits; /* Start position */ in sw_get_bits() 221 int i = pos / bits; in sw_get_bits() 226 if (tri == bits) { in sw_get_bits() 528 static void sw_print_packet(char *name, int length, unsigned char *buf, char bits) in sw_print_packet() argument 534 printk("%x", (int)sw_get_bits(buf, i << 2, 4, bits)); in sw_print_packet() 669 sw->bits = m; in sw_connect() 700 sw->bits = 3; in sw_connect() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | M0209.c | 82 info->bits = nv_ro08(bios, data + 0x00) & 0x3f; in nvbios_M0209Ep() 121 u32 bits = (i % M0209E.modulo) * M0209E.bits; in nvbios_M0209Sp() local 122 u32 mask = (1ULL << M0209E.bits) - 1; in nvbios_M0209Sp() 123 u16 off = bits / 8; in nvbios_M0209Sp() 124 u8 mod = bits % 8; in nvbios_M0209Sp()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.h | 118 #define GET_FLAGS(flags, bits) ((flags) & (bits)) argument 119 #define SET_FLAGS(flags, bits) ((flags) |= (bits)) argument 120 #define RESET_FLAGS(flags, bits) ((flags) &= ~(bits)) argument
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-single.txt | 10 - pinctrl-single,register-width : pinmux register access width in bits 12 - pinctrl-single,function-mask : mask of allowed pinmux function bits 34 /* input, enabled pullup bits, disabled pullup bits, mask */ 40 /* input, enabled pulldown bits, disabled pulldown bits, mask */ 43 * Two bits to control input bias pullup and pulldown: User should use 46 * Three bits to control input bias enable, pullup and pulldown. User should 48 enable bit should be included in pullup or pulldown bits. 63 /* input, enable bits, disable bits, mask */ 94 register offset and value pairs using pinctrl-single,pins. Only the bits 106 pinctrl-single,bits need to be used which takes three parameters: [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | sunlance.c | 512 u8 bits; in lance_rx_dvma() local 517 !((bits = rd->rmd1_bits) & LE_R1_OWN); in lance_rx_dvma() 521 if ((bits & LE_R1_POK) != LE_R1_POK) { in lance_rx_dvma() 524 } else if (bits & LE_R1_ERR) { in lance_rx_dvma() 528 if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++; in lance_rx_dvma() 529 if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++; in lance_rx_dvma() 530 if (bits & LE_R1_OFL) dev->stats.rx_over_errors++; in lance_rx_dvma() 531 if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++; in lance_rx_dvma() 532 if (bits & LE_R1_EOP) dev->stats.rx_errors++; in lance_rx_dvma() 577 u8 bits = td->tmd1_bits; in lance_tx_dvma() local [all …]
|
/linux-4.1.27/arch/arm/mach-ep93xx/ |
D | ts72xx.c | 81 unsigned char bits; in ts72xx_nand_hwcontrol() local 85 bits = __raw_readb(addr) & ~0x07; in ts72xx_nand_hwcontrol() 86 bits |= (ctrl & NAND_NCE) << 2; /* bit 0 -> bit 2 */ in ts72xx_nand_hwcontrol() 87 bits |= (ctrl & NAND_CLE); /* bit 1 -> bit 1 */ in ts72xx_nand_hwcontrol() 88 bits |= (ctrl & NAND_ALE) >> 2; /* bit 2 -> bit 0 */ in ts72xx_nand_hwcontrol() 90 __raw_writeb(bits, addr); in ts72xx_nand_hwcontrol()
|
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ |
D | lp8727_charger.txt | 34 eoc-level = /bits/ 8 <0>; 35 charging-current = /bits/ 8 <4>; 41 eoc-level = /bits/ 8 <1>; 42 charging-current = /bits/ 8 <2>;
|
/linux-4.1.27/Documentation/ |
D | crc32.txt | 19 Since it's 33 bits long, bit 32 is always going to be set, so usually the 23 Note that a CRC is computed over a string of *bits*, so you have 24 to decide on the endianness of the bits within each byte. To get 52 But also notice how the next_input_bit() bits we're shifting into 54 32 bits later. Thus, the first 32 cycles of this are pretty boring. 61 can be precomputed, and merging in the final 32 zero bits to make room 82 As long as next_input_bit is returning the bits in a sensible order, we don't 83 *have* to wait until the last possible moment to merge in additional bits. 84 We can do it 8 bits at a time rather than 1 bit at a time: 102 If the input is a multiple of 32 bits, you can even XOR in a 32-bit [all …]
|
/linux-4.1.27/arch/arm/crypto/ |
D | sha512_neon_glue.c | 161 __be64 bits[2]; in sha512_neon_final() local 165 bits[1] = cpu_to_be64(sctx->count[0] << 3); in sha512_neon_final() 166 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_neon_final() 174 crypto_sha512_update(desc, (const u8 *)&bits, sizeof(bits)); in sha512_neon_final() 186 __sha512_neon_update(desc, (const u8 *)&bits, in sha512_neon_final() 187 sizeof(bits), 112); in sha512_neon_final()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | pic.c | 208 int irq, bits; in gatwick_action() local 214 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in gatwick_action() 215 bits |= in_le32(&pmac_irq_hw[i]->level); in gatwick_action() 216 bits &= ppc_cached_irq_mask[i]; in gatwick_action() 217 if (bits == 0) in gatwick_action() 219 irq += __ilog2(bits); in gatwick_action() 232 unsigned long bits = 0; in pmac_pic_get_irq() local 244 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in pmac_pic_get_irq() 245 bits |= in_le32(&pmac_irq_hw[i]->level); in pmac_pic_get_irq() 246 bits &= ppc_cached_irq_mask[i]; in pmac_pic_get_irq() [all …]
|
/linux-4.1.27/arch/tile/include/hv/ |
D | netio_intf.h | 296 } bits; member 433 } bits; member 493 } bits; member 578 #define __NETIO_PKT_IPP_HANDLE(pkt) ((pkt)->__packet.bits.__ipp_handle) 579 #define __NETIO_PKT_QUEUE(pkt) ((pkt)->__packet.bits.__queue) 581 #define __NETIO_PKT_IPP_HANDLE_M(mda, pkt) ((pkt)->__packet.bits.__ipp_handle) 582 #define __NETIO_PKT_MINIMAL(pkt) ((pkt)->__packet.bits.__minimal) 583 #define __NETIO_PKT_QUEUE_M(mda, pkt) ((pkt)->__packet.bits.__queue) 619 netio_assert(!pkt->__packet.bits.__minimal); in NETIO_PKT_METADATA() 640 netio_assert(pkt->__packet.bits.__minimal); in NETIO_PKT_MINIMAL_METADATA() [all …]
|
/linux-4.1.27/Documentation/spi/ |
D | spidev_test.c | 35 static uint8_t bits = 8; variable 113 .bits_per_word = bits, in transfer() 201 bits = atoi(optarg); in parse_opts() 280 ret = ioctl(fd, SPI_IOC_WR_BITS_PER_WORD, &bits); in main() 284 ret = ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits); in main() 300 printf("bits per word: %d\n", bits); in main()
|
/linux-4.1.27/Documentation/vm/ |
D | soft-dirty.txt | 6 1. Clear soft-dirty bits from the task's PTEs. 13 3. Read soft-dirty bits from the PTEs. 26 soft-dirty bits clear, the #PF-s that occur after that are processed fast. 29 bits on the PTE. 32 there is still a scenario when we can lose soft dirty bits -- a task 35 including soft dirty bits. To notify user space application about such
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ramht.c | 33 hash ^= (handle & ((1 << ramht->bits) - 1)); in nvkm_ramht_hash() 34 handle >>= ramht->bits; in nvkm_ramht_hash() 37 hash ^= chid << (ramht->bits - 4); in nvkm_ramht_hash() 104 ramht->bits = order_base_2(nv_gpuobj(ramht)->size >> 3); in nvkm_ramht_new()
|
/linux-4.1.27/arch/m68k/fpsp040/ |
D | binstr.S | 17 | shift and a mul by 8 shift. The bits shifted out of the 23 | to force the first byte formed to have a 0 in the upper 4 bits. 51 | d2: upper 32-bits of fraction for mul by 8 52 | d3: lower 32-bits of fraction for mul by 8 53 | d4: upper 32-bits of fraction for mul by 2 54 | d5: lower 32-bits of fraction for mul by 2 104 addl %d5,%d3 |add lower 32 bits 106 addxl %d4,%d2 |add with extend upper 32 bits 117 aslw #4,%d7 |first digit in upper 4 bits d7b 131 lslw #4,%d7 |move it to upper 4 bits
|
D | round.S | 33 | d0{31:29} contains the g,r,s bits (extended) 36 | a0 is preserved and the g-r-s bits in d0 are cleared. 41 | inexact (i.e. if any of the g-r-s bits were set). 51 | ;the appropriate g-r-s bits. 53 bne rnd_cont |lower bits to zero for size 124 | ext_grs --- extract guard, round and sticky bits 129 | The ext_grs extract the guard/round/sticky bits according to the 148 bfextu LOCAL_HI(%a0){#24:#2},%d3 |sgl prec. g-r are 2 bits right 150 lsll %d2,%d3 |shift g-r bits to MSB of d3 153 bnes st_stky |bits to the right of g-r [all …]
|
D | sgetem.S | 96 bsr shft |shift mantissa bits till msbit is set 104 | Shifts the mantissa bits until msbit is set. 109 | shifted bits in d0 and d1 111 tstl %d0 |if any bits set in ms mant 113 | ;else no bits set in ms mant 114 tstl %d1 |test if any bits set in ls mant 133 lsrl %d5,%d6 |shift off all bits but those that will 135 orl %d6,%d0 |shift the ls mant bits into the ms mant
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | st,sta32x.txt | 28 This property has to be specified as '/bits/ 8' value. 37 This properties have to be specified as '/bits/ 8' values. 56 If present, then MPCC bits are used for MPC coefficients, 81 st,output-conf = /bits/ 8 <0x3>; // set output to 2-channel 84 st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1 85 st,ch2-output-mapping = /bits/ 8 <0>; // set channel 2 output ch 1 86 st,ch3-output-mapping = /bits/ 8 <0>; // set channel 3 output ch 1
|
/linux-4.1.27/drivers/input/keyboard/ |
D | nspire-keypad.c | 62 u16 bits, changed; in nspire_keypad_irq() local 71 bits = state[row]; in nspire_keypad_irq() 73 bits = ~bits; in nspire_keypad_irq() 75 changed = bits ^ keypad->state[row]; in nspire_keypad_irq() 79 keypad->state[row] = bits; in nspire_keypad_irq() 88 bits & (1U << col)); in nspire_keypad_irq()
|
D | gpio_keys.c | 173 unsigned long *bits; in gpio_keys_attr_show_helper() local 177 bits = kcalloc(BITS_TO_LONGS(n_events), sizeof(*bits), GFP_KERNEL); in gpio_keys_attr_show_helper() 178 if (!bits) in gpio_keys_attr_show_helper() 190 __set_bit(bdata->button->code, bits); in gpio_keys_attr_show_helper() 193 ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits); in gpio_keys_attr_show_helper() 197 kfree(bits); in gpio_keys_attr_show_helper() 216 unsigned long *bits; in gpio_keys_attr_store_helper() local 220 bits = kcalloc(BITS_TO_LONGS(n_events), sizeof(*bits), GFP_KERNEL); in gpio_keys_attr_store_helper() 221 if (!bits) in gpio_keys_attr_store_helper() 224 error = bitmap_parselist(buf, bits, n_events); in gpio_keys_attr_store_helper() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_labels.c | 30 return bit < label_bits(labels) && test_bit(bit, labels->bits); in nf_connlabel_match() 41 if (test_bit(bit, labels->bits)) in nf_connlabel_set() 44 if (!test_and_set_bit(bit, labels->bits)) in nf_connlabel_set() 78 dst = (u32 *) labels->bits; in nf_connlabels_replace()
|
/linux-4.1.27/arch/s390/crypto/ |
D | sha_common.c | 67 u64 bits; in s390_sha_final() local 89 bits = ctx->count * 8; in s390_sha_final() 90 memcpy(ctx->buf + end - 8, &bits, sizeof(bits)); in s390_sha_final()
|
/linux-4.1.27/arch/x86/include/asm/uv/ |
D | uv_bau.h | 61 test_bit((cpu), (bau_local_cpumask).bits) 201 unsigned long bits[BITS_TO_LONGS(UV_DISTRIBUTION_SIZE)]; member 210 unsigned long bits; member 710 return constant_test_bit(uvhub, &dstp->bits[0]); in bau_uvhub_isset() 714 __set_bit(pnode, &dstp->bits[0]); in bau_uvhub_set() 719 bitmap_zero(&dstp->bits[0], nbits); in bau_uvhubs_clear() 723 return bitmap_weight((unsigned long *)&dstp->bits[0], in bau_uvhub_weight() 729 bitmap_zero(&dstp->bits, nbits); in bau_cpubits_clear()
|
/linux-4.1.27/drivers/tty/serial/ |
D | 21285.c | 386 int *parity, int *bits) in serial21285_get_options() argument 394 *bits = 5; in serial21285_get_options() 397 *bits = 6; in serial21285_get_options() 400 *bits = 7; in serial21285_get_options() 404 *bits = 8; in serial21285_get_options() 424 int bits = 8; in serial21285_console_setup() local 437 uart_parse_options(options, &baud, &parity, &bits, &flow); in serial21285_console_setup() 439 serial21285_get_options(port, &baud, &parity, &bits); in serial21285_console_setup() 441 return uart_set_options(port, co, baud, parity, bits, flow); in serial21285_console_setup()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 37 u32 bits = vma->node->type - 12; in nvkm_vm_map_at() local 39 u32 pte = (offset & ((1 << mmu->pgt_bits) - 1)) >> bits; in nvkm_vm_map_at() 40 u32 max = 1 << (mmu->pgt_bits - bits); in nvkm_vm_map_at() 46 u32 num = r->length >> bits; in nvkm_vm_map_at() 61 phys += len << (bits + 12); in nvkm_vm_map_at() 81 u32 bits = vma->node->type - 12; in nvkm_vm_map_sg_table() local 84 u32 pte = (offset & ((1 << mmu->pgt_bits) - 1)) >> bits; in nvkm_vm_map_sg_table() 85 u32 max = 1 << (mmu->pgt_bits - bits); in nvkm_vm_map_sg_table() 140 u32 bits = vma->node->type - 12; in nvkm_vm_map_sg() local 143 u32 pte = (offset & ((1 << mmu->pgt_bits) - 1)) >> bits; in nvkm_vm_map_sg() [all …]
|
/linux-4.1.27/drivers/iio/imu/ |
D | adis16400_core.c | 462 #define ADIS16400_VOLTAGE_CHAN(addr, bits, name, si, chn) { \ argument 474 .realbits = (bits), \ 481 #define ADIS16400_SUPPLY_CHAN(addr, bits) \ argument 482 ADIS16400_VOLTAGE_CHAN(addr, bits, "supply", ADIS16400_SCAN_SUPPLY, 0) 484 #define ADIS16400_AUX_ADC_CHAN(addr, bits) \ argument 485 ADIS16400_VOLTAGE_CHAN(addr, bits, NULL, ADIS16400_SCAN_ADC, 1) 487 #define ADIS16400_GYRO_CHAN(mod, addr, bits) { \ argument 500 .realbits = (bits), \ 507 #define ADIS16400_ACCEL_CHAN(mod, addr, bits) { \ argument 520 .realbits = (bits), \ [all …]
|
/linux-4.1.27/drivers/phy/ |
D | phy-sun9i-usb.c | 55 u32 bits, reg_value; in sun9i_usb_phy_passby() local 57 bits = SUNXI_AHB_INCR16_BURST_EN | SUNXI_AHB_INCR8_BURST_EN | in sun9i_usb_phy_passby() 62 bits |= SUNXI_HSIC | SUNXI_EHCI_HS_FORCE | in sun9i_usb_phy_passby() 68 reg_value |= bits; in sun9i_usb_phy_passby() 70 reg_value &= ~bits; in sun9i_usb_phy_passby()
|
/linux-4.1.27/arch/s390/kernel/ |
D | module.c | 171 int sign, int bits, int shift) in apply_rela_bits() argument 180 min = -(1L << (bits - 1)); in apply_rela_bits() 181 max = (1L << (bits - 1)) - 1; in apply_rela_bits() 186 umax = ((1UL << (bits - 1)) << 1) - 1; in apply_rela_bits() 191 if (bits == 8) in apply_rela_bits() 193 else if (bits == 12) in apply_rela_bits() 196 else if (bits == 16) in apply_rela_bits() 198 else if (bits == 20) in apply_rela_bits() 202 else if (bits == 32) in apply_rela_bits() 204 else if (bits == 64) in apply_rela_bits()
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | cpus.txt | 23 the reg property contained in bits 7 down to 0 58 MPIDR_EL1[63:32] bits are not used for CPUs 83 required and matches the CPUID[11:0] register bits. 86 bits [11:0] in CPU ID register. 88 All other bits in the reg cell must be set to 0. 92 bits. 95 bits [23:0] in MPIDR. 97 All other bits in the reg cell must be set to 0. 100 and matches the MPIDR_EL1 register affinity bits. 104 The first reg cell bits [7:0] must be set to [all …]
|
/linux-4.1.27/Documentation/ioctl/ |
D | ioctl-decoding.txt | 5 uses 3 bits to encode read/write and 13 bits for size. 7 bits meaning
|
/linux-4.1.27/arch/x86/mm/ |
D | amdtopology.c | 79 unsigned int bits, cores, apicid_base; in amd_numa_init() local 180 bits = boot_cpu_data.x86_coreid_bits; in amd_numa_init() 181 cores = 1 << bits; in amd_numa_init() 193 set_apicid_to_node((i << bits) + j, i); in amd_numa_init()
|
/linux-4.1.27/arch/arm/probes/ |
D | decode.h | 302 u32 bits; member 326 {.bits = DECODE_TYPE_END} 336 {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \ 337 {.bits = (_mask)}, \ 338 {.bits = (_value)}
|
/linux-4.1.27/drivers/staging/vt6656/ |
D | mac.c | 145 void vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_off() argument 150 data[1] = bits; in vnt_mac_reg_bits_off() 156 void vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) in vnt_mac_reg_bits_on() argument 160 data[0] = bits; in vnt_mac_reg_bits_on() 161 data[1] = bits; in vnt_mac_reg_bits_on()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-io.c | 42 u32 bits, u32 mask, int timeout) in iwl_poll_bit() argument 47 if ((iwl_read32(trans, addr) & mask) == (bits & mask)) in iwl_poll_bit() 135 u32 bits, u32 mask, int timeout) in iwl_poll_prph_bit() argument 140 if ((iwl_read_prph(trans, addr) & mask) == (bits & mask)) in iwl_poll_prph_bit() 162 u32 bits, u32 mask) in iwl_set_bits_mask_prph() argument 168 (__iwl_read_prph(trans, ofs) & mask) | bits); in iwl_set_bits_mask_prph()
|
/linux-4.1.27/drivers/net/can/c_can/ |
D | c_can_platform.c | 103 mask = 1 << raminit->bits.start | 1 << raminit->bits.done; in c_can_hw_raminit_syscon() 119 c_can_hw_raminit_wait_syscon(priv, 1 << raminit->bits.start, ctrl); in c_can_hw_raminit_syscon() 123 ctrl |= 1 << raminit->bits.start; in c_can_hw_raminit_syscon() 125 ctrl |= 1 << raminit->bits.done; in c_can_hw_raminit_syscon() 128 ctrl &= ~(1 << raminit->bits.done); in c_can_hw_raminit_syscon() 131 ctrl &= ~(1 << raminit->bits.start); in c_can_hw_raminit_syscon() 136 ctrl |= 1 << raminit->bits.done; in c_can_hw_raminit_syscon() 366 raminit->bits = drvdata->raminit_bits[id]; in c_can_plat_probe()
|