Searched refs:BIT_INDEX (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/kernel/common/src/ |
D | bitfield.c | 14 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) macro 16 #define BIT_INDEX(bit) (bit >> 3) macro 88 zassert_equal(b2[BIT_INDEX(bit)], BIT_VAL(bit), in ZTEST() 96 zassert_equal(b2[BIT_INDEX(bit)], 0, in ZTEST() 107 zassert_equal(b2[BIT_INDEX(bit)], BIT_VAL(bit), in ZTEST() 113 zassert_equal(b2[BIT_INDEX(bit)], BIT_VAL(bit), in ZTEST() 120 zassert_equal(b2[BIT_INDEX(bit)], 0, in ZTEST() 126 zassert_equal(b2[BIT_INDEX(bit)], 0, in ZTEST()
|
D | bitarray.c | 17 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) macro 19 #define BIT_INDEX(bit) (bit >> 3) macro
|