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, u64 def);
118 s64 fbnic_tlv_attr_get_signed(struct fbnic_tlv_msg *attr, s64 def);
119 ssize_t fbnic_tlv_attr_get_string(struct fbnic_tlv_msg *attr, char *dst,
121 struct fbnic_tlv_msg *fbnic_tlv_msg_alloc(u16 msg_id);
122 int fbnic_tlv_attr_put_flag(struct fbnic_tlv_msg *msg, const u16 attr_id);
123 int fbnic_tlv_attr_put_value(struct fbnic_tlv_msg *msg, const u16 attr_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.c116 struct fbnic_tlv_msg *msg, u16 length, u8 eom) in fbnic_mbx_map_msg()
206 struct fbnic_tlv_msg *msg; in fbnic_mbx_alloc_rx_msgs()
208 msg = (struct fbnic_tlv_msg *)__get_free_page(GFP_KERNEL); in fbnic_mbx_alloc_rx_msgs()
224 struct fbnic_tlv_msg *msg) in fbnic_mbx_map_tlv_msg()
312 struct fbnic_tlv_msg *msg, in fbnic_mbx_map_req_w_cmpl()
401 struct fbnic_tlv_msg *msg; in fbnic_fw_xmit_simple_msg()
471 struct fbnic_tlv_msg *msg; in fbnic_fw_xmit_ownership_msg()
541 struct fbnic_tlv_msg *attr, int len) in fbnic_fw_parse_bmc_addrs()
544 struct fbnic_tlv_msg *mac_results[8]; in fbnic_fw_parse_bmc_addrs()
569 static int fbnic_fw_parse_cap_resp(void *opaque, struct fbnic_tlv_msg **results) in fbnic_fw_parse_cap_resp()
[all …]
H A Dfbnic_fw.h12 struct fbnic_tlv_msg;
17 struct fbnic_tlv_msg *msg;