xref: /linux/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ae06c70bSJeff Kirsher /* SPDX-License-Identifier: GPL-2.0 */
251dce24bSJeff Kirsher /* Copyright(c) 1999 - 2018 Intel Corporation. */
36a14ee0cSDon Skidmore 
46a14ee0cSDon Skidmore #include "ixgbe_type.h"
56a14ee0cSDon Skidmore 
6*8f76c0f4SJedrzej Jagielski int ixgbe_get_invariants_X540(struct ixgbe_hw *hw);
7*8f76c0f4SJedrzej Jagielski int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
86a14ee0cSDon Skidmore 			      bool autoneg_wait_to_complete);
9*8f76c0f4SJedrzej Jagielski int ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
10*8f76c0f4SJedrzej Jagielski int ixgbe_start_hw_X540(struct ixgbe_hw *hw);
116a14ee0cSDon Skidmore enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
12*8f76c0f4SJedrzej Jagielski int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
136a14ee0cSDon Skidmore 			      bool autoneg_wait_to_complete);
14*8f76c0f4SJedrzej Jagielski int ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index);
15*8f76c0f4SJedrzej Jagielski int ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
16*8f76c0f4SJedrzej Jagielski int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
176a14ee0cSDon Skidmore void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
18dbd15b8fSDon Skidmore void ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw);
19*8f76c0f4SJedrzej Jagielski int ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
20