Home
last modified time | relevance | path

Searched refs:touch_data (Results 1 – 7 of 7) sorted by relevance

/device/soc/hpmicro/sdk/hpm_sdk/components/touch/ft5406/
Dhpm_touch_ft5406.c15 ft5406_touch_data_t touch_data = {0}; in touch_get_data() local
17 stat = ft5406_read_touch_data(&ft5406, &touch_data); in touch_get_data()
22 if ((touch_data.status < FT5406_MAX_TOUCH_POINTS) && (touch_data.status)) { in touch_get_data()
23 for (i = 0; touch_data.points[i].x_h > 0 && touch_data.points[i].x_h < 0xFF; i++) { in touch_get_data()
24 points[i].x = (touch_data.points[i].x_h & 0xF) << 8 | touch_data.points[i].x_l; in touch_get_data()
25 points[i].y = (touch_data.points[i].y_h & 0xF) << 8 | touch_data.points[i].y_l; in touch_get_data()
Dhpm_ft5406.c47 hpm_stat_t ft5406_read_touch_data(ft5406_context_t *context, ft5406_touch_data_t *touch_data) in ft5406_read_touch_data() argument
49 …return ft5406_read_data(context, FT5406_GEST_ID, (uint8_t *)touch_data, sizeof(ft5406_touch_data_t… in ft5406_read_touch_data()
Dhpm_ft5406.h150 ft5406_touch_data_t *touch_data);
/device/soc/hpmicro/sdk/hpm_sdk/components/touch/gt911/
Dhpm_touch_gt911.c18 gt911_touch_data_t touch_data = {0}; in touch_get_data() local
21 stat = gt911_read_touch_data(&gt911, &touch_data); in touch_get_data()
27 num = GT911_GET_STATUS_NUM_OF_POINTS(touch_data.status); in touch_get_data()
31 points[i].x = (touch_data.points[i].x_h & 0xF) << 8 | touch_data.points[i].x_l; in touch_get_data()
32 points[i].y = (touch_data.points[i].y_h & 0xF) << 8 | touch_data.points[i].y_l; in touch_get_data()
Dhpm_gt911.c120 gt911_touch_data_t *touch_data) in gt911_read_touch_data() argument
125 (uint8_t *)touch_data, sizeof(gt911_touch_data_t)); in gt911_read_touch_data()
Dhpm_gt911.h104 gt911_touch_data_t *touch_data);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
DgslX680.c177 u8 *touch_data; member
1102 touches = ts->touch_data[ts->dd->touch_index]; in process_gslX680_data()
1107 cinfo.x[i] = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf), in process_gslX680_data()
1108 ts->touch_data[ts->dd->x_index + 4 * i]); in process_gslX680_data()
1109 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in process_gslX680_data()
1110 ts->touch_data[ts->dd->y_index + 4 * i]); in process_gslX680_data()
1112 cinfo.finger_num = ts->touch_data[0] | (ts->touch_data[1]<<8) | in process_gslX680_data()
1113 (ts->touch_data[2]<<16) | (ts->touch_data[3]<<24); in process_gslX680_data()
1147 x = join_bytes((ts->touch_data[ts->dd->x_index+4*i+1] & 0xf), in process_gslX680_data()
1148 ts->touch_data[ts->dd->x_index + 4 * i]); in process_gslX680_data()
[all …]