/include/sound/ |
A D | cs8403.h | 74 bits &= ~0x02; in SND_CS8403_ENCODE() 76 bits |= 0x02; in SND_CS8403_ENCODE() 78 bits &= ~0x08; in SND_CS8403_ENCODE() 80 bits |= 0x08; in SND_CS8403_ENCODE() 87 bits &= ~0x80; in SND_CS8403_ENCODE() 89 bits |= 0x80; in SND_CS8403_ENCODE() 91 bits |= 0x60; in SND_CS8403_ENCODE() 112 bits &= ~0x02; in SND_CS8403_ENCODE() 114 bits |= 0x02; in SND_CS8403_ENCODE() 136 return bits; in SND_CS8403_ENCODE() [all …]
|
A 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() 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() 103 mask->bits[MASK_OFS(val)] = v; in snd_mask_leave() 111 mask->bits[i] &= v->bits[i]; in snd_mask_intersect() 142 if (! mask->bits[i]) in snd_mask_single() [all …]
|
/include/linux/ |
A 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 65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() argument 68 return __hash_32(val) >> (32 - bits); in hash_32() 74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic() argument 78 return val * GOLDEN_RATIO_64 >> (64 - bits); in hash_64_generic() 81 return hash_32((u32)val ^ __hash_32(val >> 32), bits); in hash_64_generic() 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() argument 87 return hash_long((unsigned long)ptr, bits); in hash_ptr()
|
A D | nodemask.h | 163 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and() 171 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or() 179 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor() 187 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot() 194 bitmap_copy(dstp->bits, srcp->bits, nbits); in __nodes_copy() 202 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement() 210 return bitmap_equal(src1p->bits, src2p->bits, nbits); in __nodes_equal() 226 return bitmap_subset(src1p->bits, src2p->bits, nbits); in __nodes_subset() 353 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap() 361 bitmap_onto(dstp->bits, origp->bits, relmapp->bits, nbits); in __nodes_onto() [all …]
|
A 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))
|
A D | cpumask_types.h | 9 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; 18 #define cpumask_bits(maskp) ((maskp)->bits)
|
A D | unwind_deferred.h | 47 unsigned long bits; in unwind_reset_info() local 51 bits = info->unwind_mask; in unwind_reset_info() 54 if (bits & UNWIND_PENDING) in unwind_reset_info() 56 } while (!try_cmpxchg(&info->unwind_mask, &bits, 0UL)); in unwind_reset_info()
|
A D | timecounter.h | 14 #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) argument
|
A D | sched_clock.h | 41 extern void sched_clock_register(u64 (*read)(void), int bits, 46 static inline void sched_clock_register(u64 (*read)(void), int bits, in sched_clock_register() argument
|
A 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()
|
A D | crc4.h | 7 extern uint8_t crc4(uint8_t c, uint64_t x, int bits);
|
A D | nodemask_types.h | 17 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t;
|
A D | regmap.h | 1385 unsigned int reg, unsigned int bits) in regmap_set_bits() argument 1387 return regmap_update_bits_base(map, reg, bits, bits, in regmap_set_bits() 1398 unsigned int bits, bool value) in regmap_assign_bits() argument 1401 return regmap_set_bits(map, reg, bits); in regmap_assign_bits() 1490 unsigned int bits) in regmap_field_set_bits() argument 1492 return regmap_field_update_bits_base(field, bits, bits, NULL, false, in regmap_field_set_bits() 1497 unsigned int bits) in regmap_field_clear_bits() argument 1878 unsigned int bits, bool value) in regmap_assign_bits() argument 1976 unsigned int bits) in regmap_field_set_bits() argument 1983 unsigned int bits) in regmap_field_clear_bits() argument [all …]
|
/include/asm-generic/ |
A D | word-at-a-time.h | 94 static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_t… in has_zero() argument 97 *bits = mask; in has_zero() 101 static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_a… in prep_zero_mask() argument 103 return bits; in prep_zero_mask() 106 static inline unsigned long create_zero_mask(unsigned long bits) in create_zero_mask() argument 108 bits = (bits - 1) & ~bits; in create_zero_mask() 109 return bits >> 7; in create_zero_mask()
|
/include/trace/events/ |
A D | fsi_master_gpio.h | 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 34 TP_ARGS(master, bits, msg), 37 __field(int, bits) 42 __entry->bits = bits; 47 (__entry->bits + 3) / 4, [all …]
|
A D | fsi_master_ast_cf.h | 32 __field(u8, bits) 38 __entry->bits = cmd->bits; 43 __entry->bits, __entry->rbits
|
/include/linux/iio/imu/ |
A D | adis.h | 445 .realbits = (bits), \ 451 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument 452 ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) 454 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument 455 ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) 457 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument 469 .realbits = (bits), \ 487 .realbits = (bits), \ 493 #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument 502 #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument [all …]
|
/include/math-emu/ |
A 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 …]
|
A 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; \ 191 X##_e = _flo.bits.exp; \ 192 X##_s = _flo.bits.sign; \ 204 X##_e = _flo->bits.exp; \ 205 X##_s = _flo->bits.sign; \ 215 _flo.bits.exp = X##_e; \ 216 _flo.bits.sign = X##_s; \ 229 _flo->bits.exp = X##_e; \ [all …]
|
A 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; \ 197 X##_e = _flo->bits.exp; \ 198 X##_s = _flo->bits.sign; \ 210 _flo.bits.frac0 = X##_f0; \ 211 _flo.bits.frac1 = X##_f1; \ 212 _flo.bits.exp = X##_e; \ 213 _flo.bits.sign = X##_s; \ [all …]
|
/include/linux/platform_data/ |
A D | keypad-omap.h | 39 #error Group bits in conflict with keynum bits
|
/include/linux/sunrpc/ |
A D | svcauth.h | 179 static inline unsigned long hash_str(char const *name, int bits) in hash_str() argument 181 return hashlen_hash(hashlen_string(NULL, name)) >> (32 - bits); in hash_str() 184 static inline unsigned long hash_mem(char const *buf, int length, int bits) in hash_mem() argument 186 return full_name_hash(NULL, buf, length) >> (32 - bits); in hash_mem()
|
/include/linux/mfd/abx500/ |
A 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/clocksource/ |
A D | samsung_pwm.h | 22 u8 bits; member
|
/include/linux/comedi/ |
A D | comedilib.h | 20 unsigned int mask, unsigned int *bits,
|