| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | cyttsp_core.c | 115 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake() 167 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_set_operational_mode() 175 return ts->xy_data.act_dist == CY_ACT_DIST_DFLT ? -EIO : 0; in cyttsp_set_operational_mode() 273 static void cyttsp_extract_track_ids(struct cyttsp_xydata *xy_data, int *ids) in cyttsp_extract_track_ids() argument 275 ids[0] = xy_data->touch12_id >> 4; in cyttsp_extract_track_ids() 276 ids[1] = xy_data->touch12_id & 0xF; in cyttsp_extract_track_ids() 277 ids[2] = xy_data->touch34_id >> 4; in cyttsp_extract_track_ids() 278 ids[3] = xy_data->touch34_id & 0xF; in cyttsp_extract_track_ids() 281 static const struct cyttsp_tch *cyttsp_get_tch(struct cyttsp_xydata *xy_data, in cyttsp_get_tch() argument 286 return &xy_data->tch1; in cyttsp_get_tch() [all …]
|
| H A D | cyttsp4_core.c | 589 p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs() 592 si->xy_data = p; in cyttsp4_si_get_op_data_ptrs() 666 si->xy_mode, si->xy_data); in cyttsp4_si_put_log_data() 765 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp4_get_touch_axis() argument 774 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis() 775 xy_data[next], xy_data[next], bofs); in cyttsp4_get_touch_axis() 776 *axis = (*axis * 256) + (xy_data[next] >> bofs); in cyttsp4_get_touch_axis() 785 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis() 786 xy_data[next], xy_data[next]); in cyttsp4_get_touch_axis() 790 struct cyttsp4_touch *touch, u8 *xy_data) in cyttsp4_get_touch() argument [all …]
|
| H A D | cyttsp_core.h | 121 struct cyttsp_xydata xy_data; member
|
| H A D | cyttsp4_core.h | 319 u8 *xy_data; /* operational touch regs */ member
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/vtl_ts/ |
| H A D | vtl_ts.c | 246 msgs.len = sizeof(ts->xy_data.buf); in vtl_ts_read_xy_data() 247 msgs.buf = ts->xy_data.buf; in vtl_ts_read_xy_data() 256 ret = vtl_ts_i2c_read(client,client->addr,ts->xy_data.buf,sizeof(ts->xy_data.buf)); in vtl_ts_read_xy_data() 274 union ts_xy_data *xy_data; in vtl_ts_report_xy_coord() local 278 xy_data = &ts->xy_data; in vtl_ts_report_xy_coord() 288 if ((xy_data->point[id].xhi != 0xFF) && (xy_data->point[id].yhi != 0xFF) && in vtl_ts_report_xy_coord() 289 ( (xy_data->point[id].status == 1) || (xy_data->point[id].status == 2))) in vtl_ts_report_xy_coord() 301 x = (xy_data->point[id].yhi<<4)|(xy_data->point[id].ylo&0xF); in vtl_ts_report_xy_coord() 302 y = (xy_data->point[id].xhi<<4)|(xy_data->point[id].xlo&0xF); in vtl_ts_report_xy_coord() 304 x = (xy_data->point[id].xhi<<4)|(xy_data->point[id].xlo&0xF); in vtl_ts_report_xy_coord() [all …]
|
| H A D | vtl_ts.h | 101 struct xy_data { struct 116 struct xy_data { argument 136 struct xy_data point[TOUCH_POINT_NUM]; argument 137 unsigned char buf[TOUCH_POINT_NUM * sizeof(struct xy_data)]; 182 union ts_xy_data xy_data; member
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/ |
| H A D | cyttsp5_proximity.c | 56 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp5_get_touch_axis() argument 64 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp5_get_touch_axis() 65 xy_data[next], xy_data[next], bofs); in cyttsp5_get_touch_axis() 66 *axis = *axis + ((xy_data[next] >> bofs) << (nbyte * 8)); in cyttsp5_get_touch_axis() 74 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp5_get_touch_axis() 75 xy_data[next], xy_data[next]); in cyttsp5_get_touch_axis() 100 struct cyttsp5_touch *touch, u8 *xy_data) in cyttsp5_get_touch() argument 112 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch() 131 cyttsp5_get_touch(pd, tch, si->xy_data + in cyttsp5_get_proximity_touch()
|
| H A D | cyttsp5_debug.c | 81 scnprintf(pr_buf + k, CY_MAX_PRBUF_SIZE, fmt, si->xy_data[i]); in cyttsp5_pr_buf_op_mode() 135 cyttsp5_debug_print(dev, pr_buf, si->xy_data + i, in cyttsp5_debug_formated() 139 cyttsp5_debug_print(dev, pr_buf, si->xy_data + i, in cyttsp5_debug_formated() 142 cyttsp5_debug_print(dev, pr_buf, si->xy_data, report_size, in cyttsp5_debug_formated() 152 si->xy_data + (i * si->desc.tch_record_size), in cyttsp5_debug_formated() 159 cyttsp5_debug_print(dev, pr_buf, si->xy_data, report_size, in cyttsp5_debug_formated()
|
| H A D | cyttsp5_mt_common.c | 58 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp5_get_touch_axis() argument 66 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp5_get_touch_axis() 67 xy_data[next], xy_data[next], bofs); in cyttsp5_get_touch_axis() 68 *axis = *axis + ((xy_data[next] >> bofs) << (nbyte * 8)); in cyttsp5_get_touch_axis() 76 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp5_get_touch_axis() 77 xy_data[next], xy_data[next]); in cyttsp5_get_touch_axis() 111 struct cyttsp5_touch *touch, u8 *xy_data) in cyttsp5_get_touch_record() argument 123 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record() 248 tch_addr = si->xy_data + (i * si->desc.tch_record_size); in cyttsp5_get_mt_touches()
|
| H A D | cyttsp5_btn.c | 62 cur_btn_state = (si->xy_data[0] >> (cur_btn * CY_BITS_PER_BTN)) in cyttsp5_get_btn_touches() 93 if (si->xy_data[0] & (1 << cur)) in cyttsp5_log_btn_data() 100 le16_to_cpu(si->xy_data[1 + cur * 2])); in cyttsp5_log_btn_data()
|
| H A D | cyttsp5_core.c | 1136 if (!si->xy_data) in cyttsp5_si_setup() 1137 si->xy_data = kzalloc(max_tch * si->desc.tch_record_size, in cyttsp5_si_setup() 1139 if (!si->xy_data) in cyttsp5_si_setup() 1145 kfree(si->xy_data); in cyttsp5_si_setup() 1271 __func__, si->xy_data); in cyttsp5_si_put_log_data() 1301 kfree(si->xy_data); in cyttsp5_free_si_ptrs() 3857 memcpy(si->xy_data, &cd->input_buf[BTN_INPUT_HEADER_SIZE], in move_button_data() 3859 cyttsp5_pr_buf(cd->dev, (u8 *)si->xy_data, BTN_REPORT_SIZE, "xy_data"); in move_button_data() 3888 memcpy(si->xy_data, &cd->input_buf[si->desc.tch_header_size], length); in move_touch_data() 3889 cyttsp5_pr_buf(cd->dev, (u8 *)si->xy_data, length, "xy_data"); in move_touch_data() [all …]
|
| H A D | cyttsp5_regs.h | 702 u8 *xy_data; member
|