Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dili210x.c85 static bool ili210x_touchdata_to_coords(const u8 *touchdata, in ili210x_touchdata_to_coords() argument
90 if (!(touchdata[0] & BIT(finger))) in ili210x_touchdata_to_coords()
93 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords()
94 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords()
141 static bool ili211x_touchdata_to_coords(const u8 *touchdata, in ili211x_touchdata_to_coords() argument
148 data = get_unaligned_be32(touchdata + 1 + (finger * 4) + 0); in ili211x_touchdata_to_coords()
152 *x = ((touchdata[1 + (finger * 4) + 0] & 0xf0) << 4) | in ili211x_touchdata_to_coords()
153 touchdata[1 + (finger * 4) + 1]; in ili211x_touchdata_to_coords()
154 *y = ((touchdata[1 + (finger * 4) + 0] & 0x0f) << 8) | in ili211x_touchdata_to_coords()
155 touchdata[1 + (finger * 4) + 2]; in ili211x_touchdata_to_coords()
[all …]