Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linux
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / sunplus / spl2sw_mac.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright Sunplus Technology Co., Ltd.
3  *       All rights reserved.
4  */
5
6 #ifndef __SPL2SW_MAC_H__
7 #define __SPL2SW_MAC_H__
8
9 void spl2sw_mac_hw_stop(struct spl2sw_common *comm);
10 void spl2sw_mac_hw_start(struct spl2sw_common *comm);
11 int  spl2sw_mac_addr_add(struct spl2sw_mac *mac);
12 int  spl2sw_mac_addr_del(struct spl2sw_mac *mac);
13 void spl2sw_mac_hw_init(struct spl2sw_common *comm);
14 void spl2sw_mac_rx_mode_set(struct spl2sw_mac *mac);
15 void spl2sw_mac_init(struct spl2sw_common *comm);
16 void spl2sw_mac_soft_reset(struct spl2sw_common *comm);
17
18 #endif