Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
754 B
C
23 lines
754 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2018 Intel Corporation */
|
|
|
|
#ifndef _IGC_PHY_H_
|
|
#define _IGC_PHY_H_
|
|
|
|
#include "igc_mac.h"
|
|
|
|
s32 igc_check_reset_block(struct igc_hw *hw);
|
|
s32 igc_phy_hw_reset(struct igc_hw *hw);
|
|
s32 igc_get_phy_id(struct igc_hw *hw);
|
|
s32 igc_phy_has_link(struct igc_hw *hw, u32 iterations,
|
|
u32 usec_interval, bool *success);
|
|
void igc_check_downshift(struct igc_hw *hw);
|
|
s32 igc_setup_copper_link(struct igc_hw *hw);
|
|
void igc_power_up_phy_copper(struct igc_hw *hw);
|
|
void igc_power_down_phy_copper(struct igc_hw *hw);
|
|
s32 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data);
|
|
s32 igc_read_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 *data);
|
|
u16 igc_read_phy_fw_version(struct igc_hw *hw);
|
|
|
|
#endif
|