linux/drivers/staging/rtl8712/rtl8712_fifoctrl_bitdef.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
#ifndef __RTL8712_FIFOCTRL_BITDEF_H__
#define __RTL8712_FIFOCTRL_BITDEF_H__

/*PBP*/
#define _PSTX_MSK
#define _PSTX_SHT
#define _PSRX_MSK
#define _PSRX_SHT

/*TXFF_STATUS*/
#define _TXSTATUS_OVF

/*RXFF_STATUS*/
#define _STATUSFF1_OVF
#define _STATUSFF1_EMPTY
#define _STATUSFF0_OVF
#define _STATUSFF0_EMPTY
#define _RXFF1_OVF
#define _RXFF1_EMPTY
#define _RXFF0_OVF
#define _RXFF0_EMPTY

/*TXFF_EMPTY_TH*/
#define _BKQ_EMPTY_TH_MSK
#define _BKQ_EMPTY_TH_SHT
#define _BEQ_EMPTY_TH_MSK
#define _BEQ_EMPTY_TH_SHT
#define _VIQ_EMPTY_TH_MSK
#define _VIQ_EMPTY_TH_SHT
#define _VOQ_EMPTY_TH_MSK
#define _VOQ_EMPTY_TH_SHT
#define _BMCQ_EMPTY_TH_MSK
#define _BMCQ_EMPTY_TH_SHT

/*SDIO_RX_BLKSZ*/
#define _SDIO_RX_BLKSZ_MSK

/*RXDMA_CTRL*/
#define _C2HFF_POLL
#define _RXPKT_POLL

/*RXPKT_NUM*/
#define _RXCMD_NUM_MSK
#define _RXCMD_NUM_SHT
#define _RXFF0_NUM_MSK
#define _RXFF0_NUM_SHT

/*FIFOPAGE2*/
#define _PUB_AVAL_PG_MSK
#define _PUB_AVAL_PG_SHT
#define _BCN_AVAL_PG_MSK
#define _BCN_AVAL_PG_SHT

/*RX0PKTNUM*/
#define _RXFF0_DEC_POLL
#define _RXFF0_PKT_DEC_NUM_MSK
#define _RXFF0_PKT_DEC_NUM_SHT
#define _RXFF0_PKTNUM_RPT_MSK
#define _RXFF0_PKTNUM_RPT_SHT

/*RX1PKTNUM*/
#define _RXFF1_DEC_POLL
#define _RXFF1_PKT_DEC_NUM_MSK
#define _RXFF1_PKT_DEC_NUM_SHT
#define _RXFF1_PKTNUM_RPT_MSK
#define _RXFF1_PKTNUM_RPT_SHT

/*RXFLTMAP0*/
#define _MGTFLT13EN
#define _MGTFLT12EN
#define _MGTFLT11EN
#define _MGTFLT10EN
#define _MGTFLT9EN
#define _MGTFLT8EN
#define _MGTFLT5EN
#define _MGTFLT4EN
#define _MGTFLT3EN
#define _MGTFLT2EN
#define _MGTFLT1EN
#define _MGTFLT0EN

/*RXFLTMAP1*/
#define _CTRLFLT15EN
#define _CTRLFLT14EN
#define _CTRLFLT13EN
#define _CTRLFLT12EN
#define _CTRLFLT11EN
#define _CTRLFLT10EN
#define _CTRLFLT9EN
#define _CTRLFLT8EN
#define _CTRLFLT7EN
#define _CTRLFLT6EN

/*RXFLTMAP2*/
#define _DATAFLT15EN
#define _DATAFLT14EN
#define _DATAFLT13EN
#define _DATAFLT12EN
#define _DATAFLT11EN
#define _DATAFLT10EN
#define _DATAFLT9EN
#define _DATAFLT8EN
#define _DATAFLT7EN
#define _DATAFLT6EN
#define _DATAFLT5EN
#define _DATAFLT4EN
#define _DATAFLT3EN
#define _DATAFLT2EN
#define _DATAFLT1EN
#define _DATAFLT0EN

/*RXFLTMAP3*/
#define _MESHAFLT1EN
#define _MESHAFLT0EN

/*TXPKT_NUM_CTRL*/
#define _TXPKTNUM_DEC
#define _TXPKTNUM_MSK
#define _TXPKTNUM_SHT

/*TXFF_PG_NUM*/
#define _TXFF_PG_NUM_MSK

#endif	/*	__RTL8712_FIFOCTRL_BITDEF_H__ */