spl2sw_mac.h 594 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright Sunplus Technology Co., Ltd.
  3. * All rights reserved.
  4. */
  5. #ifndef __SPL2SW_MAC_H__
  6. #define __SPL2SW_MAC_H__
  7. void spl2sw_mac_hw_stop(struct spl2sw_common *comm);
  8. void spl2sw_mac_hw_start(struct spl2sw_common *comm);
  9. int spl2sw_mac_addr_add(struct spl2sw_mac *mac);
  10. int spl2sw_mac_addr_del(struct spl2sw_mac *mac);
  11. void spl2sw_mac_hw_init(struct spl2sw_common *comm);
  12. void spl2sw_mac_rx_mode_set(struct spl2sw_mac *mac);
  13. void spl2sw_mac_init(struct spl2sw_common *comm);
  14. void spl2sw_mac_soft_reset(struct spl2sw_common *comm);
  15. #endif