Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h17 #define ROCKER_TLV_ALIGN(len) \ macro
19 #define ROCKER_TLV_HDRLEN ROCKER_TLV_ALIGN(sizeof(struct rocker_tlv))
32 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next()
61 return ROCKER_TLV_ALIGN(rocker_tlv_attr_size(payload)); in rocker_tlv_total_size()
/openbmc/qemu/hw/net/rocker/
H A Drocker_tlv.h21 #define ROCKER_TLV_ALIGN(len) \ macro
23 #define ROCKER_TLV_HDRLEN ROCKER_TLV_ALIGN(sizeof(RockerTlv))
36 int totlen = ROCKER_TLV_ALIGN(le16_to_cpu(tlv->len)); in rocker_tlv_next()
64 return ROCKER_TLV_ALIGN(rocker_tlv_size(payload)); in rocker_tlv_total_size()