Searched refs:tsdata (Results 1 – 3 of 3) sorted by relevance
/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 167 static bool edt_ft5x06_ts_check_crc(struct edt_ft5x06_ts_data *tsdata, in edt_ft5x06_ts_check_crc() argument 177 dev_err_ratelimited(&tsdata->client->dev, in edt_ft5x06_ts_check_crc() 188 struct edt_ft5x06_ts_data *tsdata = dev_id; in edt_ft5x06_ts_isr() local 189 struct device *dev = &tsdata->client->dev; in edt_ft5x06_ts_isr() 196 switch (tsdata->version) { in edt_ft5x06_ts_isr() 219 datalen = tplen * tsdata->max_support_points + offset + crclen; in edt_ft5x06_ts_isr() 221 error = edt_ft5x06_ts_readwrite(tsdata->client, in edt_ft5x06_ts_isr() 231 if (tsdata->version == EDT_M06) { in edt_ft5x06_ts_isr() 240 if (!edt_ft5x06_ts_check_crc(tsdata, rdbuf, datalen)) in edt_ft5x06_ts_isr() 244 for (i = 0; i < tsdata->max_support_points; i++) { in edt_ft5x06_ts_isr() [all …]
|
D | pixcir_i2c_ts.c | 93 static void pixcir_ts_parse(struct pixcir_i2c_ts_data *tsdata, in pixcir_ts_parse() argument 102 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse() 107 readsize = 2 + tsdata->chip->max_fingers * (4 + i); in pixcir_ts_parse() 111 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse() 113 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 119 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); in pixcir_ts_parse() 121 dev_err(&tsdata->client->dev, in pixcir_ts_parse() 128 if (touch > tsdata->chip->max_fingers) in pixcir_ts_parse() 129 touch = tsdata->chip->max_fingers; in pixcir_ts_parse() 135 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 …]
|