igc_mac.h 563 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright (c) 2018 Intel Corporation */
  3. #ifndef _IGC_MAC_H_
  4. #define _IGC_MAC_H_
  5. #include "igc_hw.h"
  6. #include "igc_defines.h"
  7. #ifndef IGC_REMOVED
  8. #define IGC_REMOVED(a) (0)
  9. #endif /* IGC_REMOVED */
  10. /* forward declaration */
  11. s32 igc_disable_pcie_master(struct igc_hw *hw);
  12. void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count);
  13. s32 igc_setup_link(struct igc_hw *hw);
  14. void igc_clear_hw_cntrs_base(struct igc_hw *hw);
  15. s32 igc_get_auto_rd_done(struct igc_hw *hw);
  16. void igc_put_hw_semaphore(struct igc_hw *hw);
  17. #endif