2 \brief Declaration of library functions
4 Any definitions in this file will be shared among GLUE Layer and internal Driver Stack.
15 /*******************************************************************************
16 * C O M P I L E R F L A G S
17 ********************************************************************************
20 /*******************************************************************************
22 ********************************************************************************
25 #if 1 /* defined(CONFIG_MTK_COMBO_HCI_DRIVER) || defined(CONFIG_MTK_COMBO_BT) */
26 #define CFG_FUNC_BT_SUPPORT 1
28 #define CFG_FUNC_BT_SUPPORT 0
32 #if 1 /* defined(CONFIG_MTK_COMBO_FM) */
33 #define CFG_FUNC_FM_SUPPORT 1
35 #define CFG_FUNC_FM_SUPPORT 0
38 #if 1 /* defined(CONFIG_MTK_COMBO_GPS) */
39 #define CFG_FUNC_GPS_SUPPORT 1
41 #define CFG_FUNC_GPS_SUPPORT 0
44 #if 1 /* defined(CONFIG_MTK_COMBO_WIFI) */
45 #define CFG_FUNC_WIFI_SUPPORT 1
47 #define CFG_FUNC_WIFI_SUPPORT 0
51 #define CFG_FUNC_ANT_SUPPORT 1
53 #define CFG_FUNC_ANT_SUPPORT 0
57 /*******************************************************************************
58 * E X T E R N A L R E F E R E N C E S
59 ********************************************************************************
63 /*******************************************************************************
65 ********************************************************************************
69 /*******************************************************************************
71 ********************************************************************************
74 typedef INT32(*SUBSYS_FUNC_ON
) (P_WMT_IC_OPS pOps
, P_WMT_GEN_CONF pConf
);
75 typedef INT32(*SUBSYS_FUNC_OFF
) (P_WMT_IC_OPS pOps
, P_WMT_GEN_CONF pConf
);
77 typedef struct _WMT_FUNC_OPS_
{
78 SUBSYS_FUNC_ON func_on
;
79 SUBSYS_FUNC_OFF func_off
;
80 } WMT_FUNC_OPS
, *P_WMT_FUNC_OPS
;
82 typedef struct _CMB_PIN_CTRL_REG_
{
87 } CMB_PIN_CTRL_REG
, *P_CMB_PIN_CTRL_REG
;
89 typedef struct _CMB_PIN_CTRL_
{
92 P_CMB_PIN_CTRL_REG pFuncOnArray
;
93 P_CMB_PIN_CTRL_REG pFuncOffArray
;
95 } CMB_PIN_CTRL
, *P_CMB_PIN_CTRL
;
97 typedef enum _ENUM_CMP_PIN_ID_
{
100 CMB_PIN_GSYNC_ID
= 2,
101 } ENUM_CMP_PIN_ID
, *P_ENUM_CMP_PIN_ID
;
103 /*******************************************************************************
104 * P U B L I C D A T A
105 ********************************************************************************
109 /*******************************************************************************
110 * P R I V A T E D A T A
111 ********************************************************************************
114 /*******************************************************************************
115 * F U N C T I O N D E C L A R A T I O N S
116 ********************************************************************************
120 /*******************************************************************************
122 ********************************************************************************
131 #endif /* _WMT_FUNC_H_ */