Home
last modified time | relevance | path

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

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