Lines Matching defs:_p
21 #define SET_PARAM_HEAD(_p, _type, _ver, _attr) do { \
22 (_p)->h.type = (uint8_t)(_type); \
23 (_p)->h.version = (uint8_t)(_ver); \
24 (_p)->h.size = (uint16_t)sizeof(*(_p)); \
25 (_p)->h.attr = (uint32_t)(_attr) ; \
29 #define SET_STATIC_PARAM_HEAD(_p, _type, _ver, _p_type, _attr) \
30 ._p.h.type = (uint8_t)(_type), \
31 ._p.h.version = (uint8_t)(_ver), \
32 ._p.h.size = (uint16_t)sizeof(_p_type), \
33 ._p.h.attr = (uint32_t)(_attr)