Home
last modified time | relevance | path

Searched refs:vchiq_static_assert (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.h79 #ifndef vchiq_static_assert
80 #define vchiq_static_assert(cond) __attribute__((unused)) \ macro
81 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);
H A Dvchiq_shim.c365 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) ==
H A Dvchiq_core.c77 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);
H A Dvchiq_arm.c178 vchiq_static_assert((sizeof(ioctl_names)/sizeof(ioctl_names[0])) ==
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h304 #define vchiq_static_assert(cond) CTASSERT(cond) macro