Home
last modified time | relevance | path

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

/Zephyr-latest/tests/unit/util/
Dmain.c616 zassert_true(IS_BIT_MASK(zero32)); in ZTEST()
617 zassert_true(IS_BIT_MASK(zero64)); in ZTEST()
618 zassert_true(IS_BIT_MASK(bitmask1)); in ZTEST()
619 zassert_true(IS_BIT_MASK(bitmask2)); in ZTEST()
620 zassert_true(IS_BIT_MASK(bitmask31)); in ZTEST()
621 zassert_true(IS_BIT_MASK(bitmask32)); in ZTEST()
622 zassert_true(IS_BIT_MASK(bitmask63)); in ZTEST()
623 zassert_true(IS_BIT_MASK(bitmask64)); in ZTEST()
624 zassert_false(IS_BIT_MASK(not_bitmask32)); in ZTEST()
625 zassert_false(IS_BIT_MASK(not_bitmask64)); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dutil_macro.h94 #define IS_BIT_MASK(m) IS_SHIFTED_BIT_MASK(m, 0) macro
/Zephyr-latest/drivers/counter/
Dcounter_nxp_s32_sys_timer.c87 if (likely(IS_BIT_MASK(top))) { in ticks_add()
99 if (likely(IS_BIT_MASK(top))) { in ticks_sub()
Dcounter_nrfx_timer.c107 if (likely(IS_BIT_MASK(top))) { in ticks_add()
118 if (likely(IS_BIT_MASK(top))) { in ticks_sub()
Dcounter_gd32_timer.c179 if (likely(IS_BIT_MASK(top))) { in ticks_add()
190 if (likely(IS_BIT_MASK(top))) { in ticks_sub()
Dcounter_ll_stm32_timer.c162 if (likely(IS_BIT_MASK(top))) { in counter_stm32_ticks_add()
173 if (likely(IS_BIT_MASK(top))) { in counter_stm32_ticks_sub()
Dcounter_nrfx_rtc.c122 } else if (likely(IS_BIT_MASK(top))) { in ticks_sub()
152 if (likely(IS_BIT_MASK(top))) { in ticks_add()
Dcounter_renesas_ra_agt.c514 if (likely(IS_BIT_MASK(top))) { in r_agt_ticks_sub()