Lines Matching refs:touch_data
110 u8 *touch_data; member
709 rc = gsl_ts_read(ts->client, 0x80, ts->touch_data, ts->dd->data_size); in gslX680_ts_worker()
718 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
723 cinfo.x[i] = join_bytes( ( ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf), in gslX680_ts_worker()
724 ts->touch_data[ts->dd->x_index + 4 * i]); in gslX680_ts_worker()
725 cinfo.y[i] = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gslX680_ts_worker()
726 ts->touch_data[ts->dd->y_index + 4 * i ]); in gslX680_ts_worker()
727 cinfo.id[i] = ((ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf0)>>4); in gslX680_ts_worker()
729 cinfo.finger_num=(ts->touch_data[3]<<24)|(ts->touch_data[2]<<16) in gslX680_ts_worker()
730 |(ts->touch_data[1]<<8)|(ts->touch_data[0]); in gslX680_ts_worker()
762 x = join_bytes( ( ts->touch_data[ts->dd->x_index + 4 * i + 1] & 0xf), in gslX680_ts_worker()
763 ts->touch_data[ts->dd->x_index + 4 * i]); in gslX680_ts_worker()
764 y = join_bytes(ts->touch_data[ts->dd->y_index + 4 * i + 1], in gslX680_ts_worker()
765 ts->touch_data[ts->dd->y_index + 4 * i ]); in gslX680_ts_worker()
766 id = ts->touch_data[ts->dd->id_index + 4 * i] >> 4; in gslX680_ts_worker()
835 ts->touch_data = kzalloc(ts->dd->data_size, GFP_KERNEL); in gslX680_ts_init()
836 if (!ts->touch_data) { in gslX680_ts_init()
894 kfree(ts->touch_data); in gslX680_ts_init()
1142 kfree(ts->touch_data); in gsl_ts_remove()