1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2015-2020
8 #include "txgbe_type.h"
10 s32 txgbe_init_hw(struct txgbe_hw *hw);
12 void txgbe_set_lan_id_multi_port(struct txgbe_hw *hw);
14 s32 txgbe_validate_mac_addr(u8 *mac_addr);
16 s32 txgbe_check_mac_link(struct txgbe_hw *hw,
18 bool *link_up, bool link_up_wait_to_complete);
20 void txgbe_clear_tx_pending(struct txgbe_hw *hw);
22 s32 txgbe_reset_pipeline_raptor(struct txgbe_hw *hw);
24 s32 txgbe_init_shared_code(struct txgbe_hw *hw);
25 s32 txgbe_set_mac_type(struct txgbe_hw *hw);
26 s32 txgbe_init_ops_pf(struct txgbe_hw *hw);
27 s32 txgbe_get_link_capabilities_raptor(struct txgbe_hw *hw,
28 u32 *speed, bool *autoneg);
29 s32 txgbe_start_mac_link_raptor(struct txgbe_hw *hw,
30 bool autoneg_wait_to_complete);
31 s32 txgbe_setup_mac_link(struct txgbe_hw *hw, u32 speed,
32 bool autoneg_wait_to_complete);
33 void txgbe_init_mac_link_ops(struct txgbe_hw *hw);
34 s32 txgbe_reset_hw(struct txgbe_hw *hw);
35 s32 txgbe_init_phy_raptor(struct txgbe_hw *hw);
36 bool txgbe_verify_lesm_fw_enabled_raptor(struct txgbe_hw *hw);
37 #endif /* _TXGBE_HW_H_ */