Lines Matching refs:touch_data
199 u8 *touch_data; member
809 rc = gsl_ts_read(ts->client, 0x80, ts->touch_data, ts->dd->data_size); in gsl3673_ts_worker()
814 touches = ts->touch_data[ts->dd->touch_index]; in gsl3673_ts_worker()
818 cinfo.x[i] = join_bytes((ts->touch_data[ts->dd->x_index + in gsl3673_ts_worker()
819 4 * i + 1] & 0xf), ts->touch_data[ts->dd->x_index + 4 * i]); in gsl3673_ts_worker()
820 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gsl3673_ts_worker()
821 ts->touch_data[ts->dd->y_index + 4 * i]); in gsl3673_ts_worker()
822 cinfo.id[i] = ((ts->touch_data[ts->dd->x_index + 4 * i + 1] in gsl3673_ts_worker()
825 cinfo.finger_num = (ts->touch_data[3] << 24) | (ts->touch_data[2] << 16) in gsl3673_ts_worker()
826 | (ts->touch_data[1] << 8) | (ts->touch_data[0]); in gsl3673_ts_worker()
857 x = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] in gsl3673_ts_worker()
858 & 0xf), ts->touch_data[ts->dd->x_index + 4 * i]); in gsl3673_ts_worker()
859 y = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gsl3673_ts_worker()
860 ts->touch_data[ts->dd->y_index + 4 * i]); in gsl3673_ts_worker()
861 id = ts->touch_data[ts->dd->id_index + 4 * i] >> 4; in gsl3673_ts_worker()
989 ts->touch_data = devm_kzalloc(&client->dev, in gsl3673_ts_init()
991 if (!ts->touch_data) in gsl3673_ts_init()