0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _PCH_GBE_PHY_H_
0009 #define _PCH_GBE_PHY_H_
0010
0011 #define PCH_GBE_PHY_REGS_LEN 32
0012 #define PCH_GBE_PHY_RESET_DELAY_US 10
0013
0014 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw);
0015 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data);
0016 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data);
0017 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw);
0018 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw);
0019 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw);
0020 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw);
0021 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw);
0022 int pch_gbe_phy_disable_hibernate(struct pch_gbe_hw *hw);
0023
0024 #endif