/include/sound/ |
D | cs8403.h | 24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE() argument 26 if (bits & 0x01) { /* consumer */ in SND_CS8403_DECODE() 27 if (!(bits & 0x02)) in SND_CS8403_DECODE() 29 if (!(bits & 0x08)) in SND_CS8403_DECODE() 31 switch (bits & 0x10) { in SND_CS8403_DECODE() 35 if (!(bits & 0x80)) in SND_CS8403_DECODE() 37 switch (bits & 0x60) { in SND_CS8403_DECODE() 43 switch (bits & 0x06) { in SND_CS8403_DECODE() 50 switch (bits & 0x18) { in SND_CS8403_DECODE() 56 switch (bits & 0x60) { in SND_CS8403_DECODE() [all …]
|
D | pcm_params.h | 40 if (mask->bits[i]) in snd_mask_empty() 49 if (mask->bits[i]) in snd_mask_min() 50 return __ffs(mask->bits[i]) + (i << 5); in snd_mask_min() 59 if (mask->bits[i]) in snd_mask_max() 60 return __fls(mask->bits[i]) + (i << 5); in snd_mask_max() 67 mask->bits[MASK_OFS(val)] |= MASK_BIT(val); in snd_mask_set() 79 mask->bits[MASK_OFS(val)] &= ~MASK_BIT(val); in snd_mask_reset() 87 mask->bits[MASK_OFS(i)] |= MASK_BIT(i); in snd_mask_set_range() 95 mask->bits[MASK_OFS(i)] &= ~MASK_BIT(i); in snd_mask_reset_range() 101 v = mask->bits[MASK_OFS(val)] & MASK_BIT(val); in snd_mask_leave() [all …]
|
/include/linux/ |
D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) argument 18 #define hash_long(val, bits) hash_64(val, bits) argument 68 static inline u32 hash_32_generic(u32 val, unsigned int bits) in hash_32_generic() argument 71 return __hash_32(val) >> (32 - bits); in hash_32_generic() 77 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic() argument 81 return val * GOLDEN_RATIO_64 >> (64 - bits); in hash_64_generic() 84 return hash_32((u32)val ^ __hash_32(val >> 32), bits); in hash_64_generic() 88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() argument 90 return hash_long((unsigned long)ptr, bits); in hash_ptr()
|
D | nodemask.h | 98 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; 115 return m ? m->bits : NULL; in __nodemask_pr_bits() 130 set_bit(node, dstp->bits); in __node_set() 136 clear_bit(node, dstp->bits); in __node_clear() 142 bitmap_fill(dstp->bits, nbits); in __nodes_setall() 148 bitmap_zero(dstp->bits, nbits); in __nodes_clear() 152 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) 158 return test_and_set_bit(node, addr->bits); in __node_test_and_set() 166 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and() 174 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or() [all …]
|
D | hashtable.h | 16 #define DEFINE_HASHTABLE(name, bits) \ argument 17 struct hlist_head name[1 << (bits)] = \ 18 { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } 20 #define DEFINE_READ_MOSTLY_HASHTABLE(name, bits) \ argument 21 struct hlist_head name[1 << (bits)] __read_mostly = \ 22 { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } 24 #define DECLARE_HASHTABLE(name, bits) \ argument 25 struct hlist_head name[1 << (bits)] 31 #define hash_min(val, bits) \ argument 32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
D | timecounter.h | 14 #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) argument
|
D | sched_clock.h | 39 extern void sched_clock_register(u64 (*read)(void), int bits, 44 static inline void sched_clock_register(u64 (*read)(void), int bits, in sched_clock_register() argument
|
D | crc4.h | 7 extern uint8_t crc4(uint8_t c, uint64_t x, int bits);
|
D | hdlcdrv.h | 56 unsigned int bits) in hdlcdrv_add_bitbuffer_word() argument 58 buf->buffer[buf->wr] = bits & 0xff; in hdlcdrv_add_bitbuffer_word() 60 buf->buffer[buf->wr] = (bits >> 8) & 0xff; in hdlcdrv_add_bitbuffer_word() 221 static inline void hdlcdrv_putbits(struct hdlcdrv_state *s, unsigned int bits) in hdlcdrv_putbits() argument 223 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, bits); in hdlcdrv_putbits()
|
D | dim.h | 30 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \ argument 31 & (BIT_ULL(bits) - 1))
|
D | bitops.h | 64 #define for_each_set_clump8(start, clump, bits, size) \ argument 65 for ((start) = find_first_clump8(&(clump), (bits), (size)); \ 67 (start) = find_next_clump8(&(clump), (bits), (size), (start) + 8)) 309 #define set_mask_bits(ptr, mask, bits) \ argument 311 const typeof(*(ptr)) mask__ = (mask), bits__ = (bits); \
|
D | yam.h | 66 unsigned char bits[YAM_FPGA_SIZE]; member
|
D | nsc_gpio.h | 25 u32 (*gpio_config) (unsigned iminor, u32 mask, u32 bits);
|
/include/asm-generic/ |
D | word-at-a-time.h | 93 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 96 *bits = mask; in has_zero() 100 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 102 return bits; in prep_zero_mask() 105 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 107 bits = (bits - 1) & ~bits; in create_zero_mask() 108 return bits >> 7; in create_zero_mask()
|
/include/trace/events/ |
D | fsi_master_gpio.h | 12 TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg), 13 TP_ARGS(master, bits, msg), 16 __field(int, bits) 21 __entry->bits = bits; 22 __entry->msg = msg & ((1ull<<bits) - 1); 26 (__entry->bits + 3) / 4, 28 __entry->bits 33 TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg), 34 TP_ARGS(master, bits, msg), 37 __field(int, bits) [all …]
|
D | fsi_master_ast_cf.h | 32 __field(u8, bits) 38 __entry->bits = cmd->bits; 43 __entry->bits, __entry->rbits
|
/include/linux/iio/imu/ |
D | adis.h | 461 #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ argument 473 .realbits = (bits), \ 479 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument 480 ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) 482 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument 483 ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) 485 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument 497 .realbits = (bits), \ 503 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument 515 .realbits = (bits), \ [all …]
|
/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 | 184 X##_f0 = _flo.bits.frac0; \ 185 X##_f1 = _flo.bits.frac1; \ 186 X##_e = _flo.bits.exp; \ 187 X##_s = _flo.bits.sign; \ 195 X##_f0 = _flo->bits.frac0; \ 196 X##_f1 = _flo->bits.frac1; \ 197 X##_e = _flo->bits.exp; \ 198 X##_s = _flo->bits.sign; \ 210 _flo.bits.frac0 = X##_f0; \ 211 _flo.bits.frac1 = X##_f1; \ [all …]
|
/include/linux/platform_data/ |
D | keypad-omap.h | 42 #error Group bits in conflict with keynum bits
|
/include/linux/sunrpc/ |
D | svcauth.h | 176 static inline unsigned long hash_str(char const *name, int bits) in hash_str() argument 178 return hashlen_hash(hashlen_string(NULL, name)) >> (32 - bits); in hash_str() 181 static inline unsigned long hash_mem(char const *buf, int length, int bits) in hash_mem() argument 183 return full_name_hash(NULL, buf, length) >> (32 - bits); in hash_mem()
|
/include/clocksource/ |
D | samsung_pwm.h | 22 u8 bits; member
|
/include/linux/mfd/abx500/ |
D | ab8500-sysctrl.h | 30 static inline int ab8500_sysctrl_set(u16 reg, u8 bits) in ab8500_sysctrl_set() argument 32 return ab8500_sysctrl_write(reg, bits, bits); in ab8500_sysctrl_set() 35 static inline int ab8500_sysctrl_clear(u16 reg, u8 bits) in ab8500_sysctrl_clear() argument 37 return ab8500_sysctrl_write(reg, bits, 0); in ab8500_sysctrl_clear()
|
/include/crypto/ |
D | sha512_base.h | 101 __be64 *bits = (__be64 *)(sctx->buf + bit_offset); in sha512_base_do_finalize() local 113 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_base_do_finalize() 114 bits[1] = cpu_to_be64(sctx->count[0] << 3); in sha512_base_do_finalize()
|