Searched refs:tsdata (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 154 static bool edt_ft5x06_ts_check_crc(struct edt_ft5x06_ts_data *tsdata, in edt_ft5x06_ts_check_crc() argument 164 dev_err_ratelimited(&tsdata->client->dev, in edt_ft5x06_ts_check_crc() 175 struct edt_ft5x06_ts_data *tsdata = dev_id; in edt_ft5x06_ts_isr() local 176 struct device *dev = &tsdata->client->dev; in edt_ft5x06_ts_isr() 183 switch (tsdata->version) { in edt_ft5x06_ts_isr() 205 datalen = tplen * tsdata->max_support_points + offset + crclen; in edt_ft5x06_ts_isr() 207 error = edt_ft5x06_ts_readwrite(tsdata->client, in edt_ft5x06_ts_isr() 217 if (tsdata->version == EDT_M06) { in edt_ft5x06_ts_isr() 226 if (!edt_ft5x06_ts_check_crc(tsdata, rdbuf, datalen)) in edt_ft5x06_ts_isr() 230 for (i = 0; i < tsdata->max_support_points; i++) { in edt_ft5x06_ts_isr() [all …]
|
D | pixcir_i2c_ts.c | 51 static void pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata, in pixcir_ts_parse() argument 60 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse() 65 readsize = 2 + tsdata->max_fingers * (4 + i); in pixcir_ts_parse() 69 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse() 71 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 77 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); in pixcir_ts_parse() 79 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 86 if (touch > tsdata->max_fingers) in pixcir_ts_parse() 87 touch = tsdata->max_fingers; in pixcir_ts_parse() 93 touchscreen_set_mt_pos(&report->pos[i], &tsdata->prop, in pixcir_ts_parse() [all …]
|
D | tsc200x-core.c | 148 struct tsc200x_data tsdata; in tsc200x_irq_thread() local 152 error = regmap_bulk_read(ts->regmap, TSC200X_REG_X, &tsdata, in tsc200x_irq_thread() 158 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) in tsc200x_irq_thread() 162 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread() 164 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread() 172 ts->in_x == tsdata.x && ts->in_y == tsdata.y && in tsc200x_irq_thread() 173 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread() 181 ts->in_x = tsdata.x; in tsc200x_irq_thread() 182 ts->in_y = tsdata.y; in tsc200x_irq_thread() 183 ts->in_z1 = tsdata.z1; in tsc200x_irq_thread() [all …]
|