Home
last modified time | relevance | path

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

/external/libiio/src/
Diio-private.h54 #define BIT_MASK(bit) BIT((bit) % 32) macro
57 & BIT_MASK(bit)))
59 *(((uint32_t *) addr) + BIT_WORD(bit)) |= BIT_MASK(bit)
61 *(((uint32_t *) addr) + BIT_WORD(bit)) &= ~BIT_MASK(bit)
/external/exfatprogs/lib/
Dlibexfat.c31 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
38 unsigned long mask = BIT_MASK(nr); in set_bit()
46 unsigned long mask = BIT_MASK(nr); in clear_bit()
/external/erofs-utils/include/erofs/
Ddefs.h157 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
/external/exfatprogs/fsck/
Dfsck.c35 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro
41 (((bitmap_t *)(__bmap))[BIT_ENTRY(__c)] & BIT_MASK(__c))
44 BIT_MASK(__c))
/external/python/cpython3/Modules/_ctypes/
Dcfield.c407 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro
421 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
/external/python/cpython2/Modules/_ctypes/
Dcfield.c445 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro
459 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
/external/f2fs-tools/include/
Df2fs_fs.h578 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro
/external/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
Dpm_api_clock.c80 #define BIT_MASK(x, y) (((1U << (y)) - 1) << (x)) macro