Searched refs:fts_gesture_data (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_gesture.c | 97 static struct fts_gesture_st fts_gesture_data; variable 147 count = snprintf(buf, PAGE_SIZE, "Gesture Mode: %s\n", fts_gesture_data.mode ? "On" : "Off"); in fts_gesture_show() 167 fts_gesture_data.mode = ENABLE; in fts_gesture_store() 170 fts_gesture_data.mode = DISABLE; in fts_gesture_store() 190 count = snprintf(buf, PAGE_SIZE, "Gesture ID: 0x%x\n", fts_gesture_data.header[0]); in fts_gesture_buf_show() 191 count += snprintf(buf + count, PAGE_SIZE, "Gesture PointNum: %d\n", fts_gesture_data.header[1]); in fts_gesture_buf_show() 193 for (i = 0; i < fts_gesture_data.header[1]; i++) { in fts_gesture_buf_show() 194 …printf(buf + count, PAGE_SIZE, "%3d(%4d,%4d) ", i, fts_gesture_data.coordinate_x[i], fts_gesture_d… in fts_gesture_buf_show() 369 memset(fts_gesture_data.header, 0, FTS_GESTRUE_POINTS_HEADER); in fts_gesture_readdata() 370 memset(fts_gesture_data.coordinate_x, 0, FTS_GESTRUE_POINTS * sizeof(u16)); in fts_gesture_readdata() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_gesture.c | 93 static struct fts_gesture_st fts_gesture_data; variable 144 struct fts_gesture_st *gesture = &fts_gesture_data; in fts_gesture_buf_show() 293 struct fts_gesture_st *gesture = &fts_gesture_data; in fts_gesture_readdata() 447 memset(&fts_gesture_data, 0, sizeof(struct fts_gesture_st)); in fts_gesture_init()
|