Symbol: sx8654
drivers/input/touchscreen/sx8654.c
109
static inline void sx865x_penrelease(struct sx8654 *ts)
drivers/input/touchscreen/sx8654.c
119
struct sx8654 *ts = timer_container_of(ts, t, timer);
drivers/input/touchscreen/sx8654.c
130
struct sx8654 *ts = handle;
drivers/input/touchscreen/sx8654.c
194
struct sx8654 *sx8654 = handle;
drivers/input/touchscreen/sx8654.c
200
irqsrc = i2c_smbus_read_byte_data(sx8654->client,
drivers/input/touchscreen/sx8654.c
202
dev_dbg(&sx8654->client->dev, "irqsrc = 0x%x", irqsrc);
drivers/input/touchscreen/sx8654.c
208
dev_dbg(&sx8654->client->dev, "pen release interrupt");
drivers/input/touchscreen/sx8654.c
210
input_report_key(sx8654->input, BTN_TOUCH, 0);
drivers/input/touchscreen/sx8654.c
211
input_sync(sx8654->input);
drivers/input/touchscreen/sx8654.c
215
dev_dbg(&sx8654->client->dev, "pen touch interrupt");
drivers/input/touchscreen/sx8654.c
217
retval = i2c_master_recv(sx8654->client, data, sizeof(data));
drivers/input/touchscreen/sx8654.c
228
touchscreen_report_pos(sx8654->input, &sx8654->props, x, y,
drivers/input/touchscreen/sx8654.c
230
input_report_key(sx8654->input, BTN_TOUCH, 1);
drivers/input/touchscreen/sx8654.c
231
input_sync(sx8654->input);
drivers/input/touchscreen/sx8654.c
233
dev_dbg(&sx8654->client->dev, "point(%4d,%4d)\n", x, y);
drivers/input/touchscreen/sx8654.c
240
static int sx8654_reset(struct sx8654 *ts)
drivers/input/touchscreen/sx8654.c
261
struct sx8654 *sx8654 = input_get_drvdata(dev);
drivers/input/touchscreen/sx8654.c
262
struct i2c_client *client = sx8654->client;
drivers/input/touchscreen/sx8654.c
286
struct sx8654 *sx8654 = input_get_drvdata(dev);
drivers/input/touchscreen/sx8654.c
287
struct i2c_client *client = sx8654->client;
drivers/input/touchscreen/sx8654.c
292
if (!sx8654->data->has_irq_penrelease)
drivers/input/touchscreen/sx8654.c
293
timer_delete_sync(&sx8654->timer);
drivers/input/touchscreen/sx8654.c
296
error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);
drivers/input/touchscreen/sx8654.c
312
struct sx8654 *sx8654;
drivers/input/touchscreen/sx8654.c
320
sx8654 = devm_kzalloc(&client->dev, sizeof(*sx8654), GFP_KERNEL);
drivers/input/touchscreen/sx8654.c
321
if (!sx8654)
drivers/input/touchscreen/sx8654.c
324
sx8654->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset",
drivers/input/touchscreen/sx8654.c
326
if (IS_ERR(sx8654->gpio_reset))
drivers/input/touchscreen/sx8654.c
327
return dev_err_probe(&client->dev, PTR_ERR(sx8654->gpio_reset),
drivers/input/touchscreen/sx8654.c
331
sx8654->data = device_get_match_data(&client->dev);
drivers/input/touchscreen/sx8654.c
332
if (!sx8654->data)
drivers/input/touchscreen/sx8654.c
333
sx8654->data = (const struct sx865x_data *)id->driver_data;
drivers/input/touchscreen/sx8654.c
334
if (!sx8654->data) {
drivers/input/touchscreen/sx8654.c
339
if (!sx8654->data->has_irq_penrelease) {
drivers/input/touchscreen/sx8654.c
341
timer_setup(&sx8654->timer, sx865x_penrelease_timer_handler, 0);
drivers/input/touchscreen/sx8654.c
342
spin_lock_init(&sx8654->lock);
drivers/input/touchscreen/sx8654.c
360
touchscreen_parse_properties(input, false, &sx8654->props);
drivers/input/touchscreen/sx8654.c
362
sx8654->client = client;
drivers/input/touchscreen/sx8654.c
363
sx8654->input = input;
drivers/input/touchscreen/sx8654.c
365
input_set_drvdata(sx8654->input, sx8654);
drivers/input/touchscreen/sx8654.c
367
error = sx8654_reset(sx8654);
drivers/input/touchscreen/sx8654.c
374
sx8654->data->chan_mask);
drivers/input/touchscreen/sx8654.c
380
if (sx8654->data->has_reg_irqmask) {
drivers/input/touchscreen/sx8654.c
398
NULL, sx8654->data->irqh,
drivers/input/touchscreen/sx8654.c
400
client->name, sx8654);
drivers/input/touchscreen/sx8654.c
411
error = input_register_device(sx8654->input);