Searched refs:sx8654 (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dsx8654.c74 struct sx8654 { struct
81 struct sx8654 *sx8654 = handle; sx8654_irq() local
87 irqsrc = i2c_smbus_read_byte_data(sx8654->client, sx8654_irq()
89 dev_dbg(&sx8654->client->dev, "irqsrc = 0x%x", irqsrc); sx8654_irq()
95 dev_dbg(&sx8654->client->dev, "pen release interrupt"); sx8654_irq()
97 input_report_key(sx8654->input, BTN_TOUCH, 0); sx8654_irq()
98 input_sync(sx8654->input); sx8654_irq()
102 dev_dbg(&sx8654->client->dev, "pen touch interrupt"); sx8654_irq()
104 retval = i2c_master_recv(sx8654->client, data, sizeof(data)); sx8654_irq()
115 input_report_abs(sx8654->input, ABS_X, x); sx8654_irq()
116 input_report_abs(sx8654->input, ABS_Y, y); sx8654_irq()
117 input_report_key(sx8654->input, BTN_TOUCH, 1); sx8654_irq()
118 input_sync(sx8654->input); sx8654_irq()
120 dev_dbg(&sx8654->client->dev, "point(%4d,%4d)\n", x, y); sx8654_irq()
129 struct sx8654 *sx8654 = input_get_drvdata(dev); sx8654_open() local
130 struct i2c_client *client = sx8654->client; sx8654_open()
154 struct sx8654 *sx8654 = input_get_drvdata(dev); sx8654_close() local
155 struct i2c_client *client = sx8654->client; sx8654_close()
177 struct sx8654 *sx8654; sx8654_probe() local
185 sx8654 = devm_kzalloc(&client->dev, sizeof(*sx8654), GFP_KERNEL); sx8654_probe()
186 if (!sx8654) sx8654_probe()
204 sx8654->client = client; sx8654_probe()
205 sx8654->input = input; sx8654_probe()
207 input_set_drvdata(sx8654->input, sx8654); sx8654_probe()
241 client->name, sx8654); sx8654_probe()
252 error = input_register_device(sx8654->input); sx8654_probe()
256 i2c_set_clientdata(client, sx8654); sx8654_probe()
262 { .compatible = "semtech,sx8654", },
276 .name = "sx8654",
H A DMakefile89 obj-$(CONFIG_TOUCHSCREEN_SX8654) += sx8654.o

Completed in 220 milliseconds