Searched refs:w8001 (Results 1 – 1 of 1) sorted by relevance
84 struct w8001 { struct138 static void scale_touch_coordinates(struct w8001 *w8001, in scale_touch_coordinates() argument141 if (w8001->max_pen_x && w8001->max_touch_x) in scale_touch_coordinates()142 *x = *x * w8001->max_pen_x / w8001->max_touch_x; in scale_touch_coordinates()144 if (w8001->max_pen_y && w8001->max_touch_y) in scale_touch_coordinates()145 *y = *y * w8001->max_pen_y / w8001->max_touch_y; in scale_touch_coordinates()148 static void parse_multi_touch(struct w8001 *w8001) in parse_multi_touch() argument150 struct input_dev *dev = w8001->touch_dev; in parse_multi_touch()151 unsigned char *data = w8001->data; in parse_multi_touch()167 scale_touch_coordinates(w8001, &x, &y); in parse_multi_touch()[all …]