xref: /linux/drivers/net/ethernet/sunplus/spl2sw_desc.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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_DESC_H__
7*fd3040b9SWells Lu #define __SPL2SW_DESC_H__
8*fd3040b9SWells Lu 
9*fd3040b9SWells Lu void spl2sw_rx_descs_flush(struct spl2sw_common *comm);
10*fd3040b9SWells Lu void spl2sw_tx_descs_clean(struct spl2sw_common *comm);
11*fd3040b9SWells Lu void spl2sw_rx_descs_clean(struct spl2sw_common *comm);
12*fd3040b9SWells Lu void spl2sw_descs_clean(struct spl2sw_common *comm);
13*fd3040b9SWells Lu void spl2sw_descs_free(struct spl2sw_common *comm);
14*fd3040b9SWells Lu void spl2sw_tx_descs_init(struct spl2sw_common *comm);
15*fd3040b9SWells Lu int  spl2sw_rx_descs_init(struct spl2sw_common *comm);
16*fd3040b9SWells Lu int  spl2sw_descs_alloc(struct spl2sw_common *comm);
17*fd3040b9SWells Lu int  spl2sw_descs_init(struct spl2sw_common *comm);
18*fd3040b9SWells Lu 
19*fd3040b9SWells Lu #endif
20