Home
last modified time | relevance | path

Searched defs:bitmask (Results 1 – 2 of 2) sorted by relevance

/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/TnetwServices/
DtnetwCommon.h48 #define IS_MASK_ON( field, bitmask ) ( (bitmask) == ( (field) & (bitmask) ) ) argument
49 #define IS_MASK_OFF( field, bitmask ) ( ~(bitmask) == ( (field) | ~(bitmask) ) ) argument
51 #define IS_ANY_BIT_ON( field, bitmask ) ( (field) & (bitmask) ) argument
52 #define ARE_ALL_BITS_ON( field, bitmask ) IS_MASK_ON( field, bitmask ) argument
54 #define MASK_BITS_ON( field, bitmask ) ( (field) |= (bitmask) ) argument
55 #define MASK_BITS_OFF( field, bitmask ) ( (field) &= ~(bitmask) ) argument
57 #define MASK_BITS_TOGGLE( field, bitmask ) ( (field) ^= (bitmask) ) argument
/system/wlan/ti/wilink_6_1/utils/
Dtidef.h162 #define IS_MASK_ON( field, bitmask ) ( (bitmask) == ( (field) & (bitmask) ) ) argument
171 #define IS_MASK_OFF( field, bitmask ) ( ~(bitmask) == ( (field) | ~(bitmask) ) ) argument