Lines Matching refs:touch_data
134 u8 *touch_data; member
686 rc = gsl_ts_read(ts->client, 0x80, ts->touch_data, ts->dd->data_size);
692 touches = ts->touch_data[ts->dd->touch_index];
698 cinfo.x[i] = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf),
699 ts->touch_data[ts->dd->x_index + 4 * i]);
700 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1],
701 ts->touch_data[ts->dd->y_index + 4 * i]);
704 cinfo.finger_num = (ts->touch_data[3] << 24) | (ts->touch_data[2] << 16)
705 | (ts->touch_data[1] << 8) | (ts->touch_data[0]);
734 x = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf),
735 ts->touch_data[ts->dd->x_index + 4 * i]);
736 y = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1],
737 ts->touch_data[ts->dd->y_index + 4 * i]);
738 id = ts->touch_data[ts->dd->id_index + 4 * i] >> 4;
807 ts->touch_data = devm_kzalloc(&client->dev, ts->dd->data_size, GFP_KERNEL);
808 if (!ts->touch_data) {
878 devm_kfree(&client->dev, ts->touch_data);
1085 devm_kfree(&client->dev, ts->touch_data);