Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/touchscreen/
Dchipone_icn8318.c63 struct icn8318_touch_data *touch_data) in icn8318_read_touch_data() argument
76 .buf = (u8 *)touch_data in icn8318_read_touch_data()
93 struct icn8318_touch_data touch_data; in icn8318_irq() local
96 ret = icn8318_read_touch_data(data->client, &touch_data); in icn8318_irq()
102 if (touch_data.softbutton) { in icn8318_irq()
112 if (touch_data.touch_count > ICN8318_MAX_TOUCHES) { in icn8318_irq()
114 touch_data.touch_count, ICN8318_MAX_TOUCHES); in icn8318_irq()
115 touch_data.touch_count = ICN8318_MAX_TOUCHES; in icn8318_irq()
118 for (i = 0; i < touch_data.touch_count; i++) { in icn8318_irq()
119 struct icn8318_touch *touch = &touch_data.touches[i]; in icn8318_irq()
/linux-4.4.14/drivers/hid/
Dhid-rmi.c335 u8 finger_state, u8 *touch_data) in rmi_f11_process_touch() argument
345 x = (touch_data[0] << 4) | (touch_data[2] & 0x0F); in rmi_f11_process_touch()
346 y = (touch_data[1] << 4) | (touch_data[2] >> 4); in rmi_f11_process_touch()
347 wx = touch_data[3] & 0x0F; in rmi_f11_process_touch()
348 wy = touch_data[3] >> 4; in rmi_f11_process_touch()
352 z = touch_data[4]; in rmi_f11_process_touch()