Home
last modified time | relevance | path

Searched refs:phampshire (Results 1 – 1 of 1) sorted by relevance

/drivers/input/touchscreen/
Dhampshire.c63 static void hampshire_process_data(struct hampshire *phampshire) in hampshire_process_data() argument
65 struct input_dev *dev = phampshire->dev; in hampshire_process_data()
67 if (HAMPSHIRE_FORMAT_LENGTH == ++phampshire->idx) { in hampshire_process_data()
68 input_report_abs(dev, ABS_X, HAMPSHIRE_GET_XC(phampshire->data)); in hampshire_process_data()
69 input_report_abs(dev, ABS_Y, HAMPSHIRE_GET_YC(phampshire->data)); in hampshire_process_data()
71 HAMPSHIRE_GET_TOUCHED(phampshire->data)); in hampshire_process_data()
74 phampshire->idx = 0; in hampshire_process_data()
81 struct hampshire *phampshire = serio_get_drvdata(serio); in hampshire_interrupt() local
83 phampshire->data[phampshire->idx] = data; in hampshire_interrupt()
85 if (HAMPSHIRE_RESPONSE_BEGIN_BYTE & phampshire->data[0]) in hampshire_interrupt()
[all …]