Lines Matching refs:tsdata
141 struct tsc200x_data tsdata; in tsc200x_irq_thread() local
145 error = regmap_bulk_read(ts->regmap, TSC200X_REG_X, &tsdata, in tsc200x_irq_thread()
151 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) in tsc200x_irq_thread()
155 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
157 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread()
165 ts->in_x == tsdata.x && ts->in_y == tsdata.y && in tsc200x_irq_thread()
166 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread()
174 ts->in_x = tsdata.x; in tsc200x_irq_thread()
175 ts->in_y = tsdata.y; in tsc200x_irq_thread()
176 ts->in_z1 = tsdata.z1; in tsc200x_irq_thread()
177 ts->in_z2 = tsdata.z2; in tsc200x_irq_thread()
180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
187 tsc200x_update_pen_state(ts, tsdata.x, tsdata.y, pressure); in tsc200x_irq_thread()