Searched refs:vchiq_static_assert (Results 1 – 5 of 5) sorted by relevance
79 #ifndef vchiq_static_assert80 #define vchiq_static_assert(cond) __attribute__((unused)) \ macro81 extern int vchiq_static_assert[(cond) ? 1 : -1]87 vchiq_static_assert(IS_POW2(VCHIQ_SLOT_SIZE));88 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SLOTS));89 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SLOTS_PER_SIDE));130 vchiq_static_assert(VCHIQ_MSG_SRCPORT(VCHIQ_MAKE_MSG(0, 0, VCHIQ_PORT_MAX))132 vchiq_static_assert(VCHIQ_MSG_TYPE(VCHIQ_MAKE_MSG(0, VCHIQ_PORT_MAX, 0)) == 0);133 vchiq_static_assert((unsigned int)VCHIQ_PORT_MAX <146 vchiq_static_assert((sizeof(VCHI_BITSET_T) * 8) == 32);
365 vchiq_static_assert(sizeof(VCHI_MSG_VECTOR_T) == sizeof(VCHIQ_ELEMENT_T));366 vchiq_static_assert(offsetof(VCHI_MSG_VECTOR_T, vec_base) ==368 vchiq_static_assert(offsetof(VCHI_MSG_VECTOR_T, vec_len) ==
77 vchiq_static_assert(sizeof(VCHIQ_HEADER_T) == 8);78 vchiq_static_assert(IS_POW2(sizeof(VCHIQ_HEADER_T)));79 vchiq_static_assert(IS_POW2(VCHIQ_NUM_CURRENT_BULKS));80 vchiq_static_assert(IS_POW2(VCHIQ_NUM_SERVICE_BULKS));81 vchiq_static_assert(IS_POW2(VCHIQ_MAX_SERVICES));82 vchiq_static_assert(VCHIQ_VERSION >= VCHIQ_VERSION_MIN);
178 vchiq_static_assert((sizeof(ioctl_names)/sizeof(ioctl_names[0])) ==
304 #define vchiq_static_assert(cond) CTASSERT(cond) macro