aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/eccci/ccci_support.h
blob: 9ff60c99c26e127a978950d700d71efc894ae3d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __CCCI_SUPPORT_H__
#define __CCCI_SUPPORT_H__

#include "ccci_core.h"
#include "ccci_debug.h"

struct ccci_setting {
    int sim_mode;    
    int slot1_mode; // 0:CDMA 1:GSM 2:WCDMA 3:TDCDMA
    int slot2_mode; // 0:CDMA 1:GSM 2:WCDMA 3:TDCDMA
};

void ccci_config_modem(struct ccci_modem *md);
void ccci_reload_md_type(struct ccci_modem *md, int type);
int ccci_get_sim_switch_mode(void);
int ccci_store_sim_switch_mode(struct ccci_modem *md, int simmode);
struct ccci_setting* ccci_get_common_setting(int md_id);

#endif //__CCCI_SUPPORT_H__