Lines Matching refs:touch_data
247 u8 *touch_data; member
811 rc = gsl_ts_read(ts->client, 0x80, ts->touch_data, ts->dd->data_size); in gslX680_ts_worker()
819 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
825 cinfo.x[i] = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf), in gslX680_ts_worker()
826 ts->touch_data[ts->dd->x_index + 4 * i]); in gslX680_ts_worker()
827 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gslX680_ts_worker()
828 ts->touch_data[ts->dd->y_index + 4 * i]); in gslX680_ts_worker()
831 cinfo.finger_num = (ts->touch_data[3] << 24) | (ts->touch_data[2] << 16) in gslX680_ts_worker()
832 | (ts->touch_data[1] << 8) | (ts->touch_data[0]); in gslX680_ts_worker()
864 x = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf), in gslX680_ts_worker()
865 ts->touch_data[ts->dd->x_index + 4 * i]); in gslX680_ts_worker()
866 y = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gslX680_ts_worker()
867 ts->touch_data[ts->dd->y_index + 4 * i]); in gslX680_ts_worker()
868 id = ts->touch_data[ts->dd->id_index + 4 * i] >> 4; in gslX680_ts_worker()
1008 ts->touch_data = devm_kzalloc(&client->dev, ts->dd->data_size, GFP_KERNEL); in gslX680_ts_init()
1009 if (!ts->touch_data) { in gslX680_ts_init()