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