Searched refs:begin_x (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | usbtouchscreen.c | 1052 int x, y, begin_x, begin_y, end_x, end_y, w, h, ret; in nexio_read_data() local 1081 begin_x = end_x = begin_y = end_y = -1; in nexio_read_data() 1083 if (begin_x == -1 && packet->data[x] > NEXIO_THRESHOLD) { in nexio_read_data() 1084 begin_x = x; in nexio_read_data() 1087 if (end_x == -1 && begin_x != -1 && packet->data[x] < NEXIO_THRESHOLD) { in nexio_read_data() 1097 w = end_x - begin_x; in nexio_read_data() 1106 ABS_MT_POSITION_X, 2*begin_x+w); in nexio_read_data() 1114 usbtouch->x = 2 * begin_x + w; in nexio_read_data() 1121 begin_x = end_x = -1; in nexio_read_data()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | usbtouchscreen.c | 1053 int x, y, begin_x, begin_y, end_x, end_y, w, h, ret; in nexio_read_data() local 1084 begin_x = end_x = begin_y = end_y = -1; in nexio_read_data() 1086 if (begin_x == -1 && packet->data[x] > NEXIO_THRESHOLD) { in nexio_read_data() 1087 begin_x = x; in nexio_read_data() 1090 if (end_x == -1 && begin_x != -1 && packet->data[x] < NEXIO_THRESHOLD) { in nexio_read_data() 1100 w = end_x - begin_x; in nexio_read_data() 1109 ABS_MT_POSITION_X, 2*begin_x+w); in nexio_read_data() 1117 usbtouch->x = 2 * begin_x + w; in nexio_read_data() 1124 begin_x = end_x = -1; in nexio_read_data()
|
Completed in 5 milliseconds