Lines Matching defs:packet
60 "delay (ms) before recal after packet spew detected");
65 "interval (ms) during which recal will be restarted if packet received");
124 hgpk_dbg(psmouse, "packet spew detected (%d,%d)\n",
147 static int hgpk_validate_byte(unsigned char *packet)
149 return (packet[0] & 0x0C) != 0x08;
155 unsigned char *packet = psmouse->packet;
158 left = packet[0] & 1;
159 right = (packet[0] >> 1) & 1;
161 x = packet[1] - ((packet[0] << 4) & 0x100);
162 y = ((packet[0] << 3) & 0x100) - packet[2];
183 if (hgpk_validate_byte(psmouse->packet)) {
185 __func__, psmouse->pktcnt, psmouse->packet[0],
186 psmouse->packet[1], psmouse->packet[2]);
198 * ugh, got a packet inside our recalibration
202 "packet inside calibration window, "