Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/drivers/net/net_os/
A Dnet_bitops.h6 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
7 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
14 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) % BITS_PER_LONG))
17 ((nbits) % BITS_PER_LONG) ? \
18 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \
102 #if BITS_PER_LONG == 64 in __ffs()
131 #if BITS_PER_LONG == 32 in __ffs64()
134 #elif BITS_PER_LONG != 64 in __ffs64()
135 #error BITS_PER_LONG not 32 or 64 in __ffs64()
/AliOS-Things-master/components/drivers/core/fbdev/include/
A Dfb_define.h15 #define BITS_PER_LONG 64 macro
17 #define BITS_PER_LONG 32 macro
33 #define BYTES_PER_LONG (BITS_PER_LONG / 8)
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_udev.c294 #define BITS_PER_LONG (sizeof(unsigned long) * 8) macro
295 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
296 #define OFF(x) ((x)%BITS_PER_LONG)
297 #define LONG(x) ((x)/BITS_PER_LONG)
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/
A Dnet_defs.h226 #define BITS_PER_LONG 32 macro
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dutil.h31 # error Missing required predefined macros for BITS_PER_LONG calculation
34 #define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) macro
39 (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h))))

Completed in 11 milliseconds