Searched refs:tsdata (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/input/touchscreen/ |
| H A D | hycon-hy46xx.c | 82 static bool hycon_hy46xx_check_checksum(struct hycon_hy46xx_data *tsdata, u8 *buf) in hycon_hy46xx_check_checksum() argument 93 dev_err_ratelimited(&tsdata->client->dev, in hycon_hy46xx_check_checksum() 102 struct hycon_hy46xx_data *tsdata = dev_id; in hycon_hy46xx_isr() local 103 struct device *dev = &tsdata->client->dev; in hycon_hy46xx_isr() 110 error = regmap_bulk_read(tsdata->regmap, 0, rdbuf, sizeof(rdbuf)); in hycon_hy46xx_isr() 117 if (!hycon_hy46xx_check_checksum(tsdata, rdbuf)) in hycon_hy46xx_isr() 132 input_mt_slot(tsdata->input, id); in hycon_hy46xx_isr() 133 if (input_mt_report_slot_state(tsdata->input, MT_TOOL_FINGER, in hycon_hy46xx_isr() 135 touchscreen_report_pos(tsdata->input, &tsdata->prop, in hycon_hy46xx_isr() 139 input_mt_report_pointer_emulation(tsdata->input, false); in hycon_hy46xx_isr() [all …]
|
| H A 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 …]
|