Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/rocker/
H A Drocker_tlv.h55 rocker_tlv_for_each(pos, rocker_tlv_data(tlv), rocker_tlv_len(tlv), rem)
77 static inline void *rocker_tlv_data(const RockerTlv *tlv) in rocker_tlv_data() function
89 return *(uint8_t *) rocker_tlv_data(tlv); in rocker_tlv_get_u8()
94 return *(uint16_t *) rocker_tlv_data(tlv); in rocker_tlv_get_u16()
99 return *(uint32_t *) rocker_tlv_data(tlv); in rocker_tlv_get_u32()
104 return *(uint64_t *) rocker_tlv_data(tlv); in rocker_tlv_get_u64()
109 return lduw_le_p(rocker_tlv_data(tlv)); in rocker_tlv_get_le16()
114 return ldl_le_p(rocker_tlv_data(tlv)); in rocker_tlv_get_le32()
119 return ldq_le_p(rocker_tlv_data(tlv)); in rocker_tlv_get_le64()
143 rocker_tlv_parse(tb, maxtype, rocker_tlv_data(tlv), rocker_tlv_len(tlv)); in rocker_tlv_parse_nested()
[all …]
H A Drocker_of_dpa.c1203 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_MAC]), in of_dpa_cmd_add_term_mac()
1206 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_MAC_MASK]), in of_dpa_cmd_add_term_mac()
1301 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_MAC]), in of_dpa_cmd_add_bridging()
1475 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_IPV6]), in of_dpa_cmd_add_unicast_routing()
1605 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_IPV6]), in of_dpa_cmd_add_multicast_routing()
1715 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_SRC_MAC]), in of_dpa_cmd_add_acl()
1727 rocker_tlv_data(flow_tlvs[ROCKER_TLV_OF_DPA_DST_MAC]), in of_dpa_cmd_add_acl()
1994 rocker_tlv_data(group_tlvs[ROCKER_TLV_OF_DPA_SRC_MAC]), in of_dpa_cmd_add_l2_rewrite()
2000 rocker_tlv_data(group_tlvs[ROCKER_TLV_OF_DPA_DST_MAC]), in of_dpa_cmd_add_l2_rewrite()
2089 rocker_tlv_data(group_tlvs[ROCKER_TLV_OF_DPA_SRC_MAC]), in of_dpa_cmd_add_l3_unicast()
[all …]
H A Drocker.c385 rocker_tlv_data(tlvs[ROCKER_TLV_CMD_PORT_SETTINGS_MACADDR]), in cmd_set_port_settings()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h51 rocker_tlv_for_each(pos, rocker_tlv_data(tlv), \
74 static inline void *rocker_tlv_data(const struct rocker_tlv *tlv) in rocker_tlv_data() function
86 return *(u8 *) rocker_tlv_data(tlv); in rocker_tlv_get_u8()
91 return *(u16 *) rocker_tlv_data(tlv); in rocker_tlv_get_u16()
96 return *(__be16 *) rocker_tlv_data(tlv); in rocker_tlv_get_be16()
101 return *(u32 *) rocker_tlv_data(tlv); in rocker_tlv_get_u32()
106 return *(u64 *) rocker_tlv_data(tlv); in rocker_tlv_get_u64()
116 rocker_tlv_parse(tb, maxtype, rocker_tlv_data(tlv), in rocker_tlv_parse_nested()
H A Drocker_tlv.c46 memcpy(rocker_tlv_data(tlv), data, attrlen); in rocker_tlv_put()
H A Drocker_main.c962 addr = rocker_tlv_data(attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAC]); in rocker_event_mac_vlan_seen()
1176 ether_addr_copy(macaddr, rocker_tlv_data(attr)); in rocker_cmd_get_port_settings_macaddr_proc()
1232 str = rocker_tlv_data(attr); in rocker_cmd_get_port_settings_phys_name_proc()