Lines Matching refs:pktcnt
940 switch (psmouse->pktcnt) { in alps_is_valid_package_v7()
1390 if (psmouse->pktcnt == 4 && ((psmouse->packet[3] & 0x08) != 0x08)) in alps_is_valid_package_ss4_v2()
1392 if (psmouse->pktcnt == 6 && ((psmouse->packet[5] & 0x10) != 0x0)) in alps_is_valid_package_ss4_v2()
1502 if (psmouse->pktcnt < 6) in alps_handle_interleaved_ps2()
1505 if (psmouse->pktcnt == 6) { in alps_handle_interleaved_ps2()
1540 psmouse->pktcnt = 1; in alps_handle_interleaved_ps2()
1571 psmouse->pktcnt = 4; in alps_handle_interleaved_ps2()
1584 if (psmouse->pktcnt == psmouse->pktsize) { in alps_flush_packet()
1600 psmouse->pktcnt = 0; in alps_flush_packet()
1621 if (psmouse->pktcnt == 3) { in alps_process_byte()
1632 psmouse->pktcnt >= 4 && (psmouse->packet[3] & 0x0f) == 0x0f) { in alps_process_byte()
1645 psmouse->pktcnt >= 2 && psmouse->pktcnt <= psmouse->pktsize && in alps_process_byte()
1646 (psmouse->packet[psmouse->pktcnt - 1] & 0x80)) { in alps_process_byte()
1648 psmouse->pktcnt - 1, in alps_process_byte()
1649 psmouse->packet[psmouse->pktcnt - 1]); in alps_process_byte()
1652 psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1673 psmouse->pktcnt - 1, in alps_process_byte()
1674 psmouse->packet[psmouse->pktcnt - 1]); in alps_process_byte()
1678 if (psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()