Lines Matching refs:touch_data
202 u8 *touch_data; member
804 rc = gsl_ts_read(ts->client, 0x80, ts->touch_data, ts->dd->data_size); in gsl_ts_worker()
809 touches = ts->touch_data[ts->dd->touch_index]; in gsl_ts_worker()
813 cinfo.x[i] = join_bytes((ts->touch_data[ts->dd->x_index + in gsl_ts_worker()
814 4 * i + 1] & 0xf), ts->touch_data[ts->dd->x_index + 4 * i]); in gsl_ts_worker()
815 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gsl_ts_worker()
816 ts->touch_data[ts->dd->y_index + 4 * i]); in gsl_ts_worker()
817 cinfo.id[i] = ((ts->touch_data[ts->dd->x_index + 4 * i + 1] in gsl_ts_worker()
820 cinfo.finger_num = (ts->touch_data[3] << 24) | (ts->touch_data[2] << 16) in gsl_ts_worker()
821 | (ts->touch_data[1] << 8) | (ts->touch_data[0]); in gsl_ts_worker()
852 x = join_bytes((ts->touch_data[ts->dd->x_index + 4 * i + 1] in gsl_ts_worker()
853 & 0xf), ts->touch_data[ts->dd->x_index + 4 * i]); in gsl_ts_worker()
854 y = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gsl_ts_worker()
855 ts->touch_data[ts->dd->y_index + 4 * i]); in gsl_ts_worker()
856 id = ts->touch_data[ts->dd->id_index + 4 * i] >> 4; in gsl_ts_worker()
984 ts->touch_data = devm_kzalloc(&client->dev, in gsl_thzy_ts_init()
986 if (!ts->touch_data) in gsl_thzy_ts_init()