Searched refs:touchdata (Results 1 – 1 of 1) sorted by relevance
107 static bool ili210x_touchdata_to_coords(const u8 *touchdata, in ili210x_touchdata_to_coords() argument112 if (!(touchdata[0] & BIT(finger))) in ili210x_touchdata_to_coords()115 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords()116 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords()163 static bool ili211x_touchdata_to_coords(const u8 *touchdata, in ili211x_touchdata_to_coords() argument170 data = get_unaligned_be32(touchdata + 1 + (finger * 4) + 0); in ili211x_touchdata_to_coords()174 *x = ((touchdata[1 + (finger * 4) + 0] & 0xf0) << 4) | in ili211x_touchdata_to_coords()175 touchdata[1 + (finger * 4) + 1]; in ili211x_touchdata_to_coords()176 *y = ((touchdata[1 + (finger * 4) + 0] & 0x0f) << 8) | in ili211x_touchdata_to_coords()177 touchdata[1 + (finger * 4) + 2]; in ili211x_touchdata_to_coords()[all …]