Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dbasic_types.h40 #define BIT_LEN_MASK_32(__bitlen) \ argument
41 (0xFFFFFFFF >> (32 - (__bitlen)))
42 #define BIT_LEN_MASK_16(__bitlen) \ argument
43 (0xFFFF >> (16 - (__bitlen)))
44 #define BIT_LEN_MASK_8(__bitlen) \ argument
45 (0xFF >> (8 - (__bitlen)))
52 #define BIT_OFFSET_LEN_MASK_32(__bitoffset, __bitlen) \ argument
53 (BIT_LEN_MASK_32(__bitlen) << (__bitoffset))
54 #define BIT_OFFSET_LEN_MASK_16(__bitoffset, __bitlen) \ argument
55 (BIT_LEN_MASK_16(__bitlen) << (__bitoffset))
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dbasic_types.h80 #define BIT_LEN_MASK_32(__bitlen) \ argument
81 (0xFFFFFFFF >> (32 - (__bitlen)))
82 #define BIT_LEN_MASK_16(__bitlen) \ argument
83 (0xFFFF >> (16 - (__bitlen)))
84 #define BIT_LEN_MASK_8(__bitlen) \ argument
85 (0xFF >> (8 - (__bitlen)))
92 #define BIT_OFFSET_LEN_MASK_32(__bitoffset, __bitlen) \ argument
93 (BIT_LEN_MASK_32(__bitlen) << (__bitoffset))
94 #define BIT_OFFSET_LEN_MASK_16(__bitoffset, __bitlen) \ argument
95 (BIT_LEN_MASK_16(__bitlen) << (__bitoffset))
[all …]