linux/drivers/staging/rtl8712/rtl8712_syscfg_bitdef.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_SYSCFG_BITDEF_H__
#define __RTL8712_SYSCFG_BITDEF_H__

/*SYS_PWR_CTRL*/
/*SRCTRL0*/
/*SRCTRL1*/
/*SYS_CLKR*/

/*SYS_IOS_CTRL*/
#define iso_LDR2RP_SHT
#define iso_LDR2RP

/*SYS_CTRL*/
#define FEN_DIO_SDIO_SHT
#define FEN_DIO_SDIO
#define FEN_SDIO_SHT
#define FEN_SDIO
#define FEN_USBA_SHT
#define FEN_USBA
#define FEN_UPLL_SHT
#define FEN_UPLL
#define FEN_USBD_SHT
#define FEN_USBD
#define FEN_DIO_PCIE_SHT
#define FEN_DIO_PCIE
#define FEN_PCIEA_SHT
#define FEN_PCIEA
#define FEN_PPLL_SHT
#define FEN_PPLL
#define FEN_PCIED_SHT
#define FEN_PCIED
#define FEN_CPUEN_SHT
#define FEN_CPUEN
#define FEN_DCORE_SHT
#define FEN_DCORE
#define FEN_ELDR_SHT
#define FEN_ELDR
#define PWC_DV2LDR_SHT
#define PWC_DV2LDR

/*=== SYS_CLKR ===*/
#define SYS_CLKSEL_SHT
#define SYS_CLKSEL
#define PS_CLKSEL_SHT
#define PS_CLKSEL
#define CPU_CLKSEL_SHT
#define CPU_CLKSEL
#define INT32K_EN_SHT
#define INT32K_EN
#define MACSLP_SHT
#define MACSLP
#define MAC_CLK_EN_SHT
#define MAC_CLK_EN
#define SYS_CLK_EN_SHT
#define SYS_CLK_EN
#define RING_CLK_EN_SHT
#define RING_CLK_EN
#define SWHW_SEL_SHT
#define SWHW_SEL
#define FWHW_SEL_SHT
#define FWHW_SEL

/*9346CR*/
#define _VPDIDX_MSK
#define _VPDIDX_SHT
#define _EEM_MSK
#define _EEM_SHT
#define _EEM0
#define _EEM1
#define _EEPROM_EN
#define _9356SEL
#define _EECS
#define _EESK
#define _EEDI
#define _EEDO

/*AFE_MISC*/
#define AFE_MISC_USB_MBEN_SHT
#define AFE_MISC_USB_MBEN
#define AFE_MISC_USB_BGEN_SHT
#define AFE_MISC_USB_BGEN
#define AFE_MISC_LD12_VDAJ_SHT
#define AFE_MISC_LD12_VDAJ_MSK
#define AFE_MISC_LD12_VDAJ
#define AFE_MISC_I32_EN_SHT
#define AFE_MISC_I32_EN
#define AFE_MISC_E32_EN_SHT
#define AFE_MISC_E32_EN
#define AFE_MISC_MBEN_SHT
#define AFE_MISC_MBEN
#define AFE_MISC_BGEN_SHT
#define AFE_MISC_BGEN

/*--------------------------------------------------------------------------*/
/*       SPS1_CTRL bits				(Offset 0x18-1E, 56bits)*/
/*--------------------------------------------------------------------------*/
#define SPS1_SWEN
#define SPS1_LDEN

/*----------------------------------------------------------------------------*/
/*       LDOA15_CTRL bits		(Offset 0x20, 8bits)*/
/*----------------------------------------------------------------------------*/
#define LDA15_EN

/*----------------------------------------------------------------------------*/
/*       8192S LDOV12D_CTRL bit		(Offset 0x21, 8bits)*/
/*----------------------------------------------------------------------------*/
#define LDV12_EN
#define LDV12_SDBY

/*CLK_PS_CTRL*/
#define _CLK_GATE_EN

/* EFUSE_CTRL*/
#define EF_FLAG
#define EF_PGPD
#define EF_RDT
#define EF_PDN_EN
#define ALD_EN
#define EF_ADDR
#define EF_DATA

/* EFUSE_TEST*/
#define LDOE25_EN

/* EFUSE_CLK_CTRL*/
#define EFUSE_CLK_EN
#define EFUSE_CLK_SEL

#endif	/*__RTL8712_SYSCFG_BITDEF_H__*/