Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/qe/
H A Duec.h486 } __attribute__ ((packed)) qe_bd_t, *p_bd_t; typedef
539 #define BD_STATUS(_bd) (((p_bd_t)(_bd))->status)
540 #define BD_STATUS_SET(_bd, _val) (((p_bd_t)(_bd))->status = _val)
541 #define BD_LENGTH(_bd) (((p_bd_t)(_bd))->len)
542 #define BD_LENGTH_SET(_bd, _val) (((p_bd_t)(_bd))->len = _val)
543 #define BD_DATA_CLEAR(_bd) (((p_bd_t)(_bd))->data = 0)
544 #define BD_IS_DATA(_bd) (((p_bd_t)(_bd))->data)
545 #define BD_DATA(_bd) ((u8 *)(((p_bd_t)(_bd))->data))
546 #define BD_DATA_SET(_bd, _data) (((p_bd_t)(_bd))->data = (u32)(_data))
548 (((_status) & BD_WRAP) ? (_bd) = ((p_bd_t)(_base)) : ++(_bd))