Searched refs:IS_POW2 (Results 1 – 3 of 3) sorted by relevance
83 #define IS_POW2(x) (x && ((x & (x - 1)) == 0)) macro86 vchiq_static_assert(IS_POW2(VCHIQ_SLOT_SIZE));87 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SLOTS));88 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SLOTS_PER_SIDE));
77 vchiq_static_assert(IS_POW2(sizeof(VCHIQ_HEADER_T)));78 vchiq_static_assert(IS_POW2(VCHIQ_NUM_CURRENT_BULKS));79 vchiq_static_assert(IS_POW2(VCHIQ_NUM_SERVICE_BULKS));80 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SERVICES));
209 #define IS_POW2(v) (((v) & ((v) - 1)) == 0) macro212 IS_POW2(XTENSA_INTLEVEL_MASK(PROFILING_INTLEVEL)))