Home
last modified time | relevance | path

Searched refs:__bf_shf (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/dev/pci/drm/i915/
H A Di915_reg_defs.h99 ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
102 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \
103 …BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & …
116 ((u8)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
119 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \
120 …BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & …
188 ((u16)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
191 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \
192 …BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & …
/openbsd/sys/dev/pci/drm/include/linux/
H A Dbitfield.h9 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro
12 ((typeof(_m))(((_v) & (_m)) >> __bf_shf(_m)))
15 (((typeof(_m))(_v) << __bf_shf(_m)) & (_m))
/openbsd/sys/dev/pci/
H A Dif_qwz_pci.c87 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro
88 #define FIELD_GET(_m, _v) ((typeof(_m))(((_v) & (_m)) >> __bf_shf(_m)))
H A Dif_qwx_pci.c87 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro
88 #define FIELD_GET(_m, _v) ((typeof(_m))(((_v) & (_m)) >> __bf_shf(_m)))
/openbsd/sys/dev/ic/
H A Dqwx.c96 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro
98 #define FIELD_GET(_m, _v) ((typeof(_m))(((_v) & (_m)) >> __bf_shf(_m)))
99 #define FIELD_PREP(_m, _v) (((typeof(_m))(_v) << __bf_shf(_m)) & (_m))
H A Dqwz.c96 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro
98 #define FIELD_GET(_m, _v) ((typeof(_m))(((_v) & (_m)) >> __bf_shf(_m)))
99 #define FIELD_PREP(_m, _v) (((typeof(_m))(_v) << __bf_shf(_m)) & (_m))