cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pch_gbe_phy.h (880B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 1999 - 2010 Intel Corporation.
      4 * Copyright (C) 2010 OKI SEMICONDUCTOR Co., LTD.
      5 *
      6 * This code was derived from the Intel e1000e Linux driver.
      7 */
      8#ifndef _PCH_GBE_PHY_H_
      9#define _PCH_GBE_PHY_H_
     10
     11#define PCH_GBE_PHY_REGS_LEN		32
     12#define	PCH_GBE_PHY_RESET_DELAY_US	10
     13
     14s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw);
     15s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data);
     16s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data);
     17void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw);
     18void pch_gbe_phy_power_up(struct pch_gbe_hw *hw);
     19void pch_gbe_phy_power_down(struct pch_gbe_hw *hw);
     20void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw);
     21void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw);
     22int pch_gbe_phy_disable_hibernate(struct pch_gbe_hw *hw);
     23
     24#endif /* _PCH_GBE_PHY_H_ */