Home
last modified time | relevance | path

Searched refs:IS_POW2 (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.h83 #define IS_POW2(x) (x && ((x & (x - 1)) == 0)) macro
86 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));
Dvchiq_core.c77 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));
/Linux-v4.19/arch/xtensa/kernel/
Dtraps.c209 #define IS_POW2(v) (((v) & ((v) - 1)) == 0) macro
212 IS_POW2(XTENSA_INTLEVEL_MASK(PROFILING_INTLEVEL)))