Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dbasic_types.h78 #define BIT_LEN_MASK_32(__bitlen) \ argument
79 (0xFFFFFFFF >> (32 - (__bitlen)))
80 #define BIT_LEN_MASK_16(__bitlen) \ argument
81 (0xFFFF >> (16 - (__bitlen)))
82 #define BIT_LEN_MASK_8(__bitlen) \ argument
83 (0xFF >> (8 - (__bitlen)))
91 (BIT_LEN_MASK_32(__bitlen) << (__bitoffset))
95 (BIT_LEN_MASK_8(__bitlen) << (__bitoffset))
116 BIT_LEN_MASK_32(__bitlen) \
121 BIT_LEN_MASK_16(__bitlen) \
[all …]