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
129
struct sx8654 *ts = handle;
drivers/input/touchscreen/sx8654.c
191
struct sx8654 *sx8654 = handle;
drivers/input/touchscreen/sx8654.c
197
irqsrc = i2c_smbus_read_byte_data(sx8654->client,
drivers/input/touchscreen/sx8654.c
199
dev_dbg(&sx8654->client->dev, "irqsrc = 0x%x", irqsrc);
drivers/input/touchscreen/sx8654.c
205
dev_dbg(&sx8654->client->dev, "pen release interrupt");
drivers/input/touchscreen/sx8654.c
207
input_report_key(sx8654->input, BTN_TOUCH, 0);
drivers/input/touchscreen/sx8654.c
208
input_sync(sx8654->input);
drivers/input/touchscreen/sx8654.c
212
dev_dbg(&sx8654->client->dev, "pen touch interrupt");
drivers/input/touchscreen/sx8654.c
214
retval = i2c_master_recv(sx8654->client, data, sizeof(data));
drivers/input/touchscreen/sx8654.c
225
touchscreen_report_pos(sx8654->input, &sx8654->props, x, y,
drivers/input/touchscreen/sx8654.c
227
input_report_key(sx8654->input, BTN_TOUCH, 1);
drivers/input/touchscreen/sx8654.c
228
input_sync(sx8654->input);
drivers/input/touchscreen/sx8654.c
230
dev_dbg(&sx8654->client->dev, "point(%4d,%4d)\n", x, y);
drivers/input/touchscreen/sx8654.c
237
static int sx8654_reset(struct sx8654 *ts)
drivers/input/touchscreen/sx8654.c
258
struct sx8654 *sx8654 = input_get_drvdata(dev);
drivers/input/touchscreen/sx8654.c
259
struct i2c_client *client = sx8654->client;
drivers/input/touchscreen/sx8654.c
283
struct sx8654 *sx8654 = input_get_drvdata(dev);
drivers/input/touchscreen/sx8654.c
284
struct i2c_client *client = sx8654->client;
drivers/input/touchscreen/sx8654.c
289
if (!sx8654->data->has_irq_penrelease)
drivers/input/touchscreen/sx8654.c
290
timer_delete_sync(&sx8654->timer);
drivers/input/touchscreen/sx8654.c
293
error = i2c_smbus_write_byte(client, sx8654->data->cmd_manual);
drivers/input/touchscreen/sx8654.c
309
struct sx8654 *sx8654;
drivers/input/touchscreen/sx8654.c
317
sx8654 = devm_kzalloc(&client->dev, sizeof(*sx8654), GFP_KERNEL);
drivers/input/touchscreen/sx8654.c
318
if (!sx8654)
drivers/input/touchscreen/sx8654.c
321
sx8654->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset",
drivers/input/touchscreen/sx8654.c
323
if (IS_ERR(sx8654->gpio_reset))
drivers/input/touchscreen/sx8654.c
324
return dev_err_probe(&client->dev, PTR_ERR(sx8654->gpio_reset),
drivers/input/touchscreen/sx8654.c
328
sx8654->data = device_get_match_data(&client->dev);
drivers/input/touchscreen/sx8654.c
329
if (!sx8654->data)
drivers/input/touchscreen/sx8654.c
330
sx8654->data = (const struct sx865x_data *)id->driver_data;
drivers/input/touchscreen/sx8654.c
331
if (!sx8654->data) {
drivers/input/touchscreen/sx8654.c
336
if (!sx8654->data->has_irq_penrelease) {
drivers/input/touchscreen/sx8654.c
338
timer_setup(&sx8654->timer, sx865x_penrelease_timer_handler, 0);
drivers/input/touchscreen/sx8654.c
339
spin_lock_init(&sx8654->lock);
drivers/input/touchscreen/sx8654.c
357
touchscreen_parse_properties(input, false, &sx8654->props);
drivers/input/touchscreen/sx8654.c
359
sx8654->client = client;
drivers/input/touchscreen/sx8654.c
360
sx8654->input = input;
drivers/input/touchscreen/sx8654.c
362
input_set_drvdata(sx8654->input, sx8654);
drivers/input/touchscreen/sx8654.c
364
error = sx8654_reset(sx8654);
drivers/input/touchscreen/sx8654.c
371
sx8654->data->chan_mask);
drivers/input/touchscreen/sx8654.c
377
if (sx8654->data->has_reg_irqmask) {
drivers/input/touchscreen/sx8654.c
399
NULL, sx8654->data->irqh,
drivers/input/touchscreen/sx8654.c
401
client->name, sx8654);
drivers/input/touchscreen/sx8654.c
409
error = input_register_device(sx8654->input);