Searched refs:BIT_MASK (Results 1 – 8 of 8) sorted by relevance
54 #define BIT_MASK(bit) BIT((bit) % 32) macro57 & BIT_MASK(bit)))59 *(((uint32_t *) addr) + BIT_WORD(bit)) |= BIT_MASK(bit)61 *(((uint32_t *) addr) + BIT_WORD(bit)) &= ~BIT_MASK(bit)
31 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro38 unsigned long mask = BIT_MASK(nr); in set_bit()46 unsigned long mask = BIT_MASK(nr); in clear_bit()
157 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) macro
35 #define BIT_MASK(__c) (1 << ((__c) % BITS_PER)) macro41 (((bitmap_t *)(__bmap))[BIT_ENTRY(__c)] & BIT_MASK(__c))44 BIT_MASK(__c))
407 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro421 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
445 #define BIT_MASK(type, size) (((((type)1 << (NUM_BITS(size) - 1)) - 1) << 1) + 1) macro459 …( ( (type)x & ~(BIT_MASK(type, size) << LOW_BIT(size)) ) | ( ((type)v & BIT_MASK(type, size)) << L…
578 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG)) macro
80 #define BIT_MASK(x, y) (((1U << (y)) - 1) << (x)) macro