Searched refs:tsdata (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/input/touchscreen/ |
| D | edt-ft5x06.c | 153 static bool edt_ft5x06_ts_check_crc(struct edt_ft5x06_ts_data *tsdata, in edt_ft5x06_ts_check_crc() argument 163 dev_err_ratelimited(&tsdata->client->dev, in edt_ft5x06_ts_check_crc() 174 struct edt_ft5x06_ts_data *tsdata = dev_id; in edt_ft5x06_ts_isr() local 175 struct device *dev = &tsdata->client->dev; in edt_ft5x06_ts_isr() 182 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 | 43 static void pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata, in pixcir_ts_parse() argument 52 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse() 57 readsize = 2 + tsdata->max_fingers * (4 + i); in pixcir_ts_parse() 61 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse() 63 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 69 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); in pixcir_ts_parse() 71 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 78 if (touch > tsdata->max_fingers) in pixcir_ts_parse() 79 touch = tsdata->max_fingers; in pixcir_ts_parse() 85 touchscreen_set_mt_pos(&report->pos[i], &tsdata->prop, in pixcir_ts_parse() [all …]
|
| D | tsc200x-core.c | 140 struct tsc200x_data tsdata; in tsc200x_irq_thread() local 144 error = regmap_bulk_read(ts->regmap, TSC200X_REG_X, &tsdata, in tsc200x_irq_thread() 150 if (unlikely(tsdata.x > MAX_12BIT || tsdata.y > MAX_12BIT)) in tsc200x_irq_thread() 154 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread() 156 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread() 164 ts->in_x == tsdata.x && ts->in_y == tsdata.y && in tsc200x_irq_thread() 165 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread() 173 ts->in_x = tsdata.x; in tsc200x_irq_thread() 174 ts->in_y = tsdata.y; in tsc200x_irq_thread() 175 ts->in_z1 = tsdata.z1; in tsc200x_irq_thread() [all …]
|