Searched refs:rocker_tlv (Results 1 – 6 of 6) sorted by relevance
19 #define ROCKER_TLV_HDRLEN ROCKER_TLV_ALIGN(sizeof(struct rocker_tlv))29 static inline struct rocker_tlv *rocker_tlv_next(const struct rocker_tlv *tlv, in rocker_tlv_next()35 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()38 static inline int rocker_tlv_ok(const struct rocker_tlv *tlv, int remaining) in rocker_tlv_ok()69 static inline int rocker_tlv_type(const struct rocker_tlv *tlv) in rocker_tlv_type()74 static inline void *rocker_tlv_data(const struct rocker_tlv *tlv) in rocker_tlv_data()79 static inline int rocker_tlv_len(const struct rocker_tlv *tlv) in rocker_tlv_len()84 static inline u8 rocker_tlv_get_u8(const struct rocker_tlv *tlv) in rocker_tlv_get_u8()89 static inline u16 rocker_tlv_get_u16(const struct rocker_tlv *tlv) in rocker_tlv_get_u16()94 static inline __be16 rocker_tlv_get_be16(const struct rocker_tlv *tlv) in rocker_tlv_get_be16()[all …]
15 void rocker_tlv_parse(const struct rocker_tlv **tb, int maxtype, in rocker_tlv_parse()18 const struct rocker_tlv *tlv; in rocker_tlv_parse()19 const struct rocker_tlv *head = (const struct rocker_tlv *) buf; in rocker_tlv_parse()22 memset(tb, 0, sizeof(struct rocker_tlv *) * (maxtype + 1)); in rocker_tlv_parse()37 struct rocker_tlv *tlv; in rocker_tlv_put()
728 const struct rocker_tlv **attrs) in rocker_dma_rx_ring_skb_unmap()745 const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1]; in rocker_dma_rx_ring_skb_free()912 const struct rocker_tlv *info) in rocker_event_link_change()914 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_LINK_CHANGED_MAX + 1]; in rocker_event_link_change()946 const struct rocker_tlv *info) in rocker_event_mac_vlan_seen()948 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAX + 1]; in rocker_event_mac_vlan_seen()974 const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAX + 1]; in rocker_event_process()975 const struct rocker_tlv *info; in rocker_event_process()1098 struct rocker_tlv *cmd_info; in rocker_cmd_get_port_settings_prep()1119 const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1]; in rocker_cmd_get_port_settings_ethtool_proc()[all …]
7 rocker-y := rocker_main.o rocker_tlv.o rocker_ofdpa.o
112 struct rocker_tlv { struct
510 struct rocker_tlv *cmd_info; in ofdpa_cmd_flow_tbl_add()567 struct rocker_tlv *cmd_info; in ofdpa_cmd_flow_tbl_del()624 struct rocker_tlv *group_ids; in ofdpa_cmd_group_tbl_add_group_ids()676 struct rocker_tlv *cmd_info; in ofdpa_cmd_group_tbl_add()721 struct rocker_tlv *cmd_info; in ofdpa_cmd_group_tbl_del()