| .. | .. |
|---|
| 154 | 154 | struct regulator *tp_regulator; |
|---|
| 155 | 155 | }; |
|---|
| 156 | 156 | |
|---|
| 157 | | -extern u16 show_len; |
|---|
| 158 | | -extern u16 total_len; |
|---|
| 157 | +//extern u16 show_len; |
|---|
| 158 | +//extern u16 total_len; |
|---|
| 159 | 159 | |
|---|
| 160 | 160 | |
|---|
| 161 | 161 | //*************************** PART2:TODO define ********************************** |
|---|
| .. | .. |
|---|
| 391 | 391 | }while (0) |
|---|
| 392 | 392 | |
|---|
| 393 | 393 | //*****************************End of Part III******************************** |
|---|
| 394 | | -#define TRUE 1 |
|---|
| 395 | | -#define FALSE 0 |
|---|
| 394 | +//#define TRUE 1 |
|---|
| 395 | +//#define FALSE 0 |
|---|
| 396 | + |
|---|
| 397 | +extern struct i2c_client *gtp_i2c_connect_client; |
|---|
| 398 | + |
|---|
| 399 | +s32 gtp_fw_startup(struct i2c_client *client); |
|---|
| 400 | +s32 gtp_i2c_read_dbl_check(struct i2c_client *client, u16 addr, u8 *rxbuf, int len); |
|---|
| 401 | +void gtp_irq_disable(struct goodix_ts_data *ts); |
|---|
| 402 | +void gtp_irq_enable(struct goodix_ts_data *ts); |
|---|
| 403 | +s32 gtp_read_version(struct i2c_client *client, u16 *version); |
|---|
| 404 | +void gtp_reset_guitar(struct i2c_client *client, s32 ms); |
|---|
| 405 | +s32 gtp_send_cfg(struct i2c_client *client); |
|---|
| 406 | +u8 gtp_gup_check_fs_mounted(char *path_name); |
|---|
| 407 | +s32 gtp_gup_fw_download_proc(void *dir, u8 dwn_mode); |
|---|
| 408 | +s32 gtp_i2c_read_bytes(struct i2c_client *client, u16 addr, u8 *buf, s32 len); |
|---|
| 409 | +s32 gtp_i2c_write_bytes(struct i2c_client *client, u16 addr, u8 *buf, s32 len); |
|---|
| 410 | +s32 gtp_gup_clk_calibration(void); |
|---|
| 396 | 411 | |
|---|
| 397 | 412 | #endif /* _GOODIX_GT9XX_H_ */ |
|---|