Searched refs:touch_data (Results 1 – 2 of 2) sorted by relevance
63 struct icn8318_touch_data *touch_data) in icn8318_read_touch_data() argument76 .buf = (u8 *)touch_data in icn8318_read_touch_data()93 struct icn8318_touch_data touch_data; in icn8318_irq() local96 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()
335 u8 finger_state, u8 *touch_data) in rmi_f11_process_touch() argument345 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()