Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/rocker/
H A Drocker.c305 tlv_size = rocker_tlv_total_size(0) + /* nest */ in cmd_get_port_settings()
306 rocker_tlv_total_size(sizeof(uint32_t)) + /* pport */ in cmd_get_port_settings()
307 rocker_tlv_total_size(sizeof(uint32_t)) + /* speed */ in cmd_get_port_settings()
308 rocker_tlv_total_size(sizeof(uint8_t)) + /* duplex */ in cmd_get_port_settings()
311 rocker_tlv_total_size(sizeof(uint8_t)) + /* mode */ in cmd_get_port_settings()
313 rocker_tlv_total_size(strlen(phys_name)); in cmd_get_port_settings()
493 rocker_tlv_total_size(0) + /* nest */ in rocker_event_link_changed()
494 rocker_tlv_total_size(sizeof(uint32_t)) + /* pport */ in rocker_event_link_changed()
555 rocker_tlv_total_size(0) + /* nest */ in rocker_event_mac_vlan_seen()
647 tlv_size = rocker_tlv_total_size(sizeof(uint16_t)) + /* flags */ in rx_produce()
[all …]
H A Drocker_tlv.h62 static inline int rocker_tlv_total_size(int payload) in rocker_tlv_total_size() function
69 return rocker_tlv_total_size(payload) - rocker_tlv_size(payload); in rocker_tlv_padlen()
156 int total_size = rocker_tlv_total_size(len); in rocker_tlv_put_iov()
H A Drocker_of_dpa.c1911 tlv_size = rocker_tlv_total_size(sizeof(uint32_t)) + /* duration */ in of_dpa_cmd_flow_get_stats()
1912 rocker_tlv_total_size(sizeof(uint64_t)) + /* rx_pkts */ in of_dpa_cmd_flow_get_stats()
1913 rocker_tlv_total_size(sizeof(uint64_t)); /* tx_ptks */ in of_dpa_cmd_flow_get_stats()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h59 static inline int rocker_tlv_total_size(int payload) in rocker_tlv_total_size() function
66 return rocker_tlv_total_size(payload) - rocker_tlv_attr_size(payload); in rocker_tlv_padlen()
H A Drocker_tlv.c36 int total_size = rocker_tlv_total_size(attrlen); in rocker_tlv_put()