Lines Matching refs:fbnic_dev
15 static void __fbnic_mbx_wr_desc(struct fbnic_dev *fbd, int mbx_idx, in __fbnic_mbx_wr_desc()
25 static u64 __fbnic_mbx_rd_desc(struct fbnic_dev *fbd, int mbx_idx, int desc_idx) in __fbnic_mbx_rd_desc()
36 static void fbnic_mbx_init_desc_ring(struct fbnic_dev *fbd, int mbx_idx) in fbnic_mbx_init_desc_ring()
61 void fbnic_mbx_init(struct fbnic_dev *fbd) in fbnic_mbx_init()
82 static int fbnic_mbx_map_msg(struct fbnic_dev *fbd, int mbx_idx, in fbnic_mbx_map_msg()
122 static void fbnic_mbx_unmap_and_free_msg(struct fbnic_dev *fbd, int mbx_idx, in fbnic_mbx_unmap_and_free_msg()
140 static void fbnic_mbx_clean_desc_ring(struct fbnic_dev *fbd, int mbx_idx) in fbnic_mbx_clean_desc_ring()
150 void fbnic_mbx_clean(struct fbnic_dev *fbd) in fbnic_mbx_clean()
161 static int fbnic_mbx_alloc_rx_msgs(struct fbnic_dev *fbd) in fbnic_mbx_alloc_rx_msgs()
194 static int fbnic_mbx_map_tlv_msg(struct fbnic_dev *fbd, in fbnic_mbx_map_tlv_msg()
210 static void fbnic_mbx_process_tx_msgs(struct fbnic_dev *fbd) in fbnic_mbx_process_tx_msgs()
249 static int fbnic_fw_xmit_simple_msg(struct fbnic_dev *fbd, u32 msg_type) in fbnic_fw_xmit_simple_msg()
278 static int fbnic_fw_xmit_cap_msg(struct fbnic_dev *fbd) in fbnic_fw_xmit_cap_msg()
286 static void fbnic_mbx_postinit_desc_ring(struct fbnic_dev *fbd, int mbx_idx) in fbnic_mbx_postinit_desc_ring()
314 static void fbnic_mbx_postinit(struct fbnic_dev *fbd) in fbnic_mbx_postinit()
343 int fbnic_fw_xmit_ownership_msg(struct fbnic_dev *fbd, bool take_ownership) in fbnic_fw_xmit_ownership_msg()
441 struct fbnic_dev *fbd = opaque; in fbnic_fw_parse_cap_resp()
542 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_ownership_resp()
557 struct fbnic_dev *fbd = (struct fbnic_dev *)opaque; in fbnic_fw_parse_heartbeat_resp()
564 static int fbnic_fw_xmit_heartbeat_message(struct fbnic_dev *fbd) in fbnic_fw_xmit_heartbeat_message()
590 static bool fbnic_fw_heartbeat_current(struct fbnic_dev *fbd) in fbnic_fw_heartbeat_current()
598 int fbnic_fw_init_heartbeat(struct fbnic_dev *fbd, bool poll) in fbnic_fw_init_heartbeat()
626 void fbnic_fw_check_heartbeat(struct fbnic_dev *fbd) in fbnic_fw_check_heartbeat()
664 static void fbnic_mbx_process_rx_msgs(struct fbnic_dev *fbd) in fbnic_mbx_process_rx_msgs()
727 void fbnic_mbx_poll(struct fbnic_dev *fbd) in fbnic_mbx_poll()
735 int fbnic_mbx_poll_tx_ready(struct fbnic_dev *fbd) in fbnic_mbx_poll_tx_ready()
760 void fbnic_mbx_flush_tx(struct fbnic_dev *fbd) in fbnic_mbx_flush_tx()
793 void fbnic_get_fw_ver_commit_str(struct fbnic_dev *fbd, char *fw_version, in fbnic_get_fw_ver_commit_str()