Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_tlv.h53 struct fbnic_tlv_msg { struct
101 struct fbnic_tlv_msg **results);
107 fbnic_tlv_attr_get_value_ptr(struct fbnic_tlv_msg *attr) in fbnic_tlv_attr_get_value_ptr()
112 static inline bool fbnic_tlv_attr_get_bool(struct fbnic_tlv_msg *attr) in fbnic_tlv_attr_get_bool()
117 u64 fbnic_tlv_attr_get_unsigned(struct fbnic_tlv_msg *attr);
118 s64 fbnic_tlv_attr_get_signed(struct fbnic_tlv_msg *attr);
119 size_t fbnic_tlv_attr_get_string(struct fbnic_tlv_msg *attr, char *str,
124 struct fbnic_tlv_msg *result = results[id]; \
131 struct fbnic_tlv_msg *result = results[id]; \
138 struct fbnic_tlv_msg *result = results[id]; \
[all …]
H A Dfbnic_tlv.c22 struct fbnic_tlv_msg *fbnic_tlv_msg_alloc(u16 msg_id) in fbnic_tlv_msg_alloc()
25 struct fbnic_tlv_msg *msg; in fbnic_tlv_msg_alloc()
27 msg = (struct fbnic_tlv_msg *)__get_free_page(GFP_KERNEL); in fbnic_tlv_msg_alloc()
53 int fbnic_tlv_attr_put_flag(struct fbnic_tlv_msg *msg, const u16 attr_id) in fbnic_tlv_attr_put_flag()
57 struct fbnic_tlv_msg *attr; in fbnic_tlv_attr_put_flag()
94 int fbnic_tlv_attr_put_value(struct fbnic_tlv_msg *msg, const u16 attr_id, in fbnic_tlv_attr_put_value()
99 struct fbnic_tlv_msg *attr; in fbnic_tlv_attr_put_value()
138 int __fbnic_tlv_attr_put_int(struct fbnic_tlv_msg *msg, const u16 attr_id, in __fbnic_tlv_attr_put_int()
158 int fbnic_tlv_attr_put_mac_addr(struct fbnic_tlv_msg *msg, const u16 attr_id, in fbnic_tlv_attr_put_mac_addr()
175 int fbnic_tlv_attr_put_string(struct fbnic_tlv_msg *msg, u16 attr_id, in fbnic_tlv_attr_put_string()
[all …]
H A Dfbnic_fw.c83 struct fbnic_tlv_msg *msg, u16 length, u8 eom) in fbnic_mbx_map_msg()
176 struct fbnic_tlv_msg *msg; in fbnic_mbx_alloc_rx_msgs()
178 msg = (struct fbnic_tlv_msg *)__get_free_page(GFP_ATOMIC | in fbnic_mbx_alloc_rx_msgs()
195 struct fbnic_tlv_msg *msg) in fbnic_mbx_map_tlv_msg()
251 struct fbnic_tlv_msg *msg; in fbnic_fw_xmit_simple_msg()
346 struct fbnic_tlv_msg *msg; in fbnic_fw_xmit_ownership_msg()
410 struct fbnic_tlv_msg *attr, int len) in fbnic_fw_parse_bmc_addrs()
413 struct fbnic_tlv_msg *mac_results[8]; in fbnic_fw_parse_bmc_addrs()
438 static int fbnic_fw_parse_cap_resp(void *opaque, struct fbnic_tlv_msg **results) in fbnic_fw_parse_cap_resp()
510 struct fbnic_tlv_msg *attr; in fbnic_fw_parse_cap_resp()
[all …]
H A Dfbnic_fw.h11 struct fbnic_tlv_msg;
16 struct fbnic_tlv_msg *msg;