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

hclge_mdio.h (581B)


      1/* SPDX-License-Identifier: GPL-2.0+ */
      2// Copyright (c) 2016-2017 Hisilicon Limited.
      3
      4#ifndef __HCLGE_MDIO_H
      5#define __HCLGE_MDIO_H
      6
      7#include "hnae3.h"
      8
      9struct hclge_dev;
     10
     11int hclge_mac_mdio_config(struct hclge_dev *hdev);
     12int hclge_mac_connect_phy(struct hnae3_handle *handle);
     13void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
     14void hclge_mac_start_phy(struct hclge_dev *hdev);
     15void hclge_mac_stop_phy(struct hclge_dev *hdev);
     16u16 hclge_read_phy_reg(struct hclge_dev *hdev, u16 reg_addr);
     17int hclge_write_phy_reg(struct hclge_dev *hdev, u16 reg_addr, u16 val);
     18
     19#endif