Searched refs:__bf_shf (Results 1 – 3 of 3) sorted by relevance
8 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro10 #define FIELD_PREP(mask, val) (((typeof(mask))(val) << __bf_shf(mask)) & (mask))13 ((typeof(mask))(((reg) & (mask)) >> __bf_shf(mask)))
16 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro21 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \27 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \33 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \
17 #define __bf_shf(x) (__builtin_ffsll(x) - 1) macro22 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \28 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \34 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \551 nfp_eth_set_bit_config(nsp, raw_idx, _x, __bf_shf(_x), \