Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dhampshire.c57 static void hampshire_process_data(struct hampshire *phampshire) in hampshire_process_data() argument
59 struct input_dev *dev = phampshire->dev; in hampshire_process_data()
61 if (HAMPSHIRE_FORMAT_LENGTH == ++phampshire->idx) { in hampshire_process_data()
62 input_report_abs(dev, ABS_X, HAMPSHIRE_GET_XC(phampshire->data)); in hampshire_process_data()
63 input_report_abs(dev, ABS_Y, HAMPSHIRE_GET_YC(phampshire->data)); in hampshire_process_data()
65 HAMPSHIRE_GET_TOUCHED(phampshire->data)); in hampshire_process_data()
68 phampshire->idx = 0; in hampshire_process_data()
75 struct hampshire *phampshire = serio_get_drvdata(serio); in hampshire_interrupt() local
77 phampshire->data[phampshire->idx] = data; in hampshire_interrupt()
79 if (HAMPSHIRE_RESPONSE_BEGIN_BYTE & phampshire->data[0]) in hampshire_interrupt()
[all …]