import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / eccci / ccci_support.h
1 #ifndef __CCCI_SUPPORT_H__
2 #define __CCCI_SUPPORT_H__
3
4 #include "ccci_core.h"
5 #include "ccci_debug.h"
6
7 struct ccci_setting {
8 int sim_mode;
9 int slot1_mode; // 0:CDMA 1:GSM 2:WCDMA 3:TDCDMA
10 int slot2_mode; // 0:CDMA 1:GSM 2:WCDMA 3:TDCDMA
11 };
12
13 void ccci_config_modem(struct ccci_modem *md);
14 void ccci_reload_md_type(struct ccci_modem *md, int type);
15 int ccci_get_sim_switch_mode(void);
16 int ccci_store_sim_switch_mode(struct ccci_modem *md, int simmode);
17 struct ccci_setting* ccci_get_common_setting(int md_id);
18
19 #endif //__CCCI_SUPPORT_H__