linux/drivers/staging/rtl8712/rtl8712_spec.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 * Modifications for inclusion into the Linux staging tree are
 * Copyright(c) 2010 Larry Finger. All rights reserved.
 *
 * Contact information:
 * WLAN FAE <[email protected]>
 * Larry Finger <[email protected]>
 *
 ******************************************************************************/
#ifndef __RTL8712_SPEC_H__
#define __RTL8712_SPEC_H__

#define RTL8712_IOBASE_TXPKT
#define RTL8712_IOBASE_RXPKT
#define RTL8712_IOBASE_RXCMD
#define RTL8712_IOBASE_TXSTATUS
#define RTL8712_IOBASE_RXSTATUS
#define RTL8712_IOBASE_IOREG
#define RTL8712_IOBASE_SCHEDULER

#define RTL8712_IOBASE_TRXDMA
#define RTL8712_IOBASE_TXLLT
#define RTL8712_IOBASE_WMAC
#define RTL8712_IOBASE_FW2HW
#define RTL8712_IOBASE_ACCESS_PHYREG

#define RTL8712_IOBASE_FF

/*IOREG Offset for 8712*/
#define RTL8712_SYSCFG_
#define RTL8712_CMDCTRL_
#define RTL8712_MACIDSETTING_
#define RTL8712_TIMECTRL_
#define RTL8712_FIFOCTRL_
#define RTL8712_RATECTRL_
#define RTL8712_EDCASETTING_
#define RTL8712_WMAC_
#define RTL8712_SECURITY_
#define RTL8712_POWERSAVE_
#define RTL8712_GP_
#define RTL8712_INTERRUPT_
#define RTL8712_DEBUGCTRL_
#define RTL8712_OFFLOAD_

/*FIFO for 8712*/
#define RTL8712_DMA_BCNQ
#define RTL8712_DMA_MGTQ
#define RTL8712_DMA_BMCQ
#define RTL8712_DMA_VOQ
#define RTL8712_DMA_VIQ
#define RTL8712_DMA_BEQ
#define RTL8712_DMA_BKQ
#define RTL8712_DMA_RX0FF
#define RTL8712_DMA_H2CCMD
#define RTL8712_DMA_C2HCMD

/*------------------------------*/

/*BIT 16 15*/
#define DID_SDIO_LOCAL
#define DID_WLAN_IOREG
#define DID_WLAN_FIFO
#define DID_UNDEFINE

#define CMD_ADDR_MAPPING_SHIFT

/*Offset for SDIO LOCAL*/
#define OFFSET_SDIO_LOCAL

/*Offset for WLAN IOREG*/
#define OFFSET_WLAN_IOREG

/*Offset for WLAN FIFO*/
#define OFFSET_TX_BCNQ
#define OFFSET_TX_HIQ
#define OFFSET_TX_CMDQ
#define OFFSET_TX_MGTQ
#define OFFSET_TX_HCCAQ
#define OFFSET_TX_VOQ
#define OFFSET_TX_VIQ
#define OFFSET_TX_BEQ
#define OFFSET_TX_BKQ
#define OFFSET_RX_RX0FFQ
#define OFFSET_RX_C2HFFQ

#define BK_QID_01
#define BK_QID_02
#define BE_QID_01
#define BE_QID_02
#define VI_QID_01
#define VI_QID_02
#define VO_QID_01
#define VO_QID_02
#define HCCA_QID_01
#define HCCA_QID_02
#define HCCA_QID_03
#define HCCA_QID_04
#define HCCA_QID_05
#define HCCA_QID_06
#define HCCA_QID_07
#define HCCA_QID_08
#define HI_QID
#define CMD_QID
#define MGT_QID
#define BCN_QID

#include "rtl8712_regdef.h"

#include "rtl8712_bitdef.h"

#include "basic_types.h"

#endif /* __RTL8712_SPEC_H__ */