Lines Matching refs:packet
127 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status()
451 unsigned char *packet = psmouse->packet; in cypress_parse_packet() local
452 unsigned char header_byte = packet[0]; in cypress_parse_packet()
461 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet()
463 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet()
465 report_data->contacts[0].z = packet[4]; in cypress_parse_packet()
469 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet()
471 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet()
473 report_data->contacts[0].z = packet[4]; in cypress_parse_packet()
476 ((packet[5] & 0xf0) << 4) | packet[6]; in cypress_parse_packet()
478 ((packet[5] & 0x0f) << 8) | packet[7]; in cypress_parse_packet()
567 unsigned char *packet = psmouse->packet; in cypress_validate_byte() local
573 if (index == 0 && (packet[0] & 0xfc) == 0) { in cypress_validate_byte()
593 if ((packet[0] & 0x08) == 0x08) in cypress_validate_byte()
596 contact_cnt = cypress_get_finger_count(packet[0]); in cypress_validate_byte()