Lines Matching defs:packet
124 memcpy(param, psmouse->packet, pktsize);
446 unsigned char *packet = psmouse->packet;
447 unsigned char header_byte = packet[0];
456 ((packet[1] & 0x70) << 4) | packet[2];
458 ((packet[1] & 0x07) << 8) | packet[3];
460 report_data->contacts[0].z = packet[4];
464 ((packet[1] & 0x70) << 4) | packet[2];
466 ((packet[1] & 0x07) << 8) | packet[3];
468 report_data->contacts[0].z = packet[4];
471 ((packet[5] & 0xf0) << 4) | packet[6];
473 ((packet[5] & 0x0f) << 8) | packet[7];
562 unsigned char *packet = psmouse->packet;
568 if (index == 0 && (packet[0] & 0xfc) == 0) {
569 /* call packet process for reporting finger leave. */
575 * Perform validation (and adjust packet size) based only on the
588 if ((packet[0] & 0x08) == 0x08)
591 contact_cnt = cypress_get_finger_count(packet[0]);