HomeSort by: relevance | last modified time | path
    Searched defs:cur_y2 (Results 1 - 1 of 1) sorted by relevancy

  /src/sys/dev/pckbport/
alps.c 876 uint16_t cur_x2, cur_y2; local in function:pms_alps_decode_touchpad_packet_v7
912 cur_y2 = (psc->packet[5] & 0x80) << 3; /* Y1-10 */
913 cur_y2 |= (psc->packet[5] & 0x3f) << 4; /* Y1-9 .. Y1-4 */
918 cur_y2 |= __BITS(3, 0); /* Fill undefined locations */
922 cur_y2 &= ~__BIT(5); /* Clear duplicate locations */
923 cur_y2 |= (psc->packet[4] & __BIT(1)) << 4; /* Set another */
924 cur_y2 |= __BITS(4, 0); /* Fill undefined locations */
929 cur_y2 = 0x7ff - cur_y2;
932 if (cur_x1 == 0 && cur_y1 == 0 && cur_x2 != 0 && cur_y2 != 0)
    [all...]

Completed in 14 milliseconds