1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2024 Intel Corporation. */
3 
4 #ifndef _IXGBE_X540_H_
5 #define _IXGBE_X540_H_
6 
7 #include "ixgbe_type.h"
8 
9 int ixgbe_get_invariants_X540(struct ixgbe_hw *hw);
10 int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
11 			      bool autoneg_wait_to_complete);
12 int ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
13 int ixgbe_start_hw_X540(struct ixgbe_hw *hw);
14 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
15 int ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
16 			      bool autoneg_wait_to_complete);
17 int ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index);
18 int ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
19 int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
20 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
21 void ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw);
22 int ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
23 
24 #endif /* _IXGBE_X540_H_ */
25